[AArch64] PR18668, Generate long branch veneer if call to plt stub is out of range

Nick Clifton nickc@redhat.com
Tue Aug 11 16:22:00 GMT 2015


Hi Jiong,

> 2015-07-15  Jiong Wang  <jiong.wang@arm.com>
> bfd/
>    PR ld/18668
>    * elfnn-aarch64.c (aarch64_type_of_stub): Update destination for
>    calls go through plt stub.
>    (elfNN_aarch64_final_link_relocate): Adjust code logic for CALL26,
>    JUMP26 relocation to support inserting veneer for call to plt stub.
>
> ld/testsuite/
>    * ld-aarch64/farcall-b-gsym.s: New test.
>    * ld-aarch64/farcall-b-plt.s: Ditto.
>    * ld-aarch64/farcall-bl-plt.s: Ditto.
>    * ld-aarch64/farcall-b-gsym.d: New expect file.
>    * ld-aarch64/farcall-b-plt.d: Ditto.
>    * ld-aarch64/farcall-bl-plt.d: Ditto.

Approved - please apply - sorry for the long delay in reviewing this patch.

Cheers
   Nick




More information about the Binutils mailing list