PAX patch for gold linker

Dean Takemori deant at
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.

- 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: <>

More information about the hlfs-dev mailing list