https://sourceware.org/bugzilla/show_bug.cgi?id=32671
Aurelien Jarno <aurelien at aurel32 dot net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |aurelien at aurel32 dot net
--- Comment #5 from Aurelien Jarno <aurelien at aurel32 dot net> ---
IMHO, i think that binutils-2.45 should default to:
- non-executable stack when there is no .note.GNU-stack
(--disable-default-execstack)
- warn in case of executable stack (--enable-warn-execstack=yes)
I believe that --enable-warn-rwx-segments=yes is also fine.
Note however that this causes regression in the testsuite (see PR32715).
I am not fully convince that we want to default to --enable-error-execstack=yes
at this stage. It seems that there are cases where GCC generate code with
nested functions, and I am not sure how much widespread is that, i have found
at least one case. It seems that -ftrampoline-impl=heap is a workaround on some
architectures, but I am not sure about the consequences.
--
You are receiving this mail because:
You are on the CC list for the bug.