[PATCH, GAS/ARM] Fix expansion of ldr pseudo instruction

Thomas Preudhomme thomas.preudhomme@foss.arm.com
Wed Jun 14 08:49:00 GMT 2017


Patch applies cleanly on binutils-2_28-branch and shows no testsuite regression. 
Is this ok to commit to binutils 2.28?

Best regards,

Thomas

On 24/04/17 14:07, Nick Clifton wrote:
> Hi Thomas,
>
>> 2017-04-20  Thomas Preud'homme  <thomas.preudhomme@arm.com>
>>
>>      * config/tc-arm.c (move_or_literal_pool): Remove code generating MOVS.
>>      Forbid MOV.W and MOVW if destination is SP or PC.
>>      * testsuite/gas/arm/thumb2_ldr_immediate_highregs_armv6t2.s: Explain
>>      expectation of LDR not generating a MOVS for low registers and small
>>      constants.  Add tests of MOVW generation.
>>      * testsuite/gas/arm/thumb2_ldr_immediate_highregs_armv6t2.d: Update
>>      expected disassembly.
>
> Approved - please apply.
>
> Cheers
>   Nick
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_ldr_movs_expansion.patch
Type: text/x-patch
Size: 5700 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20170614/b9285c81/attachment.bin>


More information about the Binutils mailing list