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
1 changed files with 2 additions and 0 deletions

View File

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