public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* b[l]x instruction in cortex-m3 code
@ 2011-07-18 21:50 Daniel Otte
  2011-07-19  3:59 ` Daniel Jacobowitz
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel Otte @ 2011-07-18 21:50 UTC (permalink / raw)
  To: binutils

[-- Attachment #1: Type: text/plain, Size: 470 bytes --]

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


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-07-19 14:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-18 21:50 b[l]x instruction in cortex-m3 code Daniel Otte
2011-07-19  3:59 ` Daniel Jacobowitz
2011-07-19 10:45   ` Daniel Otte
2011-07-20  2:06     ` Dave Martin
2011-07-20  6:19     ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).