[arm] fix assembler crash
Nathan Sidwell
nathan@codesourcery.com
Tue May 4 13:01:00 GMT 2010
This patch fixes a bug where the assembler seg faults if you try and use the
thumb-only cbnz or cbz instructions. It also augments the error messages
emitted when you use a thumb- or arm-only instruction in the wrong mode. Rather
than claim the cpu doesn't support that instruction, it now says it doesn't
support it *in $FOO mode* (where FOO is Thumb or ARM as appropriate).
Tested on arm-eabi, ok?
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: all.diff
URL: <https://sourceware.org/pipermail/binutils/attachments/20100504/66b950f2/attachment.ksh>
More information about the Binutils
mailing list