CVSROOT: /cvs Module name: src Changes by: [email protected] 2015/09/09 03:16:58
Modified files:
gnu/usr.bin/binutils-2.17/ld/emultempl: elf32.em
Log message:
For truly static binaries, force .ctors, .dtors and .got to be read-only.
This will make the segment containing those sections read-only for binaries
that use the OpenBSD W^X layout, preventing W^X violations on architectures
that need an executable GOT (basically BSS-PLT powerpc).
ok miod@
