[RFA] [ARM] Fix reporting of undefined and deprecated mov rd, rm instructions
Matthew Gretton-Dann
matthew.gretton-dann@arm.com
Mon Jun 28 16:27:00 GMT 2010
Hi,
In Thumb state gas rejects mov sp, sp. In fact this instruction is
allowed (but deprecated).
The attached patch fixes this case, and other related cases where the
disassembler was incorrectly accepting or rejecting variants of mov rd,
rm in Thumb state. Please can someone review and if appropriate approve
it?
Thanks,
Matt
Proposed ChangeLogs:
gas/ChangeLog:
2010-06-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
* config/tc-arm.c (do_t_mov_cmp): Fix reporting of
unpredictable and deprecated mov register instructions.
gas/testsuite/ChangeLog:
2010-06-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
* gas/arm/thumb2_bad_reg.s: Update mov register tests.
* gas/arm/thumb2_bad_reg.l: Likewise.
--
Matthew Gretton-Dann
Principal Engineer - PDSW Tools
ARM Ltd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1006-mov-sp-pc-fixes.patch
Type: text/x-patch
Size: 3593 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20100628/5803f17f/attachment.bin>
More information about the Binutils
mailing list