This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[2.26 Backport Request][AArch64] Relax long branch veneer insertion for non STT_FUNC symbol
- From: Jiong Wang <jiong dot wang at foss dot arm dot com>
- To: Tristan Gingold <gingold at adacore dot com>
- Cc: "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Thu, 25 Feb 2016 09:50:15 +0000
- Subject: [2.26 Backport Request][AArch64] Relax long branch veneer insertion for non STT_FUNC symbol
- Authentication-results: sourceware.org; auth=none
- References: <56991A8A dot 4080504 at foss dot arm dot com> <569F935A dot 10708 at redhat dot com>
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