summaryrefslogtreecommitdiff
path: root/libm/ldouble_wrappers.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-11-14 15:59:35 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-11-14 16:25:33 +0100
commit73d6e5c41b61633e22ea74e3aa2df721512dca57 (patch)
tree496997a4fe295418c7d34b5ffc194c805470fadd /libm/ldouble_wrappers.c
parent2c3ed060512a2e90ec9f912cf1a5eb1ecd700fb9 (diff)
libm: fix C99_MATH on __NO_LONG_DOUBLE_MATH hosts
alias l to their normal double counterparts. Works around problems with libgcc blindly calling __finitel on e.g. ppc32 Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libm/ldouble_wrappers.c')
-rw-r--r--libm/ldouble_wrappers.c39
1 files changed, 0 insertions, 39 deletions
diff --git a/libm/ldouble_wrappers.c b/libm/ldouble_wrappers.c
index c53b99773..9c2e522bb 100644
--- a/libm/ldouble_wrappers.c
+++ b/libm/ldouble_wrappers.c
@@ -116,16 +116,6 @@ long long func##l(long double x) \
}
#endif /* __i386__ && __OPTIMIZE__ */
-#if defined __NO_LONG_DOUBLE_MATH
-# define int_WRAPPER_C99(func) /* not needed */
-# else
-# define int_WRAPPER_C99(func) \
-int func##l(long double x) \
-{ \
- return func((double) x); \
-} \
-libm_hidden_def(func##l)
-#endif
/* Implement the following, as defined by SuSv3 */
#if 0
@@ -501,32 +491,3 @@ long double significandl(long double x)
return (long double) significand((double) x);
}
#endif
-
-#ifdef __DO_C99_MATH__
-
-#ifdef L___fpclassifyl
-int_WRAPPER1(__fpclassify)
-libm_hidden_def(__fpclassifyl)
-#endif
-
-#ifdef L___finitel
-int_WRAPPER1(__finite)
-libm_hidden_def(__finitel)
-#endif
-
-#ifdef L___signbitl
-int_WRAPPER1(__signbit)
-libm_hidden_def(__signbitl)
-#endif
-
-#ifdef L___isnanl
-int_WRAPPER1(__isnan)
-libm_hidden_def(__isnanl)
-#endif
-
-#ifdef L___isinfl
-int_WRAPPER1(__isinf)
-libm_hidden_def(__isinfl)
-#endif
-
-#endif