This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[2.26 Backport Request][AArch64] Relax long branch veneer insertion for non STT_FUNC symbol


On 20/01/16 14:02, Nick Clifton wrote:
Hi Jiong,

2016-01-15  Jiong Wang <jiong.wang@arm.com>

bfd/
   (aarch64_type_of_stub): Allow insert long branch veneer for
   sym_sec != input_sec.
   (elfNN_aarch64_size_stub): Support STT_SECTION symbol.
   (elfNN_aarch64_final_link_relocate): Take rela addend into account
   when calculation destination.


ld/testsuite/
   * ld-aarch64/farcall-section.d: Delete.
   * ld-aarch64/farcall-section.s: Delete.
   * ld-aarch64/farcall-b-section.d: New expectation file.
   * ld-aarch64/farcall-bl-section.d: Likewise.
   * ld-aarch64/farcall-b-section.s: New testcase.
   * ld-aarch64/farcall-bl-section.s: Likewise.
   * ld-aarch64/aarch64-elf.exp: Likewise.

Approved - please apply.

Cheers
  Nick


Tristan,

  This patch applys cleanly on 2.26 branch and baked on master for a while.
It fixed a bug where current implemention mismatches AArch64 ELF Specification.

  OK for backportting to 2.26 branch?

  Thanks.

Jiong


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]