aboutsummaryrefslogtreecommitdiff
path: root/ld/NEWS
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2022-04-20 13:37:51 +0100
committerNick Clifton <nickc@redhat.com>2022-04-20 13:39:05 +0100
commit65daf5bed68f3e792e80f7c9a12871fd71da32a2 (patch)
treea55da6b2014760d60106975406377517a8133874 /ld/NEWS
parent72b580b8f48927cf7bc4cf8bb951aaeff637d0ee (diff)
downloadgdb-65daf5bed68f3e792e80f7c9a12871fd71da32a2.zip
gdb-65daf5bed68f3e792e80f7c9a12871fd71da32a2.tar.gz
gdb-65daf5bed68f3e792e80f7c9a12871fd71da32a2.tar.bz2
Add linker warning for when it creates an executable stack.
PR 29072
Diffstat (limited to 'ld/NEWS')
-rw-r--r--ld/NEWS8
1 files changed, 8 insertions, 0 deletions
diff --git a/ld/NEWS b/ld/NEWS
index 76de7f6..b845531 100644
--- a/ld/NEWS
+++ b/ld/NEWS
@@ -1,5 +1,13 @@
-*- text -*-
+* The linker will now generate a warning message if the stack is made
+ executable. By default this warning is not issued if the user has
+ specifically requested an executable stack via the "-z execstack"
+ command line option, but the warning can be forced via the new
+ "--warn-execstack" option. Alternatively all warnings about creating
+ an executable stack can be suppressed via the "--no-warn-execstack"
+ option.
+
* TYPE=<type> is now supported in an output section description to set the
section type value.