aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ChangeLog
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-10-26 16:32:34 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-10-26 16:32:55 -0700
commit7b7e7f1da28585cfa49cbced50dbbd75a143cd20 (patch)
tree92bc4519ea2dc65f76bd4d2d8280c3857ef55d42 /ld/testsuite/ChangeLog
parent0fde2c536bc483baa4baa2990ebebfb3a7c00415 (diff)
downloadfsf-binutils-gdb-7b7e7f1da28585cfa49cbced50dbbd75a143cd20.zip
fsf-binutils-gdb-7b7e7f1da28585cfa49cbced50dbbd75a143cd20.tar.gz
fsf-binutils-gdb-7b7e7f1da28585cfa49cbced50dbbd75a143cd20.tar.bz2
Check symbol defined by assignment in linker script
Symbol symbol defined by an assignment in a linker script has type bfd_link_hash_new. elf_i386_convert_load and elf_x86_64_convert_load should check bfd_link_hash_new to see if a symbol is defined by a linker script. bfd/ PR ld/19175 * elf32-i386.c (elf_i386_convert_load): Check bfd_link_hash_new instead of calling bfd_link_get_defined_symbol. * elf64-x86-64.c (elf_x86_64_convert_load): Likewise. Skip relocation overflow for bfd_link_hash_new. * linker.c (bfd_link_get_defined_symbol): Removed. * bfd-in2.h: Regenerated. ld/testsuite/ PR ld/19175 * ld-i386/i386.exp: Run pr19175. * ld-x86-64/x86-64.exp: Likewise. * ld-i386/pr19175.d: New file. * ld-i386/pr19175.s: Likewise. * ld-i386/pr19175.t: Likewise. * ld-x86-64/pr19175.d: Likewise. * ld-x86-64/pr19175.s: Likewise. * ld-x86-64/pr19175.t: Likewise.
Diffstat (limited to 'ld/testsuite/ChangeLog')
-rw-r--r--ld/testsuite/ChangeLog12
1 files changed, 12 insertions, 0 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 42558ba..7946644 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,5 +1,17 @@
2015-10-26 H.J. Lu <hongjiu.lu@intel.com>
+ PR ld/19175
+ * ld-i386/i386.exp: Run pr19175.
+ * ld-x86-64/x86-64.exp: Likewise.
+ * ld-i386/pr19175.d: New file.
+ * ld-i386/pr19175.s: Likewise.
+ * ld-i386/pr19175.t: Likewise.
+ * ld-x86-64/pr19175.d: Likewise.
+ * ld-x86-64/pr19175.s: Likewise.
+ * ld-x86-64/pr19175.t: Likewise.
+
+2015-10-26 H.J. Lu <hongjiu.lu@intel.com>
+
PR ld/19171
* ld-i386/lea1.s: Add tests for address load of __start_XXX
and __stop_XXX.