aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorJiong Wang <jiong.wang@arm.com>2015-08-11 21:55:52 +0100
committerJiong Wang <jiong.wang@arm.com>2015-08-11 21:55:52 +0100
commitf678ded748f994a16e27fc3ac1d1c9451b98f608 (patch)
treeb11d639f6672535887d9ddeb9dadd01454dafb33 /ld
parent07f9ddfeba5b572451471f905473f7ddbba1d472 (diff)
downloadgdb-f678ded748f994a16e27fc3ac1d1c9451b98f608.zip
gdb-f678ded748f994a16e27fc3ac1d1c9451b98f608.tar.gz
gdb-f678ded748f994a16e27fc3ac1d1c9451b98f608.tar.bz2
[AArch64] Long branch veneer support far symbol defined by --defsym
2015-08-11 Jiong Wang <jiong.wang@arm.com> bfd/ * bfd/elfnn-aarch64.c (aarch64_type_of_stub): New parameter "sym_sec". Loose the check for symbol from ABS section. (elfNN_aarch64_size_stubs): Pass sym_sec. ld/testsuite/ * ld-aarch64/farcall-b-defsym.s: New test. * ld-aarch64/farcall-bl-defsym.s: Likewise. * ld-aarch64/farcall-b-defsym.d: New expectation. * ld-aarch64/farcall-bl-defsym.d: Likewise.
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ChangeLog7
-rw-r--r--ld/testsuite/ld-aarch64/aarch64-elf.exp2
2 files changed, 9 insertions, 0 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 9b16f25..bb6ece6 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,5 +1,12 @@
2015-08-11 Jiong Wang <jiong.wang@arm.com>
+ * ld-aarch64/farcall-b-defsym.s: New test.
+ * ld-aarch64/farcall-bl-defsym.s: Likewise.
+ * ld-aarch64/farcall-b-defsym.d: New expectation.
+ * ld-aarch64/farcall-bl-defsym.d: Likewise.
+
+2015-08-11 Jiong Wang <jiong.wang@arm.com>
+
* ld-aarch64/farcall-b-gsym.s: New test.
* ld-aarch64/farcall-b-plt.s: Likewise.
* ld-aarch64/farcall-bl-plt.s: Likewise.
diff --git a/ld/testsuite/ld-aarch64/aarch64-elf.exp b/ld/testsuite/ld-aarch64/aarch64-elf.exp
index b87b198..9554ea1 100644
--- a/ld/testsuite/ld-aarch64/aarch64-elf.exp
+++ b/ld/testsuite/ld-aarch64/aarch64-elf.exp
@@ -127,6 +127,8 @@ run_dump_test "limit-b"
run_dump_test "limit-bl"
run_dump_test "farcall-section"
run_dump_test "farcall-back"
+run_dump_test "farcall-b-defsym"
+run_dump_test "farcall-bl-defsym"
run_dump_test "farcall-b-gsym"
run_dump_test "farcall-b-plt"
run_dump_test "farcall-bl-plt"