[2.26 Backport Request][AArch64] Relax long branch veneer insertion for non STT_FUNC symbol
Jiong Wang
jiong.wang@foss.arm.com
Thu Feb 25 09:50:00 GMT 2016
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
More information about the Binutils
mailing list