libtcc1: Compile float stubs conditionally.

* lib/libtcc1.c (__floatundidf, __floatundixf, __fixunsxfdi, __fixxfdi,
__fixsfdi, __fixunsdfdi, __fixunsdfsi, __floatdisf,
__floatdidf)[!(HAVE_FLOAT_STUB || HAVE_FLOAT)]: Remove.
This commit is contained in:
Jan (janneke) Nieuwenhuizen 2020-12-16 12:31:41 +01:00
parent d9226ca678
commit 3115261f2f
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -175,6 +175,7 @@ __ashrdi3 (long a, long ah, long b)
#endif // __TINYC__ #endif // __TINYC__
} }
#if HAVE_FLOAT_STUB || HAVE_FLOAT
double double
__attribute__((weak)) __attribute__((weak))
#if HAVE_LONG_LONG && HAVE_FLOAT #if HAVE_LONG_LONG && HAVE_FLOAT
@ -293,6 +294,7 @@ __fixunsdfdi (double num, double den)
#endif #endif
return 0; return 0;
} }
#endif // HAVE_FLOAT_STUB || HAVE_FLOAT
int int
__attribute__((weak)) __attribute__((weak))