getting armv7 linker to emit armv4t thumb interworking

Allen Martin AMartin at nvidia.com
Thu Apr 12 19:10:33 UTC 2012


I have a cross toolchain I configured with "--with-arch=armv7-a --with-cpu=cortex-a9 --with-tune=cortex-a9" and I want the linker to emit armv4t compatible thumb interworking, but I can't seem to get it to.

I noticed that if I create a armv4t toolchain with "--with-arch=armv4t --with-cpu=arm7tdmi --with-tune=arm7tdmi" and then I pass "--use-blx" to the linker it will emit armv7 thumb interworking.  There doesn't seem to be any inverse "--no-use-blx" type switch though.  Is this a bug/limitation of the linker or am I misunderstanding something?

-Allen

nvpublic




More information about the linaro-toolchain mailing list