b[l]x instruction in cortex-m3 code
Daniel Otte
daniel.otte@rub.de
Mon Jul 18 21:50:00 GMT 2011
Hi,
when I link code for the ARM Cortex-M3 the b[l]x instruction is emitted.
Since Cortex-M3 has no ARM mode and no b[l]x instruction the CPU goes in a fault
mode when it is asked to execute it.
As far as I have read it is ok for the compiler to emit b[l]x but the linker is
required to translate it into b[l] instructions.
I tried a lot of linker flags with no success.
Are I'm missing something or is this really a bug?
Best regards,
Daniel Otte
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <https://sourceware.org/pipermail/binutils/attachments/20110718/7caf6049/attachment.sig>
More information about the Binutils
mailing list