bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/29072] ld silently make the program stack area executable if nes


From: nickc at redhat dot com
Subject: [Bug ld/29072] ld silently make the program stack area executable if nested function is used
Date: Tue, 26 Apr 2022 16:36:30 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=29072

--- Comment #18 from Nick Clifton <nickc at redhat dot com> ---
(In reply to H.J. Lu from comment #17)

> What should we do about failing nested function tests in GCC testsuite?

Well I believe that Jeff Law is looking into this situation.  But in general
I would say that the gcc folks need to decide if the warning is useful to
them.  If not then it could be pruned in the same way that we do with the
linker tests, or the -Wl,--no-warn-execstack option could be added as an
extra option to the linker command line, or the -Wl,-z,execstack could be
added to indicate that executable stack is indeed intended.

On the other hand if nested function tests are failing in situations where
are executable stack is unexpected, then this would indicate that the test,
or maybe even the compiler, needs to be fixed.  I think however that it is 
unlikely that a situation like this actually exists.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]