Commit: RX: Add detection of bad opcodes

Nick Clifton nickc@redhat.com
Tue Sep 22 16:21:00 GMT 2015


Hi Guys,

  I am checking in the patch below so that the RX disassembler is able
  to detect and report invalid opcodes.

Cheers
  Nick

include/opcode/ChangeLog
2015-09-22  Nick Clifton  <nickc@redhat.com>

	* rx.h (enum RX_Size): Add RX_Bad_Size entry.

opcodes/ChangeLog
2015-09-22  Nick Clifton  <nickc@redhat.com>

	* rx-decode.opc (bwl): Use RX_Bad_Size.
	(sbwl): Likewise.
	(ubwl): Likewise.  Rename to ubw.
	(uBWL): Rename to uBW.
	Replace all references to uBWL with uBW.
	* rx-decode.c: Regenerate.
	* rx-dis.c (size_names): Add entry for RX_Bad_Size.
	(opsize_names): Likewise.
	(print_insn_rx): Detect and report RX_Bad_Size.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: rx-bad-opcodes.patch
Type: text/x-patch
Size: 7849 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20150922/4c024938/attachment.bin>


More information about the Binutils mailing list