CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2009/01/14 12:45:20

Modified files:
        lib/csu/powerpc: Makefile crt0.c 

Log message:
Re-enable pie support on macppc (still off by default but usable
again). Due to the way executable sections are loaded by
the kernel, a one page .got section with the blrl instruction may
be in the data cache and not flushed causing random crashes
upon process startup. Flush the data cache before ___start()
jumps there. Also mprotect the .got section to be read/exec
instead of read/write/exec. ld.so knows how to cope and static
binaries don't write to .got.

written by and okay drahn@

Reply via email to