aboutsummaryrefslogtreecommitdiff
path: root/ld/ChangeLog
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2014-03-31 13:14:44 +0100
committerNick Clifton <nickc@redhat.com>2014-03-31 13:14:44 +0100
commit76f0cad6f4e0fdfc4cfeee135b44b6a090919c60 (patch)
tree8174a9d1b67099b8adbb7ffeedc64c4fea63e962 /ld/ChangeLog
parent72c56015dda568cdcce75dc0316aa768f922c2d7 (diff)
downloadgdb-76f0cad6f4e0fdfc4cfeee135b44b6a090919c60.zip
gdb-76f0cad6f4e0fdfc4cfeee135b44b6a090919c60.tar.gz
gdb-76f0cad6f4e0fdfc4cfeee135b44b6a090919c60.tar.bz2
This is a fix for PR ld/16744 which showed that an object file linked with -r and -z [no]execstack
would not honour the [no]execstack. Fully linked binaries use a special segment to indicate the state of the stack, but relocatable object files only have sections, and .note.GNU-stack was not being created. * emultempl/elf32.em (_after_open): Create a .note.GNU-stack section when performing a relocatable link with -z [no]execstack specified.
Diffstat (limited to 'ld/ChangeLog')
-rw-r--r--ld/ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index f957e6d..d823aa4 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,10 @@
+2014-03-31 Nick Clifton <nickc@redhat.com>
+
+ PR ld/16744
+ * emultempl/elf32.em (_after_open): Create a .note.GNU-stack
+ section when performing a relocatable link with -z [no]execstack
+ specified.
+
2014-03-27 H.J. Lu <hongjiu.lu@intel.com>
PR ld/16756