On sparc64, make the PLT read-only. This allows the kernel and ld.so to load binaries without violating W^X. ld.so will make the PLT temporarily writable (making it non-executable at the same time) to set up the initial PLT slots and to do non-lazy relocations and restore permissions afterwards.
Make sure you install an updated ld.so before doing a full build.
ok deraadt@
|