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:
parent
d9226ca678
commit
3115261f2f
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue