This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [2.26 Backport Request][AArch64] Relax long branch veneer insertion for non STT_FUNC symbol
- From: Tristan Gingold <gingold at adacore dot com>
- To: Jiong Wang <jiong dot wang at foss dot arm dot com>
- Cc: "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Thu, 25 Feb 2016 11:02:34 +0100
- Subject: Re: [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> <56CECE57 dot 5030300 at foss dot arm dot com>
> On 25 Feb 2016, at 10:50, Jiong Wang <jiong.wang@foss.arm.com> wrote:
>
> 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?
Yes, Iâm fine with that.