This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

b[l]x instruction in cortex-m3 code


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: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]