[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: |
Wed, 20 Apr 2022 12:44:37 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=29072
Nick Clifton <nickc at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|ASSIGNED |RESOLVED
--- Comment #8 from Nick Clifton <nickc at redhat dot com> ---
Hi Guys,
Right - I have applied a patch (also uploaded to this PR) which adds 3 new
warnings to the linker:
warning: <obj>: requires executable stack (because the .note.GNU-stack section
is executable)
warning: <obj>: missing .note.GNU-stack section implies executable stack
warning: enabling an executable stack because of -z execstack command line
option
The first two are enabled by default, but the third one is only generated
if the new --warn-execstack command line option is used. The first two
can also be suppressed by using the --no-warn-execstack option.
The wording and option names were chosen to be similar to the ones used/
generated by the GOLD linker. (Although GOLD does not generate the third
type of warning message).
Cheers
Nick
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/29072] New: ld silently make the program stack area executable if nested function is used, rui314 at gmail dot com, 2022/04/19
- [Bug ld/29072] ld silently make the program stack area executable if nested function is used, mliska at suse dot cz, 2022/04/19
- [Bug ld/29072] ld silently make the program stack area executable if nested function is used, address@hidden, 2022/04/19
- [Bug ld/29072] ld silently make the program stack area executable if nested function is used, nickc at redhat dot com, 2022/04/19
- [Bug ld/29072] ld silently make the program stack area executable if nested function is used, address@hidden, 2022/04/19
- [Bug ld/29072] ld silently make the program stack area executable if nested function is used, rui314 at gmail dot com, 2022/04/19
- [Bug ld/29072] ld silently make the program stack area executable if nested function is used, nickc at redhat dot com, 2022/04/19
- [Bug ld/29072] ld silently make the program stack area executable if nested function is used, ian at airs dot com, 2022/04/19
- [Bug ld/29072] ld silently make the program stack area executable if nested function is used, nickc at redhat dot com, 2022/04/20
- [Bug ld/29072] ld silently make the program stack area executable if nested function is used, cvs-commit at gcc dot gnu.org, 2022/04/20
- [Bug ld/29072] ld silently make the program stack area executable if nested function is used,
nickc at redhat dot com <=
- [Bug ld/29072] ld silently make the program stack area executable if nested function is used, i at maskray dot me, 2022/04/21
- [Bug ld/29072] ld silently make the program stack area executable if nested function is used, nickc at redhat dot com, 2022/04/21
- [Bug ld/29072] ld silently make the program stack area executable if nested function is used, cvs-commit at gcc dot gnu.org, 2022/04/25
- [Bug ld/29072] ld silently make the program stack area executable if nested function is used, hjl.tools at gmail dot com, 2022/04/25
- [Bug ld/29072] ld silently make the program stack area executable if nested function is used, hjl.tools at gmail dot com, 2022/04/25
- [Bug ld/29072] ld silently make the program stack area executable if nested function is used, nickc at redhat dot com, 2022/04/25
- [Bug ld/29072] ld silently make the program stack area executable if nested function is used, hjl.tools at gmail dot com, 2022/04/25
- [Bug ld/29072] ld silently make the program stack area executable if nested function is used, nickc at redhat dot com, 2022/04/26
- [Bug ld/29072] ld silently make the program stack area executable if nested function is used, hjl.tools at gmail dot com, 2022/04/26
- [Bug ld/29072] ld silently make the program stack area executable if nested function is used, nickc at redhat dot com, 2022/04/26