[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/17578] Confusing "requires executable stack" warning from gold
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug gold/17578] Confusing "requires executable stack" warning from gold |
Date: |
Mon, 01 Dec 2014 21:22:44 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=17578
--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot
gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".
The branch, master has been updated
via d8e603148f3cc4a953409f4a5afff9e4ea898830 (commit)
from ef77750ef779ac887423f84bcc11a8de4dd0fe79 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=d8e603148f3cc4a953409f4a5afff9e4ea898830
commit d8e603148f3cc4a953409f4a5afff9e4ea898830
Author: Cary Coutant <address@hidden>
Date: Mon Dec 1 13:21:49 2014 -0800
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.
-----------------------------------------------------------------------
Summary of changes:
gold/ChangeLog | 8 ++++++++
gold/layout.cc | 12 +++++++++---
2 files changed, 17 insertions(+), 3 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gold/17578] Confusing "requires executable stack" warning from gold,
cvs-commit at gcc dot gnu.org <=