Consider double foo (unsigned int a) { return a; } int main (void) { return 0; } When I compile and link this like so m68k-elf-gcc -Wl,-T,sim.ld -o test test.c I get undefined reference to `__floatunsidf' Inspection of m5200/libgcc.a reveals that it does not contain __floatunsidf.
I think this is a 4.2 regression cause by JSM's patch, could you check to see if this is a regression?
Fixed by: 2005-12-13 Paul Brook <paul@codesourcery.com> * config/m68k/fpgnulib.c (__unordsf2, __unorddf2, __unordxf2, __floatunsidf, __floatunsisf, __floatunsixf): New functions.