From f678ded748f994a16e27fc3ac1d1c9451b98f608 Mon Sep 17 00:00:00 2001 From: Jiong Wang Date: Tue, 11 Aug 2015 21:55:52 +0100 Subject: [AArch64] Long branch veneer support far symbol defined by --defsym 2015-08-11 Jiong Wang 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. --- ld/testsuite/ld-aarch64/aarch64-elf.exp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ld/testsuite/ld-aarch64') 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" -- cgit v1.1