[patch] Enforce Arm SWP operand constraints
Paul Brook
paul@codesourcery.com
Fri Sep 2 17:09:00 GMT 2005
The attached patch enforces the operand constraints on the Arm SWP
instruction. The address register may not overlap the other registers.
Tested with cross to arm-none-eabi.
Ok?
Paul
2005-09-02 Paul Brook <paul@codesourcery.com>
gas/
* config/tc-arm.c (do_rn_rd): Enforce SWP operand constraints.
gas/testsuite/
* gas/arm/arm3-bad.s: New test.
* gas/arm/arm3-bad.d: New test.
* gas/arm/arm3.s: Avoid illegal instructions.
* gas/arm/arm3.d: Ditto.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.swp_bad
Type: text/x-diff
Size: 3259 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20050902/f342d87c/attachment.bin>
More information about the Binutils
mailing list