aboutsummaryrefslogtreecommitdiff
path: root/gold/ChangeLog
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@google.com>2014-12-01 13:21:49 -0800
committerCary Coutant <ccoutant@google.com>2014-12-01 13:21:49 -0800
commitd8e603148f3cc4a953409f4a5afff9e4ea898830 (patch)
tree929f28d46f0d4668babda8c7f123437e152303ff /gold/ChangeLog
parentef77750ef779ac887423f84bcc11a8de4dd0fe79 (diff)
downloadgdb-d8e603148f3cc4a953409f4a5afff9e4ea898830.zip
gdb-d8e603148f3cc4a953409f4a5afff9e4ea898830.tar.gz
gdb-d8e603148f3cc4a953409f4a5afff9e4ea898830.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.
Diffstat (limited to 'gold/ChangeLog')
-rw-r--r--gold/ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index 2da4d01..2daf182 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,11 @@
+2014-12-01 Cary Coutant <ccoutant@google.com>
+
+ 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.
+
2014-11-26 Cary Coutant <ccoutant@google.com>
* layout.cc (gdb_sections): Keep .debug_gdb_scripts and