This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/49703] -flto makes stack executable by default
- From: "marcus at jet dot franken.de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 11 Jul 2011 12:11:37 +0000
- Subject: [Bug lto/49703] -flto makes stack executable by default
- Auto-submitted: auto-generated
- References: <bug-49703-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49703
--- Comment #2 from marcus at jet dot franken.de 2011-07-11 12:11:35 UTC ---
Created attachment 24738
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24738
xx.c
gcc -O2 -flto -o xx xx.c
readelf -a xx|grep GNU_STACK
should NOT show "RWE" but only "RW"