PAX patch for gold linker

Dean Takemori deant at hawaii.rr.com
Wed Feb 22 20:25:41 PST 2012


Impro^H^H^H^H Less broken patch to add PAX headers support for the gold linker.
See http://linuxfromscratch.org/pipermail/hlfs-dev/2012-February/004886.html

- Patch is against binutils-2.22 for gold only - PAX support for bfd linker requires separate 
	patchset (I continue to use the gentoo patches listed in above post)
- Fixes RANDEXEC enabled by default problem with previous patch.
- Adds -z [no]execstack
- Adds -z [no]execheap

- Resultant gold linker is still essentially untested against real code,
but passes some rudimentary testing; 

-dean takemori

-------------- next part --------------
A non-text attachment was scrubbed...
Name: binutils-2.22-gold-pt_pax-2.patch
Type: application/octet-stream
Size: 6359 bytes
Desc: not available
URL: <http://lists.linuxfromscratch.org/pipermail/hlfs-dev/attachments/20120222/2a7d939b/attachment.obj>


More information about the hlfs-dev mailing list