[RFA/ARM] Fix bug with handling of BKPT and IT blocks.
Matthew Gretton-Dann
matthew.gretton-dann@arm.com
Wed Jun 6 15:39:00 GMT 2012
All,
The attached patch fixes a bug in gas with respect to its handling of BKPT
instructions inside IT blocks.
BKPT instructions are always unconditional even inside an IT block.
Gas correctly handles this when an immediate is specified for the BKPT
instruction, but does not when the immediate is omitted.
OK?
gas/ChangeLog:
2012-06-06 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
* config/tc-arm.c (do_t_bkpt): Handle IT state even if there is
no argument.
gas/testsuite/ChangeLog:
2012-06-06 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
* gas/arm/thumb2_bcond.d: Test bkpt with no arguments.
* gas/arm/thumb2_bcond.s: Likewise.
Thanks,
Matt
--
Matthew Gretton-Dann
Principal Engineer, PD Software - Tools, ARM Ltd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-bug-with-handling-of-BKPT-and-IT-blocks.txt
Type: text/x-patch
Size: 1142 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20120606/79a3319e/attachment.bin>
More information about the Binutils
mailing list