This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [BFD][AARCH64]Fix MOVW_SABS_G(0,1,2) relocation overflow check.
- From: Nick Clifton <nickc at redhat dot com>
- To: Renlin Li <renlin dot li at foss dot arm dot com>, "binutils at sourceware dot org" <binutils at sourceware dot org>
- Cc: Marcus Shawcroft <Marcus dot Shawcroft at arm dot com>, Ramana Radhakrishnan <Ramana dot Radhakrishnan at arm dot com>, Richard Earnshaw <Richard dot Earnshaw at arm dot com>
- Date: Fri, 26 Feb 2016 16:03:22 +0000
- Subject: Re: [BFD][AARCH64]Fix MOVW_SABS_G(0,1,2) relocation overflow check.
- Authentication-results: sourceware.org; auth=none
- References: <56CEDB35 dot 8070102 at foss dot arm dot com> <56CEDCB0 dot 7040205 at foss dot arm dot com>
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