[patch] Arm PLD instruction
Paul Brook
paul@codesourcery.com
Tue Feb 21 23:16:00 GMT 2006
The attached patch fixes two bugs in assembly of the Arm PLD instruction.
The arm routine was incorrectly adding the wrong register value to the opcode
(this is done by encode_arm_addr_mode_2). The Thumb routine was looking at
the wrong operand.
Tested with cross to arm-none-eabi.
Ok?
Paul
2005-02-21 Paul Brook <paul@codesourcery.com>
gas/
* config/tc-arm.c (do_pld): Remove incorrect write to
inst.instruction.
(encode_thumb32_addr_mode): Use correct operand.
gas/testsuite/
* gas/arm/thumb32.d: Fix expected pld opcode.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.gas_pld
Type: text/x-diff
Size: 2299 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20060221/1fe48e94/attachment.bin>
More information about the Binutils
mailing list