From a109996ef96b065c8374c486e80ee3bf23c69edd Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Thu, 20 Nov 2014 21:04:47 +0530 Subject: Remove IS_IN_libm Replace with IS_IN (libm). Generated code unchanged on x86_64. * include/math.h: Use IS_IN instead of IS_IN_libm. * sysdeps/alpha/fpu/s_copysign.c: Likewise. * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise. * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise. * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise. * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise. * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise. * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise. * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise. * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise. * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise. * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise. * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise. * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise. * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise. * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise. * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise. * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise. * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise. * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise. * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise. * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise. * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise. * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise. * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise. * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise. * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise. * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise. * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise. * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise. * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise. * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise. * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise. * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: Likewise. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Likewise. * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise. * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise. * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise. * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise. * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise. * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise. * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise. * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise. * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise. * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise. * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise. * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise. * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise. * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise. * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise. * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise. * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise. * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise. * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise. * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise. * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise. * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise. --- sysdeps/ieee754/ldbl-128ibm/s_copysignl.c | 2 +- sysdeps/ieee754/ldbl-128ibm/s_finitel.c | 2 +- sysdeps/ieee754/ldbl-128ibm/s_fmal.c | 2 +- sysdeps/ieee754/ldbl-128ibm/s_frexpl.c | 2 +- sysdeps/ieee754/ldbl-128ibm/s_isinfl.c | 2 +- sysdeps/ieee754/ldbl-128ibm/s_isnanl.c | 2 +- sysdeps/ieee754/ldbl-128ibm/s_modfl.c | 2 +- sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c | 2 +- sysdeps/ieee754/ldbl-128ibm/s_signbitl.c | 2 +- sysdeps/ieee754/ldbl-64-128/s_copysignl.c | 2 +- sysdeps/ieee754/ldbl-64-128/s_finitel.c | 2 +- sysdeps/ieee754/ldbl-64-128/s_frexpl.c | 2 +- sysdeps/ieee754/ldbl-64-128/s_isinfl.c | 4 ++-- sysdeps/ieee754/ldbl-64-128/s_isnanl.c | 4 ++-- sysdeps/ieee754/ldbl-64-128/s_modfl.c | 2 +- sysdeps/ieee754/ldbl-64-128/s_scalbnl.c | 2 +- sysdeps/ieee754/ldbl-64-128/s_signbitl.c | 2 +- sysdeps/ieee754/ldbl-64-128/w_scalblnl.c | 2 +- sysdeps/ieee754/ldbl-opt/s_copysign.c | 2 +- sysdeps/ieee754/ldbl-opt/s_finite.c | 2 +- sysdeps/ieee754/ldbl-opt/s_frexp.c | 2 +- sysdeps/ieee754/ldbl-opt/s_isinf.c | 2 +- sysdeps/ieee754/ldbl-opt/s_isnan.c | 2 +- sysdeps/ieee754/ldbl-opt/s_ldexp.c | 2 +- sysdeps/ieee754/ldbl-opt/s_ldexpl.c | 2 +- sysdeps/ieee754/ldbl-opt/s_modf.c | 2 +- sysdeps/ieee754/ldbl-opt/s_scalbln.c | 2 +- sysdeps/ieee754/ldbl-opt/s_scalbn.c | 2 +- 28 files changed, 30 insertions(+), 30 deletions(-) (limited to 'sysdeps/ieee754') diff --git a/sysdeps/ieee754/ldbl-128ibm/s_copysignl.c b/sysdeps/ieee754/ldbl-128ibm/s_copysignl.c index a16a886852..3b8ec1a74d 100644 --- a/sysdeps/ieee754/ldbl-128ibm/s_copysignl.c +++ b/sysdeps/ieee754/ldbl-128ibm/s_copysignl.c @@ -34,7 +34,7 @@ long double __copysignl(long double x, long double y) return x; } -#ifdef IS_IN_libm +#if IS_IN (libm) long_double_symbol (libm, __copysignl, copysignl); #else long_double_symbol (libc, __copysignl, copysignl); diff --git a/sysdeps/ieee754/ldbl-128ibm/s_finitel.c b/sysdeps/ieee754/ldbl-128ibm/s_finitel.c index 7b4655fadb..b562ce60b6 100644 --- a/sysdeps/ieee754/ldbl-128ibm/s_finitel.c +++ b/sysdeps/ieee754/ldbl-128ibm/s_finitel.c @@ -40,7 +40,7 @@ ___finitel (long double x) } hidden_ver (___finitel, __finitel) weak_alias (___finitel, ____finitel) -#ifdef IS_IN_libm +#if IS_IN (libm) long_double_symbol (libm, ____finitel, finitel); long_double_symbol (libm, ___finitel, __finitel); #else diff --git a/sysdeps/ieee754/ldbl-128ibm/s_fmal.c b/sysdeps/ieee754/ldbl-128ibm/s_fmal.c index 46dedf83fb..a2111d0598 100644 --- a/sysdeps/ieee754/ldbl-128ibm/s_fmal.c +++ b/sysdeps/ieee754/ldbl-128ibm/s_fmal.c @@ -37,7 +37,7 @@ __fmal (long double x, long double y, long double z) return (x * y) + z; } -#ifdef IS_IN_libm +#if IS_IN (libm) long_double_symbol (libm, __fmal, fmal); #else long_double_symbol (libc, __fmal, fmal); diff --git a/sysdeps/ieee754/ldbl-128ibm/s_frexpl.c b/sysdeps/ieee754/ldbl-128ibm/s_frexpl.c index a644f9269e..483c6a8c5d 100644 --- a/sysdeps/ieee754/ldbl-128ibm/s_frexpl.c +++ b/sysdeps/ieee754/ldbl-128ibm/s_frexpl.c @@ -141,7 +141,7 @@ long double __frexpl(long double x, int *eptr) *eptr = expon; return x; } -#ifdef IS_IN_libm +#if IS_IN (libm) long_double_symbol (libm, __frexpl, frexpl); #else long_double_symbol (libc, __frexpl, frexpl); diff --git a/sysdeps/ieee754/ldbl-128ibm/s_isinfl.c b/sysdeps/ieee754/ldbl-128ibm/s_isinfl.c index 6a728221fc..730aa4d8d1 100644 --- a/sysdeps/ieee754/ldbl-128ibm/s_isinfl.c +++ b/sysdeps/ieee754/ldbl-128ibm/s_isinfl.c @@ -33,7 +33,7 @@ ___isinfl (long double x) return ~mask & (hx >> 62); } hidden_ver (___isinfl, __isinfl) -#ifndef IS_IN_libm +#if !IS_IN (libm) weak_alias (___isinfl, ____isinfl) long_double_symbol (libc, ___isinfl, isinfl); long_double_symbol (libc, ____isinfl, __isinfl); diff --git a/sysdeps/ieee754/ldbl-128ibm/s_isnanl.c b/sysdeps/ieee754/ldbl-128ibm/s_isnanl.c index d12f1d3bf5..9980875df2 100644 --- a/sysdeps/ieee754/ldbl-128ibm/s_isnanl.c +++ b/sysdeps/ieee754/ldbl-128ibm/s_isnanl.c @@ -39,7 +39,7 @@ ___isnanl (long double x) return (int) (hx >> 63); } hidden_ver (___isnanl, __isnanl) -#ifndef IS_IN_libm +#if !IS_IN (libm) weak_alias (___isnanl, ____isnanl) long_double_symbol (libc, ___isnanl, isnanl); long_double_symbol (libc, ____isnanl, __isnanl); diff --git a/sysdeps/ieee754/ldbl-128ibm/s_modfl.c b/sysdeps/ieee754/ldbl-128ibm/s_modfl.c index ed03ce236c..260cc3e33c 100644 --- a/sysdeps/ieee754/ldbl-128ibm/s_modfl.c +++ b/sysdeps/ieee754/ldbl-128ibm/s_modfl.c @@ -89,7 +89,7 @@ long double __modfl(long double x, long double *iptr) } } } -#ifdef IS_IN_libm +#if IS_IN (libm) long_double_symbol (libm, __modfl, modfl); #else long_double_symbol (libc, __modfl, modfl); diff --git a/sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c b/sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c index 161172db6e..a0d7aa9d63 100644 --- a/sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c +++ b/sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c @@ -102,7 +102,7 @@ long double __scalbnl (long double x, int n) x = ldbl_pack (xhi, xlo); return x*twolm54; } -#ifdef IS_IN_libm +#if IS_IN (libm) long_double_symbol (libm, __scalbnl, scalbnl); #else long_double_symbol (libc, __scalbnl, scalbnl); diff --git a/sysdeps/ieee754/ldbl-128ibm/s_signbitl.c b/sysdeps/ieee754/ldbl-128ibm/s_signbitl.c index 6d25711064..fbccaf12fa 100644 --- a/sysdeps/ieee754/ldbl-128ibm/s_signbitl.c +++ b/sysdeps/ieee754/ldbl-128ibm/s_signbitl.c @@ -31,7 +31,7 @@ ___signbitl (long double x) EXTRACT_WORDS64 (e, xhi); return e < 0; } -#ifdef IS_IN_libm +#if IS_IN (libm) long_double_symbol (libm, ___signbitl, __signbitl); #else long_double_symbol (libc, ___signbitl, __signbitl); diff --git a/sysdeps/ieee754/ldbl-64-128/s_copysignl.c b/sysdeps/ieee754/ldbl-64-128/s_copysignl.c index 1319584a52..211e7240ac 100644 --- a/sysdeps/ieee754/ldbl-64-128/s_copysignl.c +++ b/sysdeps/ieee754/ldbl-64-128/s_copysignl.c @@ -2,7 +2,7 @@ #undef weak_alias #define weak_alias(n,a) #include -#ifdef IS_IN_libm +#if IS_IN (libm) long_double_symbol (libm, __copysignl, copysignl); #else long_double_symbol (libc, __copysignl, copysignl); diff --git a/sysdeps/ieee754/ldbl-64-128/s_finitel.c b/sysdeps/ieee754/ldbl-64-128/s_finitel.c index 90717a1057..c0862a7485 100644 --- a/sysdeps/ieee754/ldbl-64-128/s_finitel.c +++ b/sysdeps/ieee754/ldbl-64-128/s_finitel.c @@ -8,7 +8,7 @@ #undef __finitel hidden_ver (___finitel, __finitel) _weak_alias (___finitel, ____finitel) -#ifdef IS_IN_libm +#if IS_IN (libm) long_double_symbol (libm, ____finitel, finitel); long_double_symbol (libm, ___finitel, __finitel); #else diff --git a/sysdeps/ieee754/ldbl-64-128/s_frexpl.c b/sysdeps/ieee754/ldbl-64-128/s_frexpl.c index 685bbbab41..c7b6aaaaee 100644 --- a/sysdeps/ieee754/ldbl-64-128/s_frexpl.c +++ b/sysdeps/ieee754/ldbl-64-128/s_frexpl.c @@ -2,7 +2,7 @@ #undef weak_alias #define weak_alias(n,a) #include -#ifdef IS_IN_libm +#if IS_IN (libm) long_double_symbol (libm, __frexpl, frexpl); #else long_double_symbol (libc, __frexpl, frexpl); diff --git a/sysdeps/ieee754/ldbl-64-128/s_isinfl.c b/sysdeps/ieee754/ldbl-64-128/s_isinfl.c index e046032b09..6dab0e9223 100644 --- a/sysdeps/ieee754/ldbl-64-128/s_isinfl.c +++ b/sysdeps/ieee754/ldbl-64-128/s_isinfl.c @@ -1,5 +1,5 @@ #include -#ifndef IS_IN_libm +#if !IS_IN (libm) # undef weak_alias # define weak_alias(n,a) # undef hidden_def @@ -7,7 +7,7 @@ # define __isinfl(arg) ___isinfl(arg) #endif #include -#ifndef IS_IN_libm +#if !IS_IN (libm) # undef __isinfl hidden_ver (___isinfl, __isinfl) _weak_alias (___isinfl, ____isinfl) diff --git a/sysdeps/ieee754/ldbl-64-128/s_isnanl.c b/sysdeps/ieee754/ldbl-64-128/s_isnanl.c index 3673463ae5..ad5ecc5281 100644 --- a/sysdeps/ieee754/ldbl-64-128/s_isnanl.c +++ b/sysdeps/ieee754/ldbl-64-128/s_isnanl.c @@ -1,5 +1,5 @@ #include -#ifndef IS_IN_libm +#if !IS_IN (libm) # undef weak_alias # define weak_alias(n,a) # undef hidden_def @@ -7,7 +7,7 @@ # define __isnanl(arg) ___isnanl(arg) #endif #include -#ifndef IS_IN_libm +#if !IS_IN (libm) # undef __isnanl hidden_ver (___isnanl, __isnanl) _weak_alias (___isnanl, ____isnanl) diff --git a/sysdeps/ieee754/ldbl-64-128/s_modfl.c b/sysdeps/ieee754/ldbl-64-128/s_modfl.c index c17d6690a8..fa4d3ad82a 100644 --- a/sysdeps/ieee754/ldbl-64-128/s_modfl.c +++ b/sysdeps/ieee754/ldbl-64-128/s_modfl.c @@ -2,7 +2,7 @@ #undef weak_alias #define weak_alias(n,a) #include -#ifdef IS_IN_libm +#if IS_IN (libm) long_double_symbol (libm, __modfl, modfl); #else long_double_symbol (libc, __modfl, modfl); diff --git a/sysdeps/ieee754/ldbl-64-128/s_scalbnl.c b/sysdeps/ieee754/ldbl-64-128/s_scalbnl.c index 78520e9648..fe2412b97a 100644 --- a/sysdeps/ieee754/ldbl-64-128/s_scalbnl.c +++ b/sysdeps/ieee754/ldbl-64-128/s_scalbnl.c @@ -2,7 +2,7 @@ #undef weak_alias #define weak_alias(n,a) #include -#ifdef IS_IN_libm +#if IS_IN (libm) long_double_symbol (libm, __scalbnl, scalbnl); #else long_double_symbol (libc, __scalbnl, scalbnl); diff --git a/sysdeps/ieee754/ldbl-64-128/s_signbitl.c b/sysdeps/ieee754/ldbl-64-128/s_signbitl.c index f66db2f651..850db7386a 100644 --- a/sysdeps/ieee754/ldbl-64-128/s_signbitl.c +++ b/sysdeps/ieee754/ldbl-64-128/s_signbitl.c @@ -4,7 +4,7 @@ #define __signbitl(arg) ___signbitl(arg) #include #undef __signbitl -#ifdef IS_IN_libm +#if IS_IN (libm) long_double_symbol (libm, ___signbitl, __signbitl); #else long_double_symbol (libc, ___signbitl, __signbitl); diff --git a/sysdeps/ieee754/ldbl-64-128/w_scalblnl.c b/sysdeps/ieee754/ldbl-64-128/w_scalblnl.c index fc6c4cfd8e..2f3fc1f7ff 100644 --- a/sysdeps/ieee754/ldbl-64-128/w_scalblnl.c +++ b/sysdeps/ieee754/ldbl-64-128/w_scalblnl.c @@ -20,7 +20,7 @@ #undef weak_alias #define weak_alias(name, alias) #include -#ifdef IS_IN_libm +#if IS_IN (libm) long_double_symbol (libm, __w_scalblnl, scalblnl); #else long_double_symbol (libc, __w_scalblnl, scalblnl); diff --git a/sysdeps/ieee754/ldbl-opt/s_copysign.c b/sysdeps/ieee754/ldbl-opt/s_copysign.c index 425e0eadbd..f4303f5768 100644 --- a/sysdeps/ieee754/ldbl-opt/s_copysign.c +++ b/sysdeps/ieee754/ldbl-opt/s_copysign.c @@ -1,6 +1,6 @@ #include #include -#ifdef IS_IN_libm +#if IS_IN (libm) # if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0) compat_symbol (libm, __copysign, copysignl, GLIBC_2_0); # endif diff --git a/sysdeps/ieee754/ldbl-opt/s_finite.c b/sysdeps/ieee754/ldbl-opt/s_finite.c index 897dbfd3b0..7d3ab0068d 100644 --- a/sysdeps/ieee754/ldbl-opt/s_finite.c +++ b/sysdeps/ieee754/ldbl-opt/s_finite.c @@ -1,7 +1,7 @@ #include #include weak_alias (__finite, ___finite) -#ifdef IS_IN_libm +#if IS_IN (libm) # if LONG_DOUBLE_COMPAT(libm, GLIBC_2_1) compat_symbol (libm, __finite, __finitel, GLIBC_2_1); # endif diff --git a/sysdeps/ieee754/ldbl-opt/s_frexp.c b/sysdeps/ieee754/ldbl-opt/s_frexp.c index 59ce352200..0e3a5e0830 100644 --- a/sysdeps/ieee754/ldbl-opt/s_frexp.c +++ b/sysdeps/ieee754/ldbl-opt/s_frexp.c @@ -1,6 +1,6 @@ #include #include -#ifdef IS_IN_libm +#if IS_IN (libm) # if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0) compat_symbol (libm, __frexp, frexpl, GLIBC_2_0); # endif diff --git a/sysdeps/ieee754/ldbl-opt/s_isinf.c b/sysdeps/ieee754/ldbl-opt/s_isinf.c index 401c8b1318..1f760a0320 100644 --- a/sysdeps/ieee754/ldbl-opt/s_isinf.c +++ b/sysdeps/ieee754/ldbl-opt/s_isinf.c @@ -1,6 +1,6 @@ #include #include -#ifndef IS_IN_libm +#if !IS_IN (libm) # if LONG_DOUBLE_COMPAT(libc, GLIBC_2_0) compat_symbol (libc, __isinf, __isinfl, GLIBC_2_0); compat_symbol (libc, isinf, isinfl, GLIBC_2_0); diff --git a/sysdeps/ieee754/ldbl-opt/s_isnan.c b/sysdeps/ieee754/ldbl-opt/s_isnan.c index 164b800b85..33f57f1955 100644 --- a/sysdeps/ieee754/ldbl-opt/s_isnan.c +++ b/sysdeps/ieee754/ldbl-opt/s_isnan.c @@ -1,6 +1,6 @@ #include #include -#ifndef IS_IN_libm +#if !IS_IN (libm) # if LONG_DOUBLE_COMPAT(libc, GLIBC_2_0) compat_symbol (libc, __isnan, __isnanl, GLIBC_2_0); compat_symbol (libc, isnan, isnanl, GLIBC_2_0); diff --git a/sysdeps/ieee754/ldbl-opt/s_ldexp.c b/sysdeps/ieee754/ldbl-opt/s_ldexp.c index f0f6519892..20e107be7e 100644 --- a/sysdeps/ieee754/ldbl-opt/s_ldexp.c +++ b/sysdeps/ieee754/ldbl-opt/s_ldexp.c @@ -1,6 +1,6 @@ #include #include -#ifdef IS_IN_libm +#if IS_IN (libm) # if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0) compat_symbol (libm, __ldexp, ldexpl, GLIBC_2_0); # endif diff --git a/sysdeps/ieee754/ldbl-opt/s_ldexpl.c b/sysdeps/ieee754/ldbl-opt/s_ldexpl.c index d4636b9cc1..0dce1b1620 100644 --- a/sysdeps/ieee754/ldbl-opt/s_ldexpl.c +++ b/sysdeps/ieee754/ldbl-opt/s_ldexpl.c @@ -2,7 +2,7 @@ #undef weak_alias #define weak_alias(n,a) #include -#ifdef IS_IN_libm +#if IS_IN (libm) long_double_symbol (libm, __ldexpl, ldexpl); #else long_double_symbol (libc, __ldexpl, ldexpl); diff --git a/sysdeps/ieee754/ldbl-opt/s_modf.c b/sysdeps/ieee754/ldbl-opt/s_modf.c index 2263811e5e..93acb43ae6 100644 --- a/sysdeps/ieee754/ldbl-opt/s_modf.c +++ b/sysdeps/ieee754/ldbl-opt/s_modf.c @@ -1,6 +1,6 @@ #include #include -#ifdef IS_IN_libm +#if IS_IN (libm) # if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0) compat_symbol (libm, __modf, modfl, GLIBC_2_0); # endif diff --git a/sysdeps/ieee754/ldbl-opt/s_scalbln.c b/sysdeps/ieee754/ldbl-opt/s_scalbln.c index 2398bba49a..391142b769 100644 --- a/sysdeps/ieee754/ldbl-opt/s_scalbln.c +++ b/sysdeps/ieee754/ldbl-opt/s_scalbln.c @@ -1,6 +1,6 @@ #include #include -#ifdef IS_IN_libm +#if IS_IN (libm) #if LONG_DOUBLE_COMPAT(libm, GLIBC_2_1) compat_symbol (libm, __scalbln, scalblnl, GLIBC_2_1); #endif diff --git a/sysdeps/ieee754/ldbl-opt/s_scalbn.c b/sysdeps/ieee754/ldbl-opt/s_scalbn.c index 094735ea53..1ad81b199e 100644 --- a/sysdeps/ieee754/ldbl-opt/s_scalbn.c +++ b/sysdeps/ieee754/ldbl-opt/s_scalbn.c @@ -1,6 +1,6 @@ #include #include -#ifdef IS_IN_libm +#if IS_IN (libm) # if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0) compat_symbol (libm, __scalbn, scalbnl, GLIBC_2_0); # endif -- cgit 1.4.1