Commit: RX: Disassemble NOP instructions
Nick Clifton
nickc@redhat.com
Mon Nov 2 14:35:00 GMT 2015
Hi Guys,
The RX assembler uses several different encodings for a NOP
instruction, depending upon the number of bytes that the instruction
needs to occupy. Unfortunately the RX disassembler did not
disassemble these instructions as NOPs. The attached patch fixes
that.
Tested with no regressions on an rx-elf toolchain.
Cheers
Nick
include/opcode/ChangeLog
2015-11-02 Nick Clifton <nickc@redhat.com>
* rx.h (enum RX_Opcode_ID): Add more NOP opcodes.
opcodes/ChangeLog
2015-11-02 Nick Clifton <nickc@redhat.com>
* rx-decode.opc (rx_decode_opcode): Decode extra NOP
instructions.
* rx-decode.c: Regenerate.
gas/testsuite/ChangeLog
2015-11-02 Nick Clifton <nickc@redhat.com>
* gas/rx/max.d: Update expecetd disassembly.
* gas/rx/nod.d: Likewise.
* gas/rx/nop.sm: Add tests of more NOP instructions.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: i6033883.patch
Type: text/x-patch
Size: 8854 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20151102/d6d32146/attachment.bin>
More information about the Binutils
mailing list