summaryrefslogtreecommitdiff
path: root/bfd/ChangeLog
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2016-03-15 11:46:51 -0700
committerH.J. Lu <hjl.tools@gmail.com>2016-03-15 11:53:31 -0700
commitdf7d3bc9a08f555665320c491ced94ea3d7e7e85 (patch)
treea6773dbb7e1447b0aee4e4cdb4a1a8c34fbbd266 /bfd/ChangeLog
parent17248591dadd061eb26d1b5f8ef048c1bb24b42e (diff)
downloadbinutils-gdb-df7d3bc9a08f555665320c491ced94ea3d7e7e85.tar.gz
Bind defined symbol locally in PIEusers/hjl/pr19827/binutils-2_26-branch
Symbols defined in PIE should be bound locally, the same as -shared -Bsymbolic. Backport from master bfd/ PR ld/19827 * elf32-i386.c (elf_i386_check_relocs): Bind defined symbol locally in PIE. (elf_i386_relocate_section): Likewise. * elf64-x86-64.c (elf_x86_64_check_relocs): Likewise. (elf_x86_64_relocate_section): Likewise. ld/ PR ld/19827 * testsuite/ld-i386/i386.exp: Run PR ld/19827 tests. * testsuite/ld-x86-64/x86-64.exp: Likewise. * testsuite/ld-i386/pr19827.rd: New file. * testsuite/ld-i386/pr19827a.S: Likewise. * testsuite/ld-i386/pr19827b.S: Likewise. * testsuite/ld-x86-64/pr19827.rd: Likewise. * testsuite/ld-x86-64/pr19827a.S: Likewise. * testsuite/ld-x86-64/pr19827b.S: Likewise.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r--bfd/ChangeLog12
1 files changed, 12 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 59e49fab34f..0b56d6fad7c 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,6 +1,18 @@
2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
Backport from master
+ 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/19827
+ * elf32-i386.c (elf_i386_check_relocs): Bind defined symbol
+ locally in PIE.
+ (elf_i386_relocate_section): Likewise.
+ * elf64-x86-64.c (elf_x86_64_check_relocs): Likewise.
+ (elf_x86_64_relocate_section): Likewise.
+
+2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
+
+ Backport from master
2016-01-30 H.J. Lu <hongjiu.lu@intel.com>
PR ld/19539