[2.26 Backport Request][AArch64] Relax long branch veneer insertion for non STT_FUNC symbol
Tristan Gingold
gingold@adacore.com
Thu Feb 25 10:02:00 GMT 2016
> 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.
More information about the Binutils
mailing list