[BFD][AARCH64]Fix MOVW_SABS_G(0,1,2) relocation overflow check.

Nick Clifton nickc@redhat.com
Fri Feb 26 16:03:00 GMT 2016


Hi Renlin,

> Sorry,
> the correct patch attached in this email.

Phew - I thought that I was going mad...

>> bfd/ChangeLog:
>>
>> 2016-02-25  Renlin Li  <renlin.li@arm.com>
>>
>>     * elfnn-aarch64.c (elfNN_aarch64_howto_table): Fix signed overflow
>>     check for MOVW_SABS_G0, MOVW_SABS_G1, MOVW_SABS_G2.
>>
>>
>> ld/ChangeLog:
>>
>> 2016-02-25  Renlin Li  <renlin.li@arm.com>
>>
>>     * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcases.
>>     * testsuite/ld-aarch64/emit-relocs-270.d: Update to use new boundary.
>>     * testsuite/ld-aarch64/emit-relocs-271.d: Likewise.
>>     * testsuite/ld-aarch64/emit-relocs-272.d: Likewise.
>>     * testsuite/ld-aarch64/emit-relocs-270-overflow.d: New.
>>     * testsuite/ld-aarch64/emit-relocs-270-overflow.s: New.
>>     * testsuite/ld-aarch64/emit-relocs-271-overflow.d: New.
>>     * testsuite/ld-aarch64/emit-relocs-271-overflow.s: New.
>>     * testsuite/ld-aarch64/emit-relocs-272-overflow.d: New.
>>     * testsuite/ld-aarch64/emit-relocs-272-overflow.s: New.

Approved - please apply.

Cheers
  Nick



More information about the Binutils mailing list