diff options
author | Kurt Miller <kurt@cvs.openbsd.org> | 2009-01-14 19:45:21 +0000 |
---|---|---|
committer | Kurt Miller <kurt@cvs.openbsd.org> | 2009-01-14 19:45:21 +0000 |
commit | 2f738540d708321613a90a4fdc5e4d1c0f866f94 (patch) | |
tree | 6ffca79df729cbdccd6c9a7f61b5ab62b6aa517d /sys/arch/amd64 | |
parent | fc4492de942fe8fcf823c8952e382e6dac728492 (diff) |
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@
Diffstat (limited to 'sys/arch/amd64')
0 files changed, 0 insertions, 0 deletions