Shaun Jackman wrote:
Why does the above specs snippet cause gcc to forget it's linking
against thumb libraries?

The -mthumb support works by passing extra -L options to the linker. Try using -v and looking at the linker options.


You didn't include your linker script, but a possibility here is that you are overriding path names in your linker script, preventing the -L options from working as intended.

Also, note that there is a linker --verbose switch that may help debug what the linker is doing.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com

Reply via email to