On Tue, Mar 6, 2012 at 10:42 AM, Michael Hope michael.hope@linaro.org wrote:
Hacking this into an assembly file then running objdump over it suggests this is Thumb-2 code. I think that's the problem.
Probably so...
Sorry I don't have a solution. We're considering multilib in the future but it's not Linaro's focus. If I were to hack around it I'd grab the libgcc.a from Fedora (v5) or Debian (v4T) and drop it in over the supplied libgcc.a. This may void your warranty :)
Hehe :-)
Against all odds, this works!
I just took the libgcc.a from my old CodeSourcery 2010q1 toolchain and replaced the libgcc.a in the Linaro compiler with it and now it boots and runs like a charm.
This is a pretty insane trick but oh so convenient...
Thanks Michael!
Yours, Linus Walleij