From a109996ef96b065c8374c486e80ee3bf23c69edd Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Thu, 20 Nov 2014 21:04:47 +0530 Subject: [PATCH] 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. --- ChangeLog | 72 +++++++++++++++++++ include/math.h | 2 +- sysdeps/alpha/fpu/s_copysign.c | 2 +- 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 +- sysdeps/powerpc/power5+/fpu/s_modf.c | 2 +- sysdeps/powerpc/powerpc32/fpu/s_copysign.S | 2 +- sysdeps/powerpc/powerpc32/fpu/s_copysignl.S | 2 +- sysdeps/powerpc/powerpc32/fpu/s_isnan.S | 2 +- .../power4/fpu/multiarch/s_copysign.c | 2 +- .../powerpc32/power4/fpu/multiarch/s_finite.c | 2 +- .../powerpc32/power4/fpu/multiarch/s_isinf.c | 2 +- .../powerpc32/power4/fpu/multiarch/s_isnan.c | 2 +- .../powerpc32/power4/fpu/multiarch/s_modf.c | 2 +- .../powerpc/powerpc32/power5/fpu/s_isnan.S | 2 +- .../powerpc/powerpc32/power6/fpu/s_copysign.S | 2 +- .../powerpc/powerpc32/power6/fpu/s_isnan.S | 2 +- .../powerpc/powerpc32/power7/fpu/s_finite.S | 2 +- .../powerpc/powerpc32/power7/fpu/s_isinf.S | 2 +- .../powerpc/powerpc32/power7/fpu/s_isnan.S | 2 +- .../powerpc64/fpu/multiarch/s_copysign.c | 2 +- .../powerpc64/fpu/multiarch/s_finite.c | 2 +- .../powerpc/powerpc64/fpu/multiarch/s_isinf.c | 2 +- .../powerpc/powerpc64/fpu/multiarch/s_isnan.c | 2 +- .../powerpc/powerpc64/fpu/multiarch/s_modf.c | 2 +- sysdeps/powerpc/powerpc64/fpu/s_copysign.S | 2 +- sysdeps/powerpc/powerpc64/fpu/s_copysignl.S | 2 +- sysdeps/powerpc/powerpc64/fpu/s_isnan.S | 2 +- .../powerpc/powerpc64/power5/fpu/s_isnan.S | 2 +- .../powerpc/powerpc64/power6/fpu/s_copysign.S | 2 +- .../powerpc/powerpc64/power6/fpu/s_isnan.S | 2 +- .../powerpc/powerpc64/power6x/fpu/s_isnan.S | 2 +- .../powerpc/powerpc64/power7/fpu/s_finite.S | 2 +- .../powerpc/powerpc64/power7/fpu/s_isinf.S | 2 +- .../powerpc/powerpc64/power7/fpu/s_isnan.S | 2 +- .../powerpc/powerpc64/power8/fpu/s_finite.S | 2 +- .../powerpc/powerpc64/power8/fpu/s_isinf.S | 2 +- .../powerpc/powerpc64/power8/fpu/s_isnan.S | 2 +- sysdeps/sparc/sparc32/fpu/s_signbitl.S | 2 +- sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S | 2 +- sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S | 2 +- 67 files changed, 140 insertions(+), 68 deletions(-) diff --git a/ChangeLog b/ChangeLog index 90889f01255..faeec31775b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,77 @@ 2014-11-24 Siddhesh Poyarekar + * 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. + * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread. * nptl/pthreadP.h: Likewise. * nptl_db/structs.def: Likewise. diff --git a/include/math.h b/include/math.h index cbbce59501d..b10bfa0474c 100644 --- a/include/math.h +++ b/include/math.h @@ -6,7 +6,7 @@ /* Now define the internal interfaces. */ extern int __matherr (struct exception *__exc); -# if !defined NOT_IN_libc || defined IS_IN_libm +# if !defined NOT_IN_libc || IS_IN (libm) hidden_proto (__finite) hidden_proto (__isinf) hidden_proto (__isnan) diff --git a/sysdeps/alpha/fpu/s_copysign.c b/sysdeps/alpha/fpu/s_copysign.c index 13f5f1bf4ba..9092613e021 100644 --- a/sysdeps/alpha/fpu/s_copysign.c +++ b/sysdeps/alpha/fpu/s_copysign.c @@ -30,7 +30,7 @@ weak_alias (__copysign, copysign) strong_alias (__copysign, __copysignl) weak_alias (__copysign, copysignl) #endif -#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-128ibm/s_copysignl.c b/sysdeps/ieee754/ldbl-128ibm/s_copysignl.c index a16a8868527..3b8ec1a74df 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 7b4655fadb4..b562ce60b62 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 46dedf83fb5..a2111d05980 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 a644f9269e5..483c6a8c5dd 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 6a728221fca..730aa4d8d1e 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 d12f1d3bf55..9980875df25 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 ed03ce236cd..260cc3e33ce 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 161172db6ec..a0d7aa9d63a 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 6d257110648..fbccaf12fa7 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 1319584a52f..211e7240ac0 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 90717a1057d..c0862a74858 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 685bbbab417..c7b6aaaaee4 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 e046032b098..6dab0e9223b 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 3673463ae5c..ad5ecc52814 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 c17d6690a8a..fa4d3ad82a2 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 78520e9648e..fe2412b97a9 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 f66db2f651c..850db7386a5 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 fc6c4cfd8eb..2f3fc1f7ffd 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 425e0eadbd1..f4303f57687 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 897dbfd3b05..7d3ab0068dc 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 59ce3522006..0e3a5e0830c 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 401c8b13185..1f760a0320d 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 164b800b85f..33f57f1955f 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 f0f6519892e..20e107be7eb 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 d4636b9cc1b..0dce1b16203 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 2263811e5e3..93acb43ae6b 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 2398bba49a1..391142b7696 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 094735ea53e..1ad81b199e9 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 diff --git a/sysdeps/powerpc/power5+/fpu/s_modf.c b/sysdeps/powerpc/power5+/fpu/s_modf.c index 06da3ac8091..7d6cc84088e 100644 --- a/sysdeps/powerpc/power5+/fpu/s_modf.c +++ b/sysdeps/powerpc/power5+/fpu/s_modf.c @@ -49,7 +49,7 @@ weak_alias (__modf, modf) strong_alias (__modf, __modfl) weak_alias (__modf, modfl) #endif -#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/powerpc/powerpc32/fpu/s_copysign.S b/sysdeps/powerpc/powerpc32/fpu/s_copysign.S index 0d172d732f1..25b7ce12f1c 100644 --- a/sysdeps/powerpc/powerpc32/fpu/s_copysign.S +++ b/sysdeps/powerpc/powerpc32/fpu/s_copysign.S @@ -50,7 +50,7 @@ strong_alias(__copysign,__copysignf) weak_alias (__copysign,copysignl) strong_alias(__copysign,__copysignl) #endif -#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/powerpc/powerpc32/fpu/s_copysignl.S b/sysdeps/powerpc/powerpc32/fpu/s_copysignl.S index ecfeafcf7fc..31fe9fe36ee 100644 --- a/sysdeps/powerpc/powerpc32/fpu/s_copysignl.S +++ b/sysdeps/powerpc/powerpc32/fpu/s_copysignl.S @@ -42,7 +42,7 @@ L(0): bgelr cr6 blr END (__copysignl) -#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/powerpc/powerpc32/fpu/s_isnan.S b/sysdeps/powerpc/powerpc32/fpu/s_isnan.S index d82a3c64e85..caa85e9e4fe 100644 --- a/sysdeps/powerpc/powerpc32/fpu/s_isnan.S +++ b/sysdeps/powerpc/powerpc32/fpu/s_isnan.S @@ -48,7 +48,7 @@ strong_alias (__isnan, __isnanl) weak_alias (__isnan, isnanl) #endif -#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/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c b/sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c index 52df99d442f..74cd540b2c4 100644 --- a/sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c +++ b/sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c @@ -42,7 +42,7 @@ weak_alias (__copysign, copysign) weak_alias (__copysign,copysignl) strong_alias(__copysign,__copysignl) #endif -#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/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c b/sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c index c56e7ca994f..5244d9a404d 100644 --- a/sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c +++ b/sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c @@ -36,7 +36,7 @@ strong_alias (__finite, __finitel) weak_alias (__finite, finitel) #endif -#ifdef IS_IN_libm +#if IS_IN (libm) # if LONG_DOUBLE_COMPAT (libm, GLIBC_2_0) compat_symbol (libm, finite, finitel, GLIBC_2_0); # endif diff --git a/sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c b/sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c index 2f72c34a94f..ba57a256fc8 100644 --- a/sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c +++ b/sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c @@ -36,7 +36,7 @@ strong_alias (__isinf, __isinfl) weak_alias (__isinf, isinfl) #endif -#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/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c b/sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c index 8f3666b1014..f182d5056b4 100644 --- a/sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c +++ b/sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c @@ -42,7 +42,7 @@ strong_alias (__isnan, __isnanl) weak_alias (__isnan, isnanl) #endif -#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/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c b/sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c index 596b32c9bad..383156b6ebf 100644 --- a/sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c +++ b/sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c @@ -35,7 +35,7 @@ weak_alias (__modf, modf) strong_alias (__modf, __modfl) weak_alias (__modf, modfl) #endif -#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/powerpc/powerpc32/power5/fpu/s_isnan.S b/sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S index 99879a89de4..e91c56709f6 100644 --- a/sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S +++ b/sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S @@ -52,7 +52,7 @@ strong_alias (__isnan, __isnanl) weak_alias (__isnan, isnanl) #endif -#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/powerpc/powerpc32/power6/fpu/s_copysign.S b/sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S index d767dcbf46f..90e0d297497 100644 --- a/sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S +++ b/sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S @@ -47,7 +47,7 @@ strong_alias (__copysign, __copysignl) weak_alias (__copysign, copysignl) #endif -#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/powerpc/powerpc32/power6/fpu/s_isnan.S b/sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S index 563e70aa894..461ae0d67b5 100644 --- a/sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S +++ b/sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S @@ -52,7 +52,7 @@ strong_alias (__isnan, __isnanl) weak_alias (__isnan, isnanl) #endif -#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/powerpc/powerpc32/power7/fpu/s_finite.S b/sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S index 20e266b3049..cd1b1848353 100644 --- a/sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S +++ b/sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S @@ -78,7 +78,7 @@ strong_alias (__finite, __finitel) weak_alias (__finite, finitel) #endif -#ifdef IS_IN_libm +#if IS_IN (libm) # if LONG_DOUBLE_COMPAT (libm, GLIBC_2_0) compat_symbol (libm, finite, finitel, GLIBC_2_0) # endif diff --git a/sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S b/sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S index 47d608a9c25..f9d5ca1214b 100644 --- a/sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S +++ b/sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S @@ -77,7 +77,7 @@ strong_alias (__isinf, __isinfl) weak_alias (__isinf, isinfl) #endif -#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/powerpc/powerpc32/power7/fpu/s_isnan.S b/sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S index 9cb82840a54..6aa9e119167 100644 --- a/sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S +++ b/sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S @@ -82,7 +82,7 @@ strong_alias (__isnan, __isnanl) weak_alias (__isnan, isnanl) #endif -#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/powerpc/powerpc64/fpu/multiarch/s_copysign.c b/sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c index f3e6b3a6201..c42b37ce4f0 100644 --- a/sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c +++ b/sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c @@ -42,7 +42,7 @@ weak_alias (__copysign, copysign) weak_alias (__copysign,copysignl) strong_alias(__copysign,__copysignl) #endif -#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/powerpc/powerpc64/fpu/multiarch/s_finite.c b/sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c index b9e908df587..078540d36a0 100644 --- a/sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c +++ b/sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c @@ -39,7 +39,7 @@ strong_alias (__finite, __finitel) weak_alias (__finite, finitel) #endif -#ifdef IS_IN_libm +#if IS_IN (libm) # if LONG_DOUBLE_COMPAT (libm, GLIBC_2_0) compat_symbol (libm, finite, finitel, GLIBC_2_0); # endif diff --git a/sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c b/sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c index e349a06311c..5781c3d0352 100644 --- a/sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c +++ b/sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c @@ -39,7 +39,7 @@ strong_alias (__isinf, __isinfl) weak_alias (__isinf, isinfl) #endif -#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/powerpc/powerpc64/fpu/multiarch/s_isnan.c b/sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c index 65a5ca0cf69..2fd76b442a0 100644 --- a/sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c +++ b/sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c @@ -48,7 +48,7 @@ strong_alias (__isnan, __isnanl) weak_alias (__isnan, isnanl) #endif -#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/powerpc/powerpc64/fpu/multiarch/s_modf.c b/sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c index f416fa979a7..a61adf512cd 100644 --- a/sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c +++ b/sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c @@ -35,7 +35,7 @@ weak_alias (__modf, modf) strong_alias (__modf, __modfl) weak_alias (__modf, modfl) #endif -#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/powerpc/powerpc64/fpu/s_copysign.S b/sysdeps/powerpc/powerpc64/fpu/s_copysign.S index 49c793d3869..78b37563210 100644 --- a/sysdeps/powerpc/powerpc64/fpu/s_copysign.S +++ b/sysdeps/powerpc/powerpc64/fpu/s_copysign.S @@ -50,7 +50,7 @@ strong_alias(__copysign,__copysignf) weak_alias (__copysign,copysignl) strong_alias(__copysign,__copysignl) #endif -#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/powerpc/powerpc64/fpu/s_copysignl.S b/sysdeps/powerpc/powerpc64/fpu/s_copysignl.S index 39e180a5edd..453c01a109c 100644 --- a/sysdeps/powerpc/powerpc64/fpu/s_copysignl.S +++ b/sysdeps/powerpc/powerpc64/fpu/s_copysignl.S @@ -43,7 +43,7 @@ L(0): blr END (__copysignl) -#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/powerpc/powerpc64/fpu/s_isnan.S b/sysdeps/powerpc/powerpc64/fpu/s_isnan.S index 629dae68415..71e79f6a0ea 100644 --- a/sysdeps/powerpc/powerpc64/fpu/s_isnan.S +++ b/sysdeps/powerpc/powerpc64/fpu/s_isnan.S @@ -47,7 +47,7 @@ strong_alias (__isnan, __isnanl) weak_alias (__isnan, isnanl) #endif -#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/powerpc/powerpc64/power5/fpu/s_isnan.S b/sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S index 4ce6cf90060..46796abe7d7 100644 --- a/sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S +++ b/sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S @@ -51,7 +51,7 @@ strong_alias (__isnan, __isnanl) weak_alias (__isnan, isnanl) #endif -#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/powerpc/powerpc64/power6/fpu/s_copysign.S b/sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S index e1ea089c091..c5bb161450a 100644 --- a/sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S +++ b/sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S @@ -47,7 +47,7 @@ strong_alias (__copysign, __copysignl) weak_alias (__copysign, copysignl) #endif -#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/powerpc/powerpc64/power6/fpu/s_isnan.S b/sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S index 8a149b21b7a..0ba6ad427b5 100644 --- a/sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S +++ b/sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S @@ -50,7 +50,7 @@ strong_alias (__isnan, __isnanl) weak_alias (__isnan, isnanl) #endif -#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/powerpc/powerpc64/power6x/fpu/s_isnan.S b/sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S index 3172fe33649..20ed867fce7 100644 --- a/sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S +++ b/sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S @@ -49,7 +49,7 @@ strong_alias (__isnan, __isnanl) weak_alias (__isnan, isnanl) #endif -#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/powerpc/powerpc64/power7/fpu/s_finite.S b/sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S index 765d68914a3..8d4916dea90 100644 --- a/sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S +++ b/sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S @@ -57,7 +57,7 @@ strong_alias (__finite, __finitef) hidden_def (__finitef) weak_alias (__finitef, finitef) -#ifdef IS_IN_libm +#if IS_IN (libm) # if LONG_DOUBLE_COMPAT (libm, GLIBC_2_0) compat_symbol (libm, __finite, __finitel, GLIBC_2_0) compat_symbol (libm, finite, finitel, GLIBC_2_0) diff --git a/sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S b/sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S index e102d4b448e..79fd2e6d1c4 100644 --- a/sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S +++ b/sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S @@ -61,7 +61,7 @@ strong_alias (__isinf, __isinfl) weak_alias (__isinf, isinfl) #endif -#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/powerpc/powerpc64/power7/fpu/s_isnan.S b/sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S index eabee712eaf..5056261b988 100644 --- a/sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S +++ b/sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S @@ -60,7 +60,7 @@ strong_alias (__isnan, __isnanl) weak_alias (__isnan, isnanl) #endif -#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/powerpc/powerpc64/power8/fpu/s_finite.S b/sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S index 3e981265abf..67492dcce00 100644 --- a/sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S +++ b/sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S @@ -43,7 +43,7 @@ strong_alias (__finite, __finitef) hidden_def (__finitef) weak_alias (__finitef, finitef) -#ifdef IS_IN_libm +#if IS_IN (libm) # if LONG_DOUBLE_COMPAT (libm, GLIBC_2_0) compat_symbol (libm, __finite, __finitel, GLIBC_2_0) compat_symbol (libm, finite, finitel, GLIBC_2_0) diff --git a/sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S b/sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S index 125de3943df..e2c0034f544 100644 --- a/sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S +++ b/sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S @@ -53,7 +53,7 @@ strong_alias (__isinf, __isinfl) weak_alias (__isinf, isinfl) #endif -#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/powerpc/powerpc64/power8/fpu/s_isnan.S b/sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S index 2c7b2d1d9a6..8ecd135efdc 100644 --- a/sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S +++ b/sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S @@ -48,7 +48,7 @@ strong_alias (__isnan, __isnanl) weak_alias (__isnan, isnanl) #endif -#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/sparc/sparc32/fpu/s_signbitl.S b/sysdeps/sparc/sparc32/fpu/s_signbitl.S index 64813f19134..52f1baa2e9e 100644 --- a/sysdeps/sparc/sparc32/fpu/s_signbitl.S +++ b/sysdeps/sparc/sparc32/fpu/s_signbitl.S @@ -25,7 +25,7 @@ ENTRY (___signbitl) srl %o1, 31, %o0 END (___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/sparc/sparc32/sparcv9/fpu/s_isnan.S b/sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S index f2e40b12496..584204e6e25 100644 --- a/sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S +++ b/sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S @@ -32,7 +32,7 @@ END (__isnan) hidden_def (__isnan) weak_alias (__isnan, isnan) -#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/unix/sysv/linux/alpha/fraiseexcpt.S b/sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S index c5fa62bc996..b8f344e6117 100644 --- a/sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S +++ b/sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S @@ -46,7 +46,7 @@ ENTRY(__feraiseexcept) END(__feraiseexcept) cfi_endproc -#ifdef IS_IN_libm +#if IS_IN (libm) # include # if SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_2) strong_alias (__feraiseexcept, __old_feraiseexcept) -- 2.39.5