[RFA] Fix disassembly of Thumb-1 LDMIA

Matthew Gretton-Dann matthew.gretton-dann@arm.com
Tue May 11 09:27:00 GMT 2010


Hi,

The attached patch fixes opcodes/arm-dis.c's incorrect assumption that
all Thumb-1 LDMIA instructions have writeback.  In fact the LDMIA
instruction has writeback if and only if the base register is not in the
list of registers to load into.

Please can someone review and approve this patch?

Thanks,

Matt

Proposed opcodes/ChangeLog:

2010-05-11  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>

	* arm-dis.c (thumb_opcodes): Update ldmia entry to use new %W
	format.
	(print_insn_thumb16): Add support for new %W format.


-- 
Matthew Gretton-Dann
Principal Engineer - PD Software, Tools
ARM Ltd

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1005-opcodes-dis.patch
Type: text/x-patch
Size: 1562 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20100511/250af13d/attachment.bin>


More information about the Binutils mailing list