summaryrefslogtreecommitdiff
path: root/sys/arch/arm/mainbus
diff options
context:
space:
mode:
authorKurt Miller <kurt@cvs.openbsd.org>2009-01-14 19:45:21 +0000
committerKurt Miller <kurt@cvs.openbsd.org>2009-01-14 19:45:21 +0000
commit2f738540d708321613a90a4fdc5e4d1c0f866f94 (patch)
tree6ffca79df729cbdccd6c9a7f61b5ab62b6aa517d /sys/arch/arm/mainbus
parentfc4492de942fe8fcf823c8952e382e6dac728492 (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/arm/mainbus')
0 files changed, 0 insertions, 0 deletions