diff options
author | Cary Coutant <ccoutant@google.com> | 2014-12-02 08:25:17 +0800 |
---|---|---|
committer | Andrew Hsieh <andrewhsieh@google.com> | 2014-12-02 18:55:42 +0800 |
commit | 8eebd7953384e6662ca926b003f2cdda8ccd3ee5 (patch) | |
tree | d876a25f077c0b44604ca4d22740c706abaa5fb5 /binutils-2.25/ld/emultempl/vms.em | |
parent | 5387e7a81fcd3e033a29eccece64e02f96e7f960 (diff) | |
download | toolchain_binutils-8eebd7953384e6662ca926b003f2cdda8ccd3ee5.zip toolchain_binutils-8eebd7953384e6662ca926b003f2cdda8ccd3ee5.tar.gz toolchain_binutils-8eebd7953384e6662ca926b003f2cdda8ccd3ee5.tar.bz2 |
Fix extraneous warning about executable stack.
PR gold/17578 notes that gold will print a warning about an executable stack
when the -z execstack option is given, even when there is no --warn_execstack
option. The warning is completely useless and unexpected, since the user
explicitly requested an executable stack, and did not even ask for warnings.
This patch fixes that, and adds an extra warning when --warn_execstack
and -z noexecstack are both given and an input file requires an executable
stack.
gold/
PR gold/17578
* layout.cc (Layout::layout_gnu_stack): Don't warn when -z execstack
is given.
(Layout::create_executable_stack_info): Warn when -z noexecstack is
given but some inputs require executable stack.
Change-Id: I7b15682af81d3c52057473d347f83a768e087ffa
Diffstat (limited to 'binutils-2.25/ld/emultempl/vms.em')
0 files changed, 0 insertions, 0 deletions