[patch] Arm sub(3) disassemble
Paul Brook
paul@codesourcery.com
Sat Aug 27 23:49:00 GMT 2005
The attached patch fixes an inconsistency in the arm disassembler. The
three-register 16-but thumb sub instruction sets the condition codes, but was
being disassembled as "sub". Patch changed this to "subs" and adjusts fixed
expected testcase output accordingly.
Tested with cross to arm-none-eabi.
Ok?
Paul
2005-08-28 Paul Brook <paul@codesourcery.com>
opcodes/
* arm-dis.c (thumb_opcodes): Disassemble sub(3) as subs.
gas/testsuite/
* gas/arm/thumb.d: Change "sub rn, rn, rn" to "subs rn, rn, rn".
* gas/arm/thumb32.d: Ditto.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.subs
Type: text/x-diff
Size: 2812 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20050827/7757e989/attachment.bin>
More information about the Binutils
mailing list