aboutsummaryrefslogtreecommitdiff
path: root/ld/ChangeLog
diff options
context:
space:
mode:
authorJiong Wang <jiong.wang@arm.com>2017-06-16 14:20:38 +0100
committerJiong Wang <jiong.wang@arm.com>2017-06-16 14:20:38 +0100
commitd68f19767dfbb33c1813563d5a4af0731a1855c5 (patch)
tree27afb23abad3e0ebaa2121a63a8d7cf191eeef39 /ld/ChangeLog
parenta87dc45adc983a8e6ec3db8d18cd31c35abd2048 (diff)
downloadgdb-d68f19767dfbb33c1813563d5a4af0731a1855c5.zip
gdb-d68f19767dfbb33c1813563d5a4af0731a1855c5.tar.gz
gdb-d68f19767dfbb33c1813563d5a4af0731a1855c5.tar.bz2
[AArch64] Use SYMBOL_REFERENCES_LOCAL in one symbol check
For some pc-relative relocations we want to allow them under PIC mode while a normal global symbol defined in the same dynamic object can still bind externally through copy relocation. So, we should not allow pc-relative relocation against such symbol. SYMBOL_REFERENCES_LOCAL should be used and is more accurate than the original individual checks. bfd/ * elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Use SYMBOL_REFERENCES_LOCAL. ld/ * testsuite/ld-aarch64/aarch64-elf.exp: Update test name * testsuite/ld-aarch64/pcrel.s: Add new testcases. * testsuite/ld-aarch64/pcrel_pic_undefined.d: Update the expected warnings. * testsuite/ld-aarch64/pcrel_pic_defined_local.d: Rename ... * testsuite/ld-aarch64/pcrel_pic_defined.d: ... to this. Update expected warnings.
Diffstat (limited to 'ld/ChangeLog')
-rw-r--r--ld/ChangeLog10
1 files changed, 10 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 7791c03..751699d 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,13 @@
+2017-06-16 Jiong Wang <jiong.wang@arm.com>
+
+ * testsuite/ld-aarch64/aarch64-elf.exp: Update test name
+ * testsuite/ld-aarch64/pcrel.s: Add new testcases.
+ * testsuite/ld-aarch64/pcrel_pic_undefined.d: Update the expected
+ warnings.
+ * testsuite/ld-aarch64/pcrel_pic_defined_local.d: Rename ...
+ * testsuite/ld-aarch64/pcrel_pic_defined.d: ... to this.
+ Update expected warnings.
+
2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
* exsup.c (elf_shlib_list_options): Display "-z stack-size=SIZE"