__extendsfdf2

Ian Lance Taylor iant@google.com
Fri Aug 28 16:10:00 GMT 2009


Aurélien Buhrig <Aurelien.Buhrig@tiempo-ic.com> writes:

> I’m porting gcc for a 16-bit target with no hardware fp capabilities.
> Playing with floats/doubles, gcc complains about an undefined reference to
> __extendsfdf2.
> This function should be defined in libgcc.a from fp-bit.c. Looking a bit
> deeper, I found that _sf_to_df.o obj file where __extendsfdf2 should be
> defined has an is empty text section… 
>
> So I guess this is a matter of Macro definition which inhibits this code.
>
> In my t-target, the only macro definitions are
> #define FLOAT
> #define CMPtype HItype 
> #define SMALL_MACHINE

Do you set FPBIT and DPBIT in your t-XXX Makefile fragment?

Ian



More information about the Gcc-help mailing list