[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



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