[arm] fix assembler crash
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 Sidwell :: http://www.codesourcery.com :: CodeSourcery
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the Binutils