[PATCH] ARM: Disassemble lsls #0 as movs in Thumb-1

Matthew Gretton-Dann matthew.gretton-dann@arm.com
Tue Jun 1 15:29:00 GMT 2010
Hi,

Following on from last week's patch to assemble movs correctly in
unified syntax mode, the attached patch makes lsls rD, rM, #0
disassemble as movs rD, rM.

I have tested this with arm-none-eabi, arm-none-elf, and
arm-unknown-linux-gnueabi.

Can someone please review and if appropriate approve?

Thanks,

Matt

Proposed ChangeLogs:

gas/testsuite/ChangeLog:
2010-06-01  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
	* gas/arm/thumb-eabi.d: Add case for divided syntax encoding of 
	movs.
	* gas/arm/thumb.d: Likewise.
	* gas/arm/thumb.s: Likewise.
	* gas/arm/thumb2_it.d: Update for change in lsls/movs 
	disassembly.
	* gas/arm/thumb2_it_auto.d: Liekwise.
	* gas/arm/thumb32.d: Likewise.

ld/testsuite/ChangeLog:
2010-06-01  Matthew Gretton-Dann <matthew.gretton-dann@arm.com>

	* ld-arm/arm-call.d: Handle change in lsls/movs disassembly.
	* ld-arm/farcall-thumb-arm-short.d: Likewise.
	* ld-arm/farcall-thumb-thumb-blx-pic-veneer.d: Likewise.
	* ld-arm/farcall-thumb-thumb-blx.d: Likewise.
	* ld-arm/farcall-thumb-thumb-m-pic-veneer.d: Likewise.
	* ld-arm/farcall-thumb-thumb-m.d: Likewise.
	* ld-arm/farcall-thumb-thumb-pic-veneer.d: Likewise.
	* ld-arm/farcall-thumb-thumb.d: Likewise.
	* ld-arm/thumb2-bl-as-thumb1-bad-noeabi.d: Likewise.
	* ld-arm/thumb2-bl-as-thumb1-bad.d: Likewise.
	* ld-arm/thumb2-bl-bad-noeabi.d: Likewise.
	* ld-arm/thumb2-bl-bad.d: Likewise.

opcodes/ChangeLog:
2010-06-01  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>

	* arm-dis.c (thumb-opcodes): Add disassembly for movs.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1006-movs-disassembly.patch
Type: text/x-patch
Size: 10408 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20100601/710b362a/attachment.bin>


More information about the Binutils mailing list