[AArch64] Long branch veneer support far symbol defined by --defsym
authorJiong Wang <jiong.wang@arm.com>
Tue, 11 Aug 2015 20:55:52 +0000 (21:55 +0100)
committerJiong Wang <jiong.wang@arm.com>
Tue, 11 Aug 2015 20:55:52 +0000 (21:55 +0100)
commitf678ded748f994a16e27fc3ac1d1c9451b98f608
treeb11d639f6672535887d9ddeb9dadd01454dafb33
parent07f9ddfeba5b572451471f905473f7ddbba1d472
[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.
bfd/ChangeLog
bfd/elfnn-aarch64.c
ld/testsuite/ChangeLog
ld/testsuite/ld-aarch64/aarch64-elf.exp