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

Nick Clifton nickc@redhat.com
Mon Apr 24 13:07:00 GMT 2017


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



More information about the Binutils mailing list