[arm-gnu] Unsupported instruction blx(1) generated in Cortex-M3 binary
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[arm-gnu] Unsupported instruction blx(1) generated in Cortex-M3 binary
- To: "arm-gnu@xxxxxxxxxxxxxxxx" <arm-gnu@xxxxxxxxxxxxxxxx>
- Subject: [arm-gnu] Unsupported instruction blx(1) generated in Cortex-M3 binary
- From: "Jeff J.Q. Liu" <jqliu@xxxxxxxxxxxx>
- Date: Mon, 19 Jan 2009 12:23:00 -0800
Hi,
An illegal instruction "blx <symbol-address>" is generated in my Cortex-M3 standalone executable if the symbol is only defined in the linker script. Does someone know the fix or any workaround?
I am using the arm-none-eabi toolchain 2007q3 release.
The linker script is something like this:
SECTIONS {
...
foo = 0x808001;
...
}
The disassembly is like this:
blx 808000
Thanks and best regards,
Jeff