Illegal instruction on m68k nommu
Lennart Sorensen
lsorense at csclub.uwaterloo.ca
Mon Apr 20 13:50:44 UTC 2009
On Sat, Apr 18, 2009 at 12:46:44PM +0100, Bernd Schmidt wrote:
> Lennart Sorensen wrote:
>> I now wonder if there is a bug in that gcc 4.3 code, or in the linker
>> messing up the ordering, or possibly in the elf2flt tool.
>
> The mainline version of elf2flt sets __[CD]TOR_LIST__ and
> __[CD]TOR_END__ incorrectly. It sounds like you're hitting that
> problem, so you may have to simply delete the code that sets these
> symbols from elf2flt.ld. The current Blackfin version is fixed but
> untested on m68k.
Ah. That's excellent to know.
Certainly forcing gcc 4.3 to use the #else going back to the 4.1 style
code seems to work, but isn't a great solution.
Where would I find the fixed version so I can see how to fix m68k?
--
Len Sorensen
More information about the uClibc
mailing list