[Patch, AArch64] Enable overflow check for TLSLE_MOVW_TPREL_G2

Marcus Shawcroft marcus.shawcroft@gmail.com
Tue Jan 13 10:34:00 GMT 2015


On 12 January 2015 at 15:00, Jiong Wang <jiong.wang@arm.com> wrote:
> currently, this relocation is not generated by gcc, but maybe future or by
> hand assembly.
>
> the relocation value is calculated correctly, overflow info kept while the
> overflow check is
> not enabled.
>
> pass native ld test.
>
> ok for trunk?
> thanks.
>
> bfd/
>   * elfnn-aarch64.c: (elfNN_aarch64_howto_table): Enable overflow check for
>   TLSLE_MOVW_TPREL_G2.
>
> ld/testsuite/
>   * ld-aarch64/tprel_g2_overflow.s: New testcase.
>   * ld-aarch64/tprel_g2_overflow.d: New expectation file.
>   * ld-aarch64/aarch64-elf.exp: Run new testcase.

OK /Marcus



More information about the Binutils mailing list