This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug lto/49703] -flto makes stack executable by default


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"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]