[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MIT-Scheme-devel] Attempted Clean-up of Mac OS X MIT Scheme Port
From: |
Chris Hanson |
Subject: |
Re: [MIT-Scheme-devel] Attempted Clean-up of Mac OS X MIT Scheme Port |
Date: |
Mon, 22 Jan 2007 02:06:47 -0500 |
User-agent: |
Icedove 1.5.0.9 (X11/20061220) |
Jed Davis wrote:
> The trick for Mac OS X is to link with -Wl,-pagezero_size,04000000 (or
> however much space is needed). This sets the size of the PROT_NONE area
> at the bottom of virtual memory that traps null pointer accesses; the
> linker will, necessarily, place all other load commands above it. Then,
> one can mmap over it with MAP_FIXED, since it doesn't contain anything
> whose loss would be a problem.
Super! I've patched configure.ac to do this. I'd appreciate it if
someone with OS X would test it.