Subject: re: more on non-executable mappings vs. emulations
To: Chuck Silvers <chuq@chuq.com>
From: matthew green <mrg@eterna.com.au>
List: tech-kern
Date: 07/15/2004 17:17:49
   On Wed, Jul 14, 2004 at 08:28:46AM -0400, Christos Zoulas wrote:
   > | > | as for the sparc a.out issue, it occurred to me on my morning walk that
   > | > | it may be possible to have ld.so mprotect() the relevant parts of itself
   > | > | before it needs to execute the incorrectly mapped instructions.
   > | > | I'll look into this tonight also.
   > | 
   > | this does work, the attached diff adds some extra instructions at the start
   > | of the sparc ld.so that fix up the mapping permissions.
   > 
   > Good; lets add that too.
   
   ok, I checked in that change.  I'm not sure what is the right way to get
   an updated sparc binary checked in, could someone else take care of that?


needs a 1.4 userland installed?  might work in a chroot but
we never figured out how to cross compile that...