This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
PT_GNU_STACK and PT_GNU_HEAP
- From: Jeffrey Walton <noloader at gmail dot com>
- To: GCC Users List <gcc-help at gcc dot gnu dot org>
- Date: Sat, 11 Feb 2012 18:42:23 -0500
- Subject: PT_GNU_STACK and PT_GNU_HEAP
- Reply-to: noloader at gmail dot com
Hi All,
I'm looking for reading on PT_GNU_STACK and PT_GNU_HEAP. The Gentoo
documentation I have seen states GCC will add PT_GNU_STACK and
PT_GNU_HEAP markings to the binary if compiled from non-asm files. If
compiling ASM files, the markings are not added. The docs also state
PaX ignores the markings (PaX offers no-execute plus more).
Other than Gentoo documentation, I'm not finding much reading on GCC
and PT_GNU_STACK and PT_GNU_HEAP.
Does GCC have any reading on the topic? I don't ever recall seeing an
option similar to Microsoft's /GS.
Jeff