[PATCH][Binutils][Arm] Fix disassembler crashing on -b binary when thumb file and thumb not forced.

Nick Clifton nickc@redhat.com
Thu Oct 18 16:18:00 GMT 2018


Hi Tamar,

> gas/ChangeLog:
> 2018-10-17  Tamar Christina  <tamar.christina@arm.com>
> 
> 	* testsuite/gas/arm/undefined-insn-arm.d: New test.
> 	* testsuite/gas/arm/undefined-insn-thumb.d: New test.
> 	* testsuite/gas/arm/undefined-insn.s: New test.
> 
> opcodes/ChangeLog:
> 2018-10-17  Tamar Christina  <tamar.christina@arm.com>
> 
> 	* arm-dis.c (UNKNOWN_INSTRUCTION_32BIT): Format specifier for arm mode.
> 	(UNKNOWN_INSTRUCTION_16BIT): Format specifier for thumb mode.
> 	(print_insn_arm, print_insn_thumb16, print_insn_thumb32): Use them.

Approved - please apply.

Cheers
  Nick


PS.  Thank you for getting rid of some aborts.  Personally, I think that
they are a bad thing to have in a library...



More information about the Binutils mailing list