This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch, AArch64] Enable overflow check for TLSLE_MOVW_TPREL_G2


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]