lkml.org 
[lkml]   [1999]   [Jul]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectSolaris/Intel binary emulation; lcall27 handler.
Date
From
Clue aquired; I now have a working lcall27 handler, along with a more intimate
knowledge of the Intel Architecture than I ever expected or wanted.

My Solaris 'hello world' now runs. To get the dynamically linked version to
run, I had to modify the behaviour of ibcs_mmap(). Currently, it returns zero
if a MAP_FIXED mmap() call succeeds - but Solaris' ld.so expects it to return
<addr>, just like Linux does.

What systems require this behaviour? Do we need add PER_SOLARIS to distinguish
between them? We could separate the lcall7 handler from the lcall27 handler
and set current->personality to PER_SOLARIS iff the latter is called. (We
might already need to have separate handlers anyway - I assume they changed
for a reason.)




---- ---- ----
David Woodhouse David.Woodhouse@mvhi.com Office: (+44) 1223 810302
Project Leader, Process Information Systems Mobile: (+44) 976 658355
Axiom (Cambridge) Ltd., Swaffham Bulbeck, Cambridge, CB5 0NA, UK.
finger dwmw2@ferret.lmh.ox.ac.uk for PGP key.



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.030 / U:0.372 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site