]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add libm_alias_finite for _finite symbols
authorWilco Dijkstra <Wilco.Dijkstra@arm.com>
Tue, 16 Jul 2019 15:17:22 +0000 (12:17 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 3 Jan 2020 13:02:04 +0000 (10:02 -0300)
This patch adds a new macro, libm_alias_finite, to define all _finite
symbol.  It sets all _finite symbol as compat symbol based on its first
version (obtained from the definition at built generated first-versions.h).

The <fn>f128_finite symbols were introduced in GLIBC 2.26 and so need
special treatment in code that is shared between long double and float128.
It is done by adding a list, similar to internal symbol redifinition,
on sysdeps/ieee754/float128/float128_private.h.

Alpha also needs some tricky changes to ensure we still emit 2 compat
symbols for sqrt(f).

Passes buildmanyglibc.

Co-authored-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
263 files changed:
math/e_exp10.c
math/e_exp10f.c
math/e_exp10l.c
math/e_scalb.c
math/e_scalbf.c
math/e_scalbl.c
sysdeps/aarch64/e_sqrtl.c
sysdeps/aarch64/fpu/e_sqrt.c
sysdeps/aarch64/fpu/e_sqrtf.c
sysdeps/alpha/alphaev6/fpu/e_sqrt.S
sysdeps/alpha/alphaev6/fpu/e_sqrtf.S
sysdeps/alpha/e_sqrtl.c
sysdeps/alpha/fpu/e_sqrt.c
sysdeps/alpha/fpu/e_sqrtf.c
sysdeps/arm/e_sqrt.c
sysdeps/arm/e_sqrtf.c
sysdeps/generic/math-type-macros.h
sysdeps/i386/fpu/e_acos.S
sysdeps/i386/fpu/e_acosf.S
sysdeps/i386/fpu/e_acosh.S
sysdeps/i386/fpu/e_acoshf.S
sysdeps/i386/fpu/e_acoshl.S
sysdeps/i386/fpu/e_acosl.c
sysdeps/i386/fpu/e_asin.S
sysdeps/i386/fpu/e_asinf.S
sysdeps/i386/fpu/e_atan2.S
sysdeps/i386/fpu/e_atan2f.S
sysdeps/i386/fpu/e_atan2l.c
sysdeps/i386/fpu/e_atanh.S
sysdeps/i386/fpu/e_atanhf.S
sysdeps/i386/fpu/e_atanhl.S
sysdeps/i386/fpu/e_exp.S
sysdeps/i386/fpu/e_exp10.S
sysdeps/i386/fpu/e_exp10f.S
sysdeps/i386/fpu/e_exp2.S
sysdeps/i386/fpu/e_exp2l.S
sysdeps/i386/fpu/e_expl.S
sysdeps/i386/fpu/e_fmod.S
sysdeps/i386/fpu/e_fmodf.S
sysdeps/i386/fpu/e_fmodl.c
sysdeps/i386/fpu/e_hypot.S
sysdeps/i386/fpu/e_hypotf.S
sysdeps/i386/fpu/e_log.S
sysdeps/i386/fpu/e_log10.S
sysdeps/i386/fpu/e_log10f.S
sysdeps/i386/fpu/e_log10l.S
sysdeps/i386/fpu/e_log2.S
sysdeps/i386/fpu/e_log2l.S
sysdeps/i386/fpu/e_logl.S
sysdeps/i386/fpu/e_pow.S
sysdeps/i386/fpu/e_powl.S
sysdeps/i386/fpu/e_remainder.S
sysdeps/i386/fpu/e_remainderf.S
sysdeps/i386/fpu/e_remainderl.S
sysdeps/i386/fpu/e_scalb.S
sysdeps/i386/fpu/e_scalbf.S
sysdeps/i386/fpu/e_scalbl.S
sysdeps/i386/fpu/e_sqrt.S
sysdeps/i386/fpu/e_sqrtf.S
sysdeps/i386/fpu/e_sqrtl.c
sysdeps/i386/i686/fpu/e_log.S
sysdeps/i386/i686/fpu/e_logl.S
sysdeps/i386/i686/fpu/multiarch/e_exp2f.c
sysdeps/i386/i686/fpu/multiarch/e_expf.c
sysdeps/i386/i686/fpu/multiarch/e_log2f.c
sysdeps/i386/i686/fpu/multiarch/e_logf.c
sysdeps/i386/i686/fpu/multiarch/e_powf.c
sysdeps/ieee754/dbl-64/e_acosh.c
sysdeps/ieee754/dbl-64/e_asin.c
sysdeps/ieee754/dbl-64/e_atan2.c
sysdeps/ieee754/dbl-64/e_atanh.c
sysdeps/ieee754/dbl-64/e_cosh.c
sysdeps/ieee754/dbl-64/e_exp.c
sysdeps/ieee754/dbl-64/e_exp10.c
sysdeps/ieee754/dbl-64/e_exp2.c
sysdeps/ieee754/dbl-64/e_fmod.c
sysdeps/ieee754/dbl-64/e_gamma_r.c
sysdeps/ieee754/dbl-64/e_hypot.c
sysdeps/ieee754/dbl-64/e_j0.c
sysdeps/ieee754/dbl-64/e_j1.c
sysdeps/ieee754/dbl-64/e_jn.c
sysdeps/ieee754/dbl-64/e_lgamma_r.c
sysdeps/ieee754/dbl-64/e_log.c
sysdeps/ieee754/dbl-64/e_log10.c
sysdeps/ieee754/dbl-64/e_log2.c
sysdeps/ieee754/dbl-64/e_pow.c
sysdeps/ieee754/dbl-64/e_remainder.c
sysdeps/ieee754/dbl-64/e_sinh.c
sysdeps/ieee754/dbl-64/e_sqrt.c
sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c
sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c
sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c
sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c
sysdeps/ieee754/float128/float128_private.h
sysdeps/ieee754/flt-32/e_acosf.c
sysdeps/ieee754/flt-32/e_acoshf.c
sysdeps/ieee754/flt-32/e_asinf.c
sysdeps/ieee754/flt-32/e_atan2f.c
sysdeps/ieee754/flt-32/e_atanhf.c
sysdeps/ieee754/flt-32/e_coshf.c
sysdeps/ieee754/flt-32/e_exp2f.c
sysdeps/ieee754/flt-32/e_expf.c
sysdeps/ieee754/flt-32/e_fmodf.c
sysdeps/ieee754/flt-32/e_gammaf_r.c
sysdeps/ieee754/flt-32/e_hypotf.c
sysdeps/ieee754/flt-32/e_j0f.c
sysdeps/ieee754/flt-32/e_j1f.c
sysdeps/ieee754/flt-32/e_jnf.c
sysdeps/ieee754/flt-32/e_lgammaf_r.c
sysdeps/ieee754/flt-32/e_log10f.c
sysdeps/ieee754/flt-32/e_log2f.c
sysdeps/ieee754/flt-32/e_logf.c
sysdeps/ieee754/flt-32/e_powf.c
sysdeps/ieee754/flt-32/e_remainderf.c
sysdeps/ieee754/flt-32/e_sinhf.c
sysdeps/ieee754/flt-32/e_sqrtf.c
sysdeps/ieee754/ldbl-128/e_acoshl.c
sysdeps/ieee754/ldbl-128/e_acosl.c
sysdeps/ieee754/ldbl-128/e_asinl.c
sysdeps/ieee754/ldbl-128/e_atan2l.c
sysdeps/ieee754/ldbl-128/e_atanhl.c
sysdeps/ieee754/ldbl-128/e_coshl.c
sysdeps/ieee754/ldbl-128/e_exp10l.c
sysdeps/ieee754/ldbl-128/e_expl.c
sysdeps/ieee754/ldbl-128/e_fmodl.c
sysdeps/ieee754/ldbl-128/e_gammal_r.c
sysdeps/ieee754/ldbl-128/e_hypotl.c
sysdeps/ieee754/ldbl-128/e_j0l.c
sysdeps/ieee754/ldbl-128/e_j1l.c
sysdeps/ieee754/ldbl-128/e_jnl.c
sysdeps/ieee754/ldbl-128/e_lgammal_r.c
sysdeps/ieee754/ldbl-128/e_log10l.c
sysdeps/ieee754/ldbl-128/e_log2l.c
sysdeps/ieee754/ldbl-128/e_logl.c
sysdeps/ieee754/ldbl-128/e_powl.c
sysdeps/ieee754/ldbl-128/e_remainderl.c
sysdeps/ieee754/ldbl-128/e_sinhl.c
sysdeps/ieee754/ldbl-128ibm/e_acoshl.c
sysdeps/ieee754/ldbl-128ibm/e_acosl.c
sysdeps/ieee754/ldbl-128ibm/e_asinl.c
sysdeps/ieee754/ldbl-128ibm/e_atan2l.c
sysdeps/ieee754/ldbl-128ibm/e_atanhl.c
sysdeps/ieee754/ldbl-128ibm/e_coshl.c
sysdeps/ieee754/ldbl-128ibm/e_exp10l.c
sysdeps/ieee754/ldbl-128ibm/e_expl.c
sysdeps/ieee754/ldbl-128ibm/e_fmodl.c
sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c
sysdeps/ieee754/ldbl-128ibm/e_hypotl.c
sysdeps/ieee754/ldbl-128ibm/e_j0l.c
sysdeps/ieee754/ldbl-128ibm/e_j1l.c
sysdeps/ieee754/ldbl-128ibm/e_jnl.c
sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
sysdeps/ieee754/ldbl-128ibm/e_log10l.c
sysdeps/ieee754/ldbl-128ibm/e_log2l.c
sysdeps/ieee754/ldbl-128ibm/e_logl.c
sysdeps/ieee754/ldbl-128ibm/e_powl.c
sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
sysdeps/ieee754/ldbl-128ibm/e_sinhl.c
sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c
sysdeps/ieee754/ldbl-96/e_acoshl.c
sysdeps/ieee754/ldbl-96/e_asinl.c
sysdeps/ieee754/ldbl-96/e_atanhl.c
sysdeps/ieee754/ldbl-96/e_coshl.c
sysdeps/ieee754/ldbl-96/e_gammal_r.c
sysdeps/ieee754/ldbl-96/e_hypotl.c
sysdeps/ieee754/ldbl-96/e_j0l.c
sysdeps/ieee754/ldbl-96/e_j1l.c
sysdeps/ieee754/ldbl-96/e_jnl.c
sysdeps/ieee754/ldbl-96/e_lgammal_r.c
sysdeps/ieee754/ldbl-96/e_sinhl.c
sysdeps/ieee754/libm-alias-finite.h [new file with mode: 0644]
sysdeps/m68k/coldfire/fpu/e_sqrt.c
sysdeps/m68k/coldfire/fpu/e_sqrtf.c
sysdeps/m68k/m680x0/fpu/e_acos.c
sysdeps/m68k/m680x0/fpu/e_acosf.c
sysdeps/m68k/m680x0/fpu/e_acosl.c
sysdeps/m68k/m680x0/fpu/e_asin.c
sysdeps/m68k/m680x0/fpu/e_asinf.c
sysdeps/m68k/m680x0/fpu/e_asinl.c
sysdeps/m68k/m680x0/fpu/e_atan2.c
sysdeps/m68k/m680x0/fpu/e_atanh.c
sysdeps/m68k/m680x0/fpu/e_atanhf.c
sysdeps/m68k/m680x0/fpu/e_atanhl.c
sysdeps/m68k/m680x0/fpu/e_cosh.c
sysdeps/m68k/m680x0/fpu/e_coshf.c
sysdeps/m68k/m680x0/fpu/e_coshl.c
sysdeps/m68k/m680x0/fpu/e_exp.c
sysdeps/m68k/m680x0/fpu/e_exp10.c
sysdeps/m68k/m680x0/fpu/e_exp10f.c
sysdeps/m68k/m680x0/fpu/e_exp10l.c
sysdeps/m68k/m680x0/fpu/e_exp2.c
sysdeps/m68k/m680x0/fpu/e_exp2f.c
sysdeps/m68k/m680x0/fpu/e_exp2l.c
sysdeps/m68k/m680x0/fpu/e_expf.c
sysdeps/m68k/m680x0/fpu/e_expl.c
sysdeps/m68k/m680x0/fpu/e_fmod.c
sysdeps/m68k/m680x0/fpu/e_fmodf.c
sysdeps/m68k/m680x0/fpu/e_fmodl.c
sysdeps/m68k/m680x0/fpu/e_log.c
sysdeps/m68k/m680x0/fpu/e_log10.c
sysdeps/m68k/m680x0/fpu/e_log10f.c
sysdeps/m68k/m680x0/fpu/e_log10l.c
sysdeps/m68k/m680x0/fpu/e_log2.c
sysdeps/m68k/m680x0/fpu/e_log2f.c
sysdeps/m68k/m680x0/fpu/e_log2l.c
sysdeps/m68k/m680x0/fpu/e_logf.c
sysdeps/m68k/m680x0/fpu/e_logl.c
sysdeps/m68k/m680x0/fpu/e_pow.c
sysdeps/m68k/m680x0/fpu/e_remainder.c
sysdeps/m68k/m680x0/fpu/e_remainderf.c
sysdeps/m68k/m680x0/fpu/e_remainderl.c
sysdeps/m68k/m680x0/fpu/e_scalb.c
sysdeps/m68k/m680x0/fpu/e_sinh.c
sysdeps/m68k/m680x0/fpu/e_sinhf.c
sysdeps/m68k/m680x0/fpu/e_sinhl.c
sysdeps/m68k/m680x0/fpu/e_sqrt.c
sysdeps/m68k/m680x0/fpu/e_sqrtf.c
sysdeps/m68k/m680x0/fpu/e_sqrtl.c
sysdeps/mips/fpu/e_sqrt.c
sysdeps/mips/fpu/e_sqrtf.c
sysdeps/mips/mips64/e_sqrtl.c
sysdeps/powerpc/fpu/e_hypot.c
sysdeps/powerpc/fpu/e_hypotf.c
sysdeps/powerpc/fpu/e_sqrt.c
sysdeps/powerpc/fpu/e_sqrtf.c
sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c
sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c
sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c
sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c
sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c
sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c
sysdeps/riscv/e_sqrtl.c
sysdeps/riscv/rvd/e_sqrt.c
sysdeps/riscv/rvf/e_sqrtf.c
sysdeps/s390/fpu/e_sqrt.c
sysdeps/s390/fpu/e_sqrtf.c
sysdeps/s390/fpu/e_sqrtl.c
sysdeps/sparc/sparc32/e_sqrt.c
sysdeps/sparc/sparc64/fpu/e_sqrtl.c
sysdeps/x86/fpu/e_sqrtf128.c
sysdeps/x86_64/fpu/e_exp2l.S
sysdeps/x86_64/fpu/e_expl.S
sysdeps/x86_64/fpu/e_fmodl.S
sysdeps/x86_64/fpu/e_log10l.S
sysdeps/x86_64/fpu/e_log2l.S
sysdeps/x86_64/fpu/e_logl.S
sysdeps/x86_64/fpu/e_powl.S
sysdeps/x86_64/fpu/e_remainderl.S
sysdeps/x86_64/fpu/e_scalbl.S
sysdeps/x86_64/fpu/e_sqrt.c
sysdeps/x86_64/fpu/e_sqrtf.c
sysdeps/x86_64/fpu/multiarch/e_asin.c
sysdeps/x86_64/fpu/multiarch/e_atan2.c
sysdeps/x86_64/fpu/multiarch/e_exp.c
sysdeps/x86_64/fpu/multiarch/e_exp2f.c
sysdeps/x86_64/fpu/multiarch/e_expf.c
sysdeps/x86_64/fpu/multiarch/e_log.c
sysdeps/x86_64/fpu/multiarch/e_log2f.c
sysdeps/x86_64/fpu/multiarch/e_logf.c
sysdeps/x86_64/fpu/multiarch/e_pow.c
sysdeps/x86_64/fpu/multiarch/e_powf.c

index 143287946d8165080a6661af17dba0abe2366806..73c3cf090b2eed1b217a4da6e517d4524f2372e9 100644 (file)
@@ -19,6 +19,7 @@
 #include <math.h>
 #include <math_private.h>
 #include <float.h>
+#include <libm-alias-finite.h>
 
 double
 __ieee754_exp10 (double arg)
@@ -30,4 +31,4 @@ __ieee754_exp10 (double arg)
        replaced sometime (soon?).  */
     return __ieee754_exp (M_LN10 * arg);
 }
-strong_alias (__ieee754_exp10, __exp10_finite)
+libm_alias_finite (__ieee754_exp10, __exp10)
index 5a06a1ecfe1ae647b315345301a7fef56c2eb9b4..93c41d00a64810c6594434c808abb4a6f94e546c 100644 (file)
@@ -18,7 +18,7 @@
 
 #include <math.h>
 #include <math_private.h>
-
+#include <libm-alias-finite.h>
 
 float
 __ieee754_exp10f (float arg)
@@ -29,4 +29,4 @@ __ieee754_exp10f (float arg)
      this.  */
   return __ieee754_exp (M_LN10 * arg);
 }
-strong_alias (__ieee754_exp10f, __exp10f_finite)
+libm_alias_finite (__ieee754_exp10f, __exp10f)
index ac56f98140ea93a1c9bbeb5c0fe925c66851a384..b33d6fea239ebc20caf8b2dec9b7d03909a0fc81 100644 (file)
@@ -19,6 +19,7 @@
 #include <math.h>
 #include <math_private.h>
 #include <float.h>
+#include <libm-alias-finite.h>
 
 long double
 __ieee754_exp10l (long double arg)
@@ -30,4 +31,4 @@ __ieee754_exp10l (long double arg)
        replaced sometime (soon?).  */
     return __ieee754_expl (M_LN10l * arg);
 }
-strong_alias (__ieee754_exp10l, __exp10l_finite)
+libm_alias_finite (__ieee754_exp10, __exp10)
index e5e8e29d8419a46a70047ae9339462125472cbf4..dbe3b51d6a5804d645e7191a8a687350d61f7284 100644 (file)
@@ -18,7 +18,7 @@
 
 #include <math.h>
 #include <math_private.h>
-
+#include <libm-alias-finite.h>
 
 static double
 __attribute__ ((noinline))
@@ -51,4 +51,4 @@ __ieee754_scalb (double x, double fn)
 
   return __scalbn (x, (int) fn);
 }
-strong_alias (__ieee754_scalb, __scalb_finite)
+libm_alias_finite (__ieee754_scalb, __scalb)
index 3c68787c121239f27ab0a97c48e151137b23bc20..944cfbefc999b72d2e0d81e96112dcf7b07585b1 100644 (file)
@@ -18,7 +18,7 @@
 
 #include <math.h>
 #include <math_private.h>
-
+#include <libm-alias-finite.h>
 
 static float
 __attribute__ ((noinline))
@@ -51,4 +51,4 @@ __ieee754_scalbf (float x, float fn)
 
   return __scalbnf (x, (int) fn);
 }
-strong_alias (__ieee754_scalbf, __scalbf_finite)
+libm_alias_finite (__ieee754_scalbf, __scalbf)
index 9e9bc6c3327ce6f64b09d8539a7d4b34bd97ebf3..6595ec6c277a219081f10cf81cbf5fed69c1d690 100644 (file)
@@ -18,7 +18,7 @@
 
 #include <math.h>
 #include <math_private.h>
-
+#include <libm-alias-finite.h>
 
 static long double
 __attribute__ ((noinline))
@@ -51,4 +51,4 @@ __ieee754_scalbl (long double x, long double fn)
 
   return __scalbnl (x, (int) fn);
 }
-strong_alias (__ieee754_scalbl, __scalbl_finite)
+libm_alias_finite (__ieee754_scalbl, __scalbl)
index 0af9ec80a3c3403dd039625fd1eadeec0d9abcd9..87b26382d1f1269b28608a6674011919bca99610 100644 (file)
@@ -21,6 +21,7 @@
 #include <stdlib.h>
 #include <soft-fp.h>
 #include <quad.h>
+#include <libm-alias-finite.h>
 
 long double
 __ieee754_sqrtl (const long double a)
@@ -36,4 +37,4 @@ __ieee754_sqrtl (const long double a)
   FP_HANDLE_EXCEPTIONS;
   return c;
 }
-strong_alias (__ieee754_sqrtl, __sqrtl_finite)
+libm_alias_finite (__ieee754_sqrtl, __sqrtl)
index 8614606c632adb916a78101ee2a9c3306861f9d9..abb67ef7b061aeb1a7fa7e61a1cbf1c9b4a0b7fd 100644 (file)
    <https://www.gnu.org/licenses/>.  */
 
 #include <math_private.h>
+#include <libm-alias-finite.h>
 
 double
 __ieee754_sqrt (double d)
 {
   return __builtin_sqrt (d);
 }
-strong_alias (__ieee754_sqrt, __sqrt_finite)
+libm_alias_finite (__ieee754_sqrt, __sqrt)
index 6a5026df20dccc0adcf4b17ad382e792f424ed71..13008a4f45d605930198b5593ef8d515dce7d7ba 100644 (file)
    <https://www.gnu.org/licenses/>.  */
 
 #include <math_private.h>
+#include <libm-alias-finite.h>
 
 float
 __ieee754_sqrtf (float s)
 {
   return __builtin_sqrtf (s);
 }
-strong_alias (__ieee754_sqrtf, __sqrtf_finite)
+libm_alias_finite (__ieee754_sqrtf, __sqrtf)
index 90ff4bc8e27f8b748376244f556348ff55d79756..33596e2ed31be7795fb0fb90b2a5436e2e0074b8 100644 (file)
@@ -45,9 +45,9 @@ ENTRY(__ieee754_sqrt)
 END(__ieee754_sqrt)
 
 #if SHLIB_COMPAT (libm, GLIBC_2_15, GLIBC_2_18)
-strong_alias(__ieee754_sqrt, __sqrt_finite1)
-compat_symbol(libm, __sqrt_finite1, __sqrt_finite, GLIBC_2_15)
-versioned_symbol(libm, __ieee754_sqrt, __sqrt_finite, GLIBC_2_18)
-#else
-strong_alias(__ieee754_sqrt, __sqrt_finite)
+strong_alias(__ieee754_sqrt, __sqrt_dummy)
+compat_symbol(libm, __sqrt_dummy, __sqrt_finite, GLIBC_2_15)
+#endif
+#if SHLIB_COMPAT (libm, GLIBC_2_18, GLIBC_2_31)
+compat_symbol(libm, __ieee754_sqrt, __sqrt_finite, GLIBC_2_18)
 #endif
index e537fb20af2759cda5b539c8cfdea845fefe02fd..36e04cce38a2d630cd831d360848e080de100196 100644 (file)
@@ -45,9 +45,9 @@ ENTRY(__ieee754_sqrtf)
 END(__ieee754_sqrtf)
 
 #if SHLIB_COMPAT (libm, GLIBC_2_15, GLIBC_2_18)
-strong_alias(__ieee754_sqrtf, __sqrtf_finite1)
-compat_symbol(libm, __sqrtf_finite1, __sqrtf_finite, GLIBC_2_15)
-versioned_symbol(libm, __ieee754_sqrtf, __sqrtf_finite, GLIBC_2_18)
-#else
-strong_alias(__ieee754_sqrtf, __sqrtf_finite)
+strong_alias(__ieee754_sqrtf, __sqrtf_dummy)
+compat_symbol(libm, __sqrtf_dummy, __sqrtf_finite, GLIBC_2_15)
+#endif
+#if SHLIB_COMPAT (libm, GLIBC_2_18, GLIBC_2_31)
+compat_symbol(libm, __ieee754_sqrtf, __sqrtf_finite, GLIBC_2_18)
 #endif
index 1c73f32257a79ce112a8136f41fb8758576b14dc..872efa72b62e15b5b0d3f7e5cd4e72ce2266133e 100644 (file)
@@ -43,7 +43,5 @@ __ieee754_sqrtl (const long double a)
    straight-forward as just adding the alias, since a generic Versions file
    includes the 2.15 version and the linker uses the first one it sees.  */
 #if SHLIB_COMPAT (libm, GLIBC_2_15, GLIBC_2_18)
-versioned_symbol (libm, __ieee754_sqrtl, __sqrtl_finite, GLIBC_2_18);
-#else
-strong_alias(__ieee754_sqrtl, __sqrtl_finite)
+compat_symbol (libm, __ieee754_sqrtl, __sqrtl_finite, GLIBC_2_18);
 #endif
index 645330852a8ee34f6a88f0862ec85bde83493c58..4cf2ad693a3c436a3d2f8665791ce7b910d9f443 100644 (file)
@@ -158,30 +158,29 @@ $fixup:                                                                   \n\
                                                                        \n\
        .end    __ieee754_sqrt");
 
-/* Avoid the __sqrt_finite alias that dbl-64/e_sqrt.c would give...  */
-#undef strong_alias
-#define strong_alias(a,b)
-
-/* ... defining our own.  */
 #if SHLIB_COMPAT (libm, GLIBC_2_15, GLIBC_2_18)
-asm (".global  __sqrt_finite1; __sqrt_finite1 = __ieee754_sqrt");
+asm (".global  __sqrt_dummy; __sqrt_dummy = __ieee754_sqrt");
 #else
-asm (".global  __sqrt_finite; __sqrt_finite = __ieee754_sqrt");
+asm (".global  __sqrt_finite; __sqrt_finite = __ieee754_sqrt");
 #endif
 
 static double __full_ieee754_sqrt(double) __attribute_used__;
 #define __ieee754_sqrt __full_ieee754_sqrt
 
 #elif SHLIB_COMPAT (libm, GLIBC_2_15, GLIBC_2_18)
-# define __sqrt_finite __sqrt_finite1
+
+strong_alias (__ieee754_sqrt, __sqrt_dummy)
+#define __ieee754_sqrt __ieee754_sqrt
+
 #endif /* _IEEE_FP_INEXACT */
 
 #include <sysdeps/ieee754/dbl-64/e_sqrt.c>
+#undef __ieee754_sqrt
 
 /* Work around forgotten symbol in alphaev6 build.  */
 #if SHLIB_COMPAT (libm, GLIBC_2_15, GLIBC_2_18)
-# undef __sqrt_finite
-# undef __ieee754_sqrt
-compat_symbol (libm, __sqrt_finite1, __sqrt_finite, GLIBC_2_15);
-versioned_symbol (libm, __ieee754_sqrt, __sqrt_finite, GLIBC_2_18);
+compat_symbol (libm, __sqrt_dummy, __sqrt_finite, GLIBC_2_15);
+#endif
+#if SHLIB_COMPAT (libm, GLIBC_2_18, GLIBC_2_31)
+compat_symbol (libm, __ieee754_sqrt, __sqrt_finite, GLIBC_2_18);
 #endif
index ad523f5cf256eb0de78616ea1207995b75c84afb..eb3f9685760b92f6b84b0e6589bb24d9d1d7f20a 100644 (file)
@@ -1,14 +1,13 @@
 #include <shlib-compat.h>
 
-#if SHLIB_COMPAT (libm, GLIBC_2_15, GLIBC_2_18)
-# define __sqrtf_finite __sqrtf_finite1
-#endif
-
+#define __ieee754_sqrtf __ieee754_sqrtf
 #include <sysdeps/ieee754/flt-32/e_sqrtf.c>
 
 /* Work around forgotten symbol in alphaev6 build.  */
 #if SHLIB_COMPAT (libm, GLIBC_2_15, GLIBC_2_18)
-# undef __sqrtf_finite
-compat_symbol (libm, __sqrtf_finite1, __sqrtf_finite, GLIBC_2_15);
-versioned_symbol (libm, __ieee754_sqrtf, __sqrtf_finite, GLIBC_2_18);
+strong_alias(__ieee754_sqrtf, __sqrtf_dummy)
+compat_symbol (libm, __sqrtf_dummy, __sqrtf_finite, GLIBC_2_15);
+#endif
+#if SHLIB_COMPAT (libm, GLIBC_2_18, GLIBC_2_31)
+compat_symbol (libm, __ieee754_sqrtf, __sqrtf_finite, GLIBC_2_18);
 #endif
index 065cbdba570c242aec4b20a2f0f3d42ab4bf8563..d264c4263b38c613fb6782ef0c7de3ac365b5eb8 100644 (file)
@@ -26,6 +26,7 @@
 /* Use VFP square root instruction.  */
 # include <math.h>
 # include <sysdep.h>
+# include <libm-alias-finite.h>
 
 double
 __ieee754_sqrt (double x)
@@ -40,6 +41,6 @@ __ieee754_sqrt (double x)
 # endif
   return ret;
 }
-strong_alias (__ieee754_sqrt, __sqrt_finite)
+libm_alias_finite (__ieee754_sqrt, __sqrt)
 
 #endif
index 80fead10231b51c2562a6fff77e3051fa3dea4c3..c3f31119a3dddb1ec76a7bf43cab058d79341a0a 100644 (file)
@@ -26,6 +26,7 @@
 /* Use VFP square root instruction.  */
 # include <math.h>
 # include <sysdep.h>
+# include <libm-alias-finite.h>
 
 float
 __ieee754_sqrtf (float x)
@@ -40,6 +41,6 @@ __ieee754_sqrtf (float x)
 # endif
   return ret;
 }
-strong_alias (__ieee754_sqrtf, __sqrtf_finite)
+libm_alias_finite (__ieee754_sqrtf, __sqrtf)
 
 #endif
index 08d8125fc63494ff280e48b10d82cdcc5e19b3ad..0309dd29e128b716fd8be2a99449d3cbb2570d0d 100644 (file)
@@ -75,8 +75,8 @@
 #endif
 
 #ifndef declare_mgen_finite_alias_x
-#define declare_mgen_finite_alias_x(from, to)  \
-  strong_alias (from, to ## _finite)
+#define declare_mgen_finite_alias_x(from, to)   \
+  libm_alias_finite (from, to)
 #endif
 
 #ifndef declare_mgen_finite_alias_s
 
 /* Needed to evaluate M_MANT_DIG below.  */
 #include <float.h>
+#include <libm-alias-finite.h>
 
 /* Use a special epsilon value for IBM long double
    to avoid spurious overflows/underflows.  */
index 586c7fc406b1867f62379d25c748bb206606aba0..9d9825da7366c9137c2d0729eb36442796bfe0f5 100644 (file)
@@ -4,6 +4,7 @@
  */
 
 #include <machine/asm.h>
+#include <libm-alias-finite.h>
 
 RCSID("$NetBSD: e_acos.S,v 1.4 1995/05/08 23:44:37 jtc Exp $")
 
@@ -22,4 +23,4 @@ ENTRY(__ieee754_acos)
        fpatan                          /* atan (sqrt(1 - x^2) / x) */
        ret
 END (__ieee754_acos)
-strong_alias (__ieee754_acos, __acos_finite)
+libm_alias_finite (__ieee754_acos, __acos)
index 54930af8b2a66e3df87a0c936dafb8c179fef71a..cf2b75daf1e2e6c0929c37114b3b720221fc3889 100644 (file)
@@ -5,6 +5,7 @@
  */
 
 #include <machine/asm.h>
+#include <libm-alias-finite.h>
 
 RCSID("$NetBSD: $")
 
@@ -21,4 +22,4 @@ ENTRY(__ieee754_acosf)
        fpatan
        ret
 END (__ieee754_acosf)
-strong_alias (__ieee754_acosf, __acosf_finite)
+libm_alias_finite (__ieee754_acosf, __acosf)
index 86298af18143d98879fd780975426e0d2e437fdc..23ee9f5087cc8f52a4be48e2cca22541476dfe79 100644 (file)
@@ -18,6 +18,7 @@
    <https://www.gnu.org/licenses/>.  */
 
 #include <machine/asm.h>
+#include <libm-alias-finite.h>
 
        .section .rodata.cst8,"aM",@progbits,8
 
@@ -98,4 +99,4 @@ ENTRY(__ieee754_acosh)
        fdiv    %st, %st(0)
        ret
 END(__ieee754_acosh)
-strong_alias (__ieee754_acosh, __acosh_finite)
+libm_alias_finite (__ieee754_acosh, __acosh)
index 2e1478dddf4061cd45da187b6d97a075539c2ed3..919f090ade6ae9e83623cad7211b869a0e1b00ce 100644 (file)
@@ -18,6 +18,7 @@
    <https://www.gnu.org/licenses/>.  */
 
 #include <machine/asm.h>
+#include <libm-alias-finite.h>
 
        .section .rodata.cst8,"aM",@progbits,8
 
@@ -98,4 +99,4 @@ ENTRY(__ieee754_acoshf)
        fdiv    %st, %st(0)
        ret
 END(__ieee754_acoshf)
-strong_alias (__ieee754_acoshf, __acoshf_finite)
+libm_alias_finite (__ieee754_acoshf, __acoshf)
index fe7dd4b685a839cffc6efa89465037334d15262e..d22a536655af96860d0c485ecebd6d37a21a370d 100644 (file)
@@ -18,6 +18,7 @@
    <https://www.gnu.org/licenses/>.  */
 
 #include <machine/asm.h>
+#include <libm-alias-finite.h>
 
        .section .rodata.cst8,"aM",@progbits,8
 
@@ -104,4 +105,4 @@ ENTRY(__ieee754_acoshl)
        fdiv    %st, %st(0)
        ret
 END(__ieee754_acoshl)
-strong_alias (__ieee754_acoshl, __acoshl_finite)
+libm_alias_finite (__ieee754_acoshl, __acoshl)
index ab0893192490923b471a83733474b2f89c5ee323..b99088ac04394a132fc6d3013666514b54710b83 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <math_private.h>
+#include <libm-alias-finite.h>
 
 long double
 __ieee754_acosl (long double x)
@@ -26,4 +27,4 @@ __ieee754_acosl (long double x)
        : "=t" (res) : "0" (x) : "st(1)");
   return res;
 }
-strong_alias (__ieee754_acosl, __acosl_finite)
+libm_alias_finite (__ieee754_acosl, __acosl)
index 39c8b47da4dc81dfd7fbdec1f090fb12b5e2a2f9..74028c7c9a68d568ed703f68ccae19906656b921 100644 (file)
@@ -5,6 +5,7 @@
 
 #include <machine/asm.h>
 #include <i386-math-asm.h>
+#include <libm-alias-finite.h>
 
 RCSID("$NetBSD: e_asin.S,v 1.4 1995/05/08 23:45:40 jtc Exp $")
 
@@ -35,4 +36,4 @@ ENTRY(__ieee754_asin)
        DBL_CHECK_FORCE_UFLOW
        ret
 END (__ieee754_asin)
-strong_alias (__ieee754_asin, __asin_finite)
+libm_alias_finite (__ieee754_asin, __asin)
index 1102bdedfd327d3b31b8dcdb0974789a9a55cb99..7e378433d580184c1db069929099d25b6202fc38 100644 (file)
@@ -6,6 +6,7 @@
 
 #include <machine/asm.h>
 #include <i386-math-asm.h>
+#include <libm-alias-finite.h>
 
 RCSID("$NetBSD: $")
 
@@ -36,4 +37,4 @@ ENTRY(__ieee754_asinf)
        FLT_CHECK_FORCE_UFLOW
        ret
 END (__ieee754_asinf)
-strong_alias (__ieee754_asinf, __asinf_finite)
+libm_alias_finite (__ieee754_asinf, __asinf)
index 25f43bb5a12a5a20514eb5b4b07bb690c2e758da..d6b550f4a1900bfbddc0fe9dc9acc6c8c3df7602 100644 (file)
@@ -5,6 +5,7 @@
 
 #include <machine/asm.h>
 #include <i386-math-asm.h>
+#include <libm-alias-finite.h>
 
 RCSID("$NetBSD: e_atan2.S,v 1.4 1995/05/08 23:46:28 jtc Exp $")
 
@@ -27,4 +28,4 @@ ENTRY(__ieee754_atan2)
        DBL_CHECK_FORCE_UFLOW_NARROW
        ret
 END (__ieee754_atan2)
-strong_alias (__ieee754_atan2, __atan2_finite)
+libm_alias_finite (__ieee754_atan2, __atan2)
index 2bc909a76288a412bd30492cea5cccd1e0e72941..d237fee077404346e24f436f916a8f6df47f36dd 100644 (file)
@@ -5,6 +5,7 @@
 
 #include <machine/asm.h>
 #include <i386-math-asm.h>
+#include <libm-alias-finite.h>
 
 RCSID("$NetBSD: e_atan2f.S,v 1.1 1995/05/08 23:35:10 jtc Exp $")
 
@@ -27,4 +28,4 @@ ENTRY(__ieee754_atan2f)
        FLT_CHECK_FORCE_UFLOW_NARROW
        ret
 END (__ieee754_atan2f)
-strong_alias (__ieee754_atan2f, __atan2f_finite)
+libm_alias_finite (__ieee754_atan2f, __atan2f)
index 9f88bfcc08f1cf62674a20cf3322b38264fbeb61..531f9b2b6962eb17fbea3c124a17f1db7bdf261a 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <math_private.h>
+#include <libm-alias-finite.h>
 
 long double
 __ieee754_atan2l (long double y, long double x)
@@ -16,4 +17,4 @@ __ieee754_atan2l (long double y, long double x)
 
   return res;
 }
-strong_alias (__ieee754_atan2l, __atan2l_finite)
+libm_alias_finite (__ieee754_atan2l, __atan2l)
index 104830d4a0ef6628e3bd933351b57484feb56197..f75b3e199462ac18f69f41c2bac22b96fa497302 100644 (file)
@@ -19,6 +19,7 @@
 
 #include <machine/asm.h>
 #include <i386-math-asm.h>
+#include <libm-alias-finite.h>
 
        .section .rodata
 
@@ -109,4 +110,4 @@ ENTRY(__ieee754_atanh)
 6:     fldl    4(%esp)
        ret
 END(__ieee754_atanh)
-strong_alias (__ieee754_atanh, __atanh_finite)
+libm_alias_finite (__ieee754_atanh, __atanh)
index e9bc5ffbca88a88eecf07b0ca36b38d74241d6a3..42879a5168aa795d30bc6e3baa5e1dc43fc20dab 100644 (file)
@@ -19,6 +19,7 @@
 
 #include <machine/asm.h>
 #include <i386-math-asm.h>
+#include <libm-alias-finite.h>
 
        .section .rodata
 
@@ -106,4 +107,4 @@ ENTRY(__ieee754_atanhf)
 5:     flds    4(%esp)
        ret
 END(__ieee754_atanhf)
-strong_alias (__ieee754_atanhf, __atanhf_finite)
+libm_alias_finite (__ieee754_atanhf, __atanhf)
index 0f537c3bf85060dafaf83e22df56db9ab696b122..c8bb38287b18ac5880a89807ad244574edec04c2 100644 (file)
@@ -18,6 +18,7 @@
    <https://www.gnu.org/licenses/>.  */
 
 #include <machine/asm.h>
+#include <libm-alias-finite.h>
 
        .section .rodata
 
@@ -124,4 +125,4 @@ ENTRY(__ieee754_atanhl)
        fadd    %st(0)
        ret
 END(__ieee754_atanhl)
-strong_alias (__ieee754_atanhl, __atanhl_finite)
+libm_alias_finite (__ieee754_atanhl, __atanhl)
index a7e7f13f6fe99f5ae907fac60575a9fdc505864e..b9fd62f1ced5876ba80c5c179eaecd5b8ccdfd45 100644 (file)
@@ -5,6 +5,7 @@
 
 #include <machine/asm.h>
 #include <i386-math-asm.h>
+#include <libm-alias-finite.h>
 
 DEFINE_DBL_MIN
 
@@ -71,3 +72,4 @@ ENTRY(__exp_finite)
        DBL_NARROW_EVAL_UFLOW_NONNEG
        ret
 END(__exp_finite)
+libm_alias_finite (__exp_finite, __exp)
index acb5160a3ff9b1544399d17a83e97be1a6c50850..2758a731842eed87baecc1e664888c4a1ecc74dc 100644 (file)
@@ -4,6 +4,7 @@
 
 #include <machine/asm.h>
 #include <i386-math-asm.h>
+#include <libm-alias-finite.h>
 
 DEFINE_DBL_MIN
 
@@ -50,4 +51,4 @@ ENTRY(__ieee754_exp10)
        fldz                            /* Set result to 0.  */
 2:     ret
 END (__ieee754_exp10)
-strong_alias (__ieee754_exp10, __exp10_finite)
+libm_alias_finite (__ieee754_exp10, __exp10)
index 1812b34398fa4d48e51ef059c5348f455514407c..196ce8744a0a83800f762547f169d9d22b9561ae 100644 (file)
@@ -4,6 +4,7 @@
 
 #include <machine/asm.h>
 #include <i386-math-asm.h>
+#include <libm-alias-finite.h>
 
 DEFINE_FLT_MIN
 
@@ -50,4 +51,4 @@ ENTRY(__ieee754_exp10f)
        fldz                            /* Set result to 0.  */
 2:     ret
 END (__ieee754_exp10f)
-strong_alias (__ieee754_exp10f, __exp10f_finite)
+libm_alias_finite (__ieee754_exp10f, __exp10f)
index fc16a9605389555c5397de1b2994845b8d0a1263..0939f7d071437068671e7d23dc6ab44e58645b9d 100644 (file)
@@ -6,6 +6,7 @@
 
 #include <machine/asm.h>
 #include <i386-math-asm.h>
+#include <libm-alias-finite.h>
 
 DEFINE_DBL_MIN
 
@@ -49,4 +50,4 @@ ENTRY(__ieee754_exp2)
        fldz                            /* Set result to 0.  */
 2:     ret
 END (__ieee754_exp2)
-strong_alias (__ieee754_exp2, __exp2_finite)
+libm_alias_finite (__ieee754_exp2, __exp2)
index c4cb73d589b09627c718e989e37db57194311ceb..6cf28a793bff320e0d0bfc6bd524ae17c37043e2 100644 (file)
@@ -6,6 +6,7 @@
 
 #include <machine/asm.h>
 #include <i386-math-asm.h>
+#include <libm-alias-finite.h>
 
 DEFINE_LDBL_MIN
 
@@ -57,4 +58,4 @@ ENTRY(__ieee754_exp2l)
        fldz                            /* Set result to 0.  */
 2:     ret
 END (__ieee754_exp2l)
-strong_alias (__ieee754_exp2l, __exp2l_finite)
+libm_alias_finite (__ieee754_exp2l, __exp2l)
index 18a627e9da956ffb132f816dea0b79e7ded2552b..a7c459e2c0e4e01e3e76a7dc9aebc4c34b2f60f5 100644 (file)
 #include <libm-alias-ldouble.h>
 #include <machine/asm.h>
 #include <i386-math-asm.h>
+#include <libm-alias-finite.h>
 
 #ifdef USE_AS_EXP10L
 # define IEEE754_EXPL __ieee754_exp10l
-# define EXPL_FINITE __exp10l_finite
 # define FLDLOG fldl2t
 #elif defined USE_AS_EXPM1L
 # define IEEE754_EXPL __expm1l
-# undef EXPL_FINITE
 # define FLDLOG fldl2e
 #else
 # define IEEE754_EXPL __ieee754_expl
-# define EXPL_FINITE __expl_finite
 # define FLDLOG fldl2e
 #endif
 
@@ -219,9 +217,12 @@ ENTRY(IEEE754_EXPL)
        fadd    %st
        ret
 END(IEEE754_EXPL)
+
 #ifdef USE_AS_EXPM1L
 libm_hidden_def (__expm1l)
 libm_alias_ldouble (__expm1, expm1)
+#elif defined USE_AS_EXP10L
+libm_alias_finite (__ieee754_exp10l, __exp10l)
 #else
-strong_alias (IEEE754_EXPL, EXPL_FINITE)
+libm_alias_finite (__ieee754_expl, __expl)
 #endif
index 26b3acc392e8c2896c8fc353de4be26ebb7551e1..93f20e5c4da5e3db531390a0bd9af7d9d7196dda 100644 (file)
@@ -4,6 +4,7 @@
  */
 
 #include <machine/asm.h>
+#include <libm-alias-finite.h>
 
 ENTRY(__ieee754_fmod)
        fldl    12(%esp)
@@ -15,4 +16,4 @@ ENTRY(__ieee754_fmod)
        fstp    %st(1)
        ret
 END (__ieee754_fmod)
-strong_alias (__ieee754_fmod, __fmod_finite)
+libm_alias_finite (__ieee754_fmod, __fmod)
index ece4d984273011dbdfaac1b40e02813a2afe37c2..8adc8d5c03a9bbc0d5d6ea33f808ff414db31d81 100644 (file)
@@ -5,6 +5,7 @@
  */
 
 #include <machine/asm.h>
+#include <libm-alias-finite.h>
 
 ENTRY(__ieee754_fmodf)
        flds    8(%esp)
@@ -16,4 +17,4 @@ ENTRY(__ieee754_fmodf)
        fstp    %st(1)
        ret
 END(__ieee754_fmodf)
-strong_alias (__ieee754_fmodf, __fmodf_finite)
+libm_alias_finite (__ieee754_fmodf, __fmodf)
index 49700ae8f648c7dd29cb120f64dffdc59b92a900..44765398b7fb922cc0cd6836fe55a138d8be09a1 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <math_private.h>
+#include <libm-alias-finite.h>
 
 long double
 __ieee754_fmodl (long double x, long double y)
@@ -20,4 +21,4 @@ __ieee754_fmodl (long double x, long double y)
        : "=t" (res) : "0" (x), "u" (y) : "ax", "st(1)");
   return res;
 }
-strong_alias (__ieee754_fmodl, __fmodl_finite)
+libm_alias_finite (__ieee754_fmodl, __fmodl)
index 310c04ecec6849d483f32577006de280dfedce1a..3301c4eb7634c68cbb64f2fee023222b12688cad 100644 (file)
@@ -19,6 +19,7 @@
 
 #include <sysdep.h>
 #include <i386-math-asm.h>
+#include <libm-alias-finite.h>
 
 DEFINE_DBL_MIN
 
@@ -72,4 +73,4 @@ ENTRY(__ieee754_hypot)
        jmp     2b
 
 END(__ieee754_hypot)
-strong_alias (__ieee754_hypot, __hypot_finite)
+libm_alias_finite (__ieee754_hypot, __hypot)
index b9fb6fe537a918404fb1473f0148810a73e0300d..a7345dce634a6f3019fdfb16fb609d5801f71658 100644 (file)
@@ -19,6 +19,7 @@
 
 #include <sysdep.h>
 #include <i386-math-asm.h>
+#include <libm-alias-finite.h>
 
        .text
 ENTRY(__ieee754_hypotf)
@@ -61,4 +62,4 @@ ENTRY(__ieee754_hypotf)
        jmp     2b
 
 END(__ieee754_hypotf)
-strong_alias (__ieee754_hypotf, __hypotf_finite)
+libm_alias_finite (__ieee754_hypotf, __hypotf)
index 335df2257712b834dee7a2531e392e3acc844bab..9d2195ecd4dcd4cdcdda41d1438db344287811b2 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <machine/asm.h>
+#include <libm-alias-finite.h>
 
        .section .rodata.cst8,"aM",@progbits,8
 
@@ -90,3 +91,4 @@ ENTRY(__log_finite)
        fyl2xp1                 // log(x)
        ret
 END(__log_finite)
+libm_alias_finite (__log_finite, __log)
index 17277084ca9858cd4868ca0342b6b64d078ebc02..ead30d89920a87f0e17336e1c2eb15bf74fbde75 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <machine/asm.h>
+#include <libm-alias-finite.h>
 
        .section .rodata.cst8,"aM",@progbits,8
 
@@ -65,4 +66,4 @@ ENTRY(__ieee754_log10)
        fstp    %st(1)
        ret
 END (__ieee754_log10)
-strong_alias (__ieee754_log10, __log10_finite)
+libm_alias_finite (__ieee754_log10, __log10)
index 72a3b882518dcc48aa90d0d8f8dc92d3f90434d9..54bc82d57ffc80bbc4646ccd9378d4425ea2a96c 100644 (file)
@@ -7,6 +7,7 @@
  */
 
 #include <machine/asm.h>
+#include <libm-alias-finite.h>
 
        .section .rodata.cst8,"aM",@progbits,8
 
@@ -66,4 +67,4 @@ ENTRY(__ieee754_log10f)
        fstp    %st(1)
        ret
 END (__ieee754_log10f)
-strong_alias (__ieee754_log10f, __log10f_finite)
+libm_alias_finite (__ieee754_log10f, __log10f)
index 9326b197961abcfb1fbc995d74e07ee05ee43f0b..cd57a5d75fbada6df458160c9838d827df34fb25 100644 (file)
@@ -8,6 +8,7 @@
  */
 
 #include <machine/asm.h>
+#include <libm-alias-finite.h>
 
        .section .rodata.cst8,"aM",@progbits,8
 
@@ -68,4 +69,4 @@ ENTRY(__ieee754_log10l)
        fadd    %st(0)
        ret
 END(__ieee754_log10l)
-strong_alias (__ieee754_log10l, __log10l_finite)
+libm_alias_finite (__ieee754_log10l, __log10l)
index 73ff0fffd386e6fb0714b63a7fd2885db51dbf5a..57725cdb60b46f6941229087037f5e370a4e8551 100644 (file)
@@ -7,6 +7,7 @@
  */
 
 #include <machine/asm.h>
+#include <libm-alias-finite.h>
 
        .section .rodata.cst8,"aM",@progbits,8
 
@@ -66,4 +67,4 @@ ENTRY(__ieee754_log2)
        fstp    %st(1)
        ret
 END (__ieee754_log2)
-strong_alias (__ieee754_log2, __log2_finite)
+libm_alias_finite (__ieee754_log2, __log2)
index 73e62ea908e316aa279531faf632ca8f62543a5a..82decffe8a256e376dd512dd71257039695d18f5 100644 (file)
@@ -7,6 +7,7 @@
  */
 
 #include <machine/asm.h>
+#include <libm-alias-finite.h>
 
        .section .rodata.cst8,"aM",@progbits,8
 
@@ -67,4 +68,4 @@ ENTRY(__ieee754_log2l)
        fadd    %st(0)
        ret
 END (__ieee754_log2l)
-strong_alias (__ieee754_log2l, __log2l_finite)
+libm_alias_finite (__ieee754_log2l, __log2l)
index 53127d704e7a22f5b9dcc11577a8be996534e22e..3e019cc911bc7310a512a7e45a5e1e5d39704046 100644 (file)
@@ -6,7 +6,7 @@
  */
 
 #include <machine/asm.h>
-
+#include <libm-alias-finite.h>
 
        .section .rodata.cst8,"aM",@progbits,8
 
@@ -95,3 +95,4 @@ ENTRY(__logl_finite)
        fyl2xp1                 // log(x)
        ret
 END(__logl_finite)
+libm_alias_finite (__logl_finite, __logl)
index 9751ed2d5b5bc9c763f64cdfad4d85df3f04fe1a..da41ed164169cfacc425dc4c99724dd64ab6f883 100644 (file)
@@ -19,6 +19,7 @@
 
 #include <machine/asm.h>
 #include <i386-math-asm.h>
+#include <libm-alias-finite.h>
 
        .section .rodata.cst8,"aM",@progbits,8
 
@@ -453,4 +454,4 @@ ENTRY(__ieee754_pow)
        ret
 
 END(__ieee754_pow)
-strong_alias (__ieee754_pow, __pow_finite)
+libm_alias_finite (__ieee754_pow, __pow)
index 260bbaad4252ca6d168db27e4a4b4e5b2e847145..386ff57025b57cd6f01aa48de10c03128d34d26a 100644 (file)
@@ -19,6 +19,7 @@
 
 #include <machine/asm.h>
 #include <i386-math-asm.h>
+#include <libm-alias-finite.h>
 
        .section .rodata.cst8,"aM",@progbits,8
 
@@ -456,4 +457,4 @@ ENTRY(__ieee754_powl)
        ret
 
 END(__ieee754_powl)
-strong_alias (__ieee754_powl, __powl_finite)
+libm_alias_finite (__ieee754_powl, __powl)
index f7867aa90b26f5547bb89d399c23bbfc7c7d32d5..5b71e9198de05305cef237fc511bed71ef89859b 100644 (file)
@@ -4,6 +4,7 @@
  */
 
 #include <machine/asm.h>
+#include <libm-alias-finite.h>
 
 ENTRY(__ieee754_remainder)
        fldl    12(%esp)
@@ -15,4 +16,4 @@ ENTRY(__ieee754_remainder)
        fstp    %st(1)
        ret
 END (__ieee754_remainder)
-strong_alias (__ieee754_remainder, __remainder_finite)
+libm_alias_finite (__ieee754_remainder, __remainder)
index cfd390bc69c84d61b32e09891ce51161f1277072..2257db35803c47d4b3668d4bde3a43735474196d 100644 (file)
@@ -4,6 +4,7 @@
  */
 
 #include <machine/asm.h>
+#include <libm-alias-finite.h>
 
 ENTRY(__ieee754_remainderf)
        flds    8(%esp)
@@ -15,4 +16,4 @@ ENTRY(__ieee754_remainderf)
        fstp    %st(1)
        ret
 END (__ieee754_remainderf)
-strong_alias (__ieee754_remainderf, __remainderf_finite)
+libm_alias_finite (__ieee754_remainderf, __remainderf)
index 5ec23a37a36783274fa503a4b1c32d6f46d87774..551660c1e973cfb84e5d875edfa181887f6ea826 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <machine/asm.h>
+#include <libm-alias-finite.h>
 
 ENTRY(__ieee754_remainderl)
        fldt    16(%esp)
@@ -17,4 +18,4 @@ ENTRY(__ieee754_remainderl)
        fstp    %st(1)
        ret
 END (__ieee754_remainderl)
-strong_alias (__ieee754_remainderl, __remainderl_finite)
+libm_alias_finite (__ieee754_remainderl, __remainderl)
index 370924c29fb98dffe46fc60afa0d37607f88a4e8..5a2f566cdf897a61b029704ffb5ed3c527a982f7 100644 (file)
@@ -7,6 +7,7 @@
 
 #include <machine/asm.h>
 #include <i386-math-asm.h>
+#include <libm-alias-finite.h>
 
        .section .rodata
 
@@ -97,4 +98,4 @@ ENTRY(__ieee754_scalb)
        fdiv    %st
        ret
 END(__ieee754_scalb)
-strong_alias (__ieee754_scalb, __scalb_finite)
+libm_alias_finite (__ieee754_scalb, __scalb)
index 4f2dfa3acf7287dafcf8a1f7c41be6609c5e1754..ef7bd9748e3eddcfa76088462a6dd22619bf98c0 100644 (file)
@@ -8,6 +8,7 @@
 
 #include <machine/asm.h>
 #include <i386-math-asm.h>
+#include <libm-alias-finite.h>
 
        .section .rodata
 
@@ -99,4 +100,4 @@ ENTRY(__ieee754_scalbf)
        fdiv    %st
        ret
 END(__ieee754_scalbf)
-strong_alias (__ieee754_scalbf, __scalbf_finite)
+libm_alias_finite (__ieee754_scalbf, __scalbf)
index 896f599cb061e2cb513b7fd729a2e9cc1000f88a..790f07a9071ee65f4ac99d8273d4ac1debec4da2 100644 (file)
@@ -8,6 +8,7 @@
  */
 
 #include <machine/asm.h>
+#include <libm-alias-finite.h>
 
        .section .rodata
 
@@ -87,4 +88,4 @@ ENTRY(__ieee754_scalbl)
        fdiv    %st
        ret
 END(__ieee754_scalbl)
-strong_alias (__ieee754_scalbl, __scalbl_finite)
+libm_alias_finite (__ieee754_scalbl, __scalbl)
index fba5833a9a46c2babde9596bd11a4b027dabd5bc..191122b6766ea4d4c460818b9c984e1d729cb0c5 100644 (file)
@@ -4,6 +4,7 @@
  */
 
 #include <machine/asm.h>
+#include <libm-alias-finite.h>
 
 ENTRY(__ieee754_sqrt)
        fldl    4(%esp)
@@ -20,4 +21,4 @@ ENTRY(__ieee754_sqrt)
        cfi_adjust_cfa_offset (-8)
        ret
 END (__ieee754_sqrt)
-strong_alias (__ieee754_sqrt, __sqrt_finite)
+libm_alias_finite (__ieee754_sqrt, __sqrt)
index 6f7e4b015fd9fbe685598f5dde8cd104e892df3f..9f34be71a81de2608d4ba179682d0fde757be9ed 100644 (file)
@@ -4,10 +4,11 @@
  */
 
 #include <machine/asm.h>
+#include <libm-alias-finite.h>
 
 ENTRY(__ieee754_sqrtf)
        flds    4(%esp)
        fsqrt
        ret
 END (__ieee754_sqrtf)
-strong_alias (__ieee754_sqrtf, __sqrtf_finite)
+libm_alias_finite (__ieee754_sqrtf, __sqrtf)
index 41bcd7eeb70b5748648840a7803425497711beb8..8f284dd75cc154c824a413492fd7543a88df0e01 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <math_private.h>
+#include <libm-alias-finite.h>
 
 #undef __ieee754_sqrtl
 long double
@@ -17,4 +18,4 @@ __ieee754_sqrtl (long double x)
 
   return res;
 }
-strong_alias (__ieee754_sqrtl, __sqrtl_finite)
+libm_alias_finite (__ieee754_sqrtl, __sqrtl)
index 73060b088cbd8b193a3ad650b366f13c0884af82..3ac3dca2086c13fcb2ed7a41c48aaf3f3e732f4a 100644 (file)
@@ -6,7 +6,7 @@
  */
 
 #include <machine/asm.h>
-
+#include <libm-alias-finite.h>
 
        .text
 ENTRY(__ieee754_log)
@@ -27,3 +27,4 @@ ENTRY(__log_finite)
        fyl2x                   // log(x)
        ret
 END(__log_finite)
+libm_alias_finite (__log_finite, __log)
index 7e3bc8d8175cc9bf02dab0bb35e5f7fe7eeb3089..77ec373abc45d84616b27a1469c0fc154845550b 100644 (file)
@@ -8,6 +8,7 @@
  */
 
 #include <machine/asm.h>
+#include <libm-alias-finite.h>
 
        .section .rodata.cst8,"aM",@progbits,8
 
@@ -92,3 +93,4 @@ ENTRY(__logl_finite)
        fyl2xp1                 // log(x)
        ret
 END(__logl_finite)
+libm_alias_finite (__logl_finite, __logl)
index eaad229451c09d815247b7e99b89896c12dd5505..4647c844ae8a93c41d7b6c02ea1cecf94d8702b2 100644 (file)
@@ -20,12 +20,12 @@ extern float __redirect_exp2f (float);
 
 #define SYMBOL_NAME exp2f
 #include "ifunc-sse2.h"
+#include <libm-alias-finite.h>
 
 libc_ifunc_redirected (__redirect_exp2f, __exp2f, IFUNC_SELECTOR ());
 
 #include <libm-alias-float.h>
 #ifdef SHARED
-# include <shlib-compat.h>
 versioned_symbol (libm, __exp2f, exp2f, GLIBC_2_27);
 libm_alias_float_other (__exp2, exp2)
 #else
@@ -33,7 +33,7 @@ libm_alias_float (__exp2, exp2)
 #endif
 
 strong_alias (__exp2f, __ieee754_exp2f)
-strong_alias (__exp2f, __exp2f_finite)
+libm_alias_finite (__ieee754_exp2f, __exp2f)
 
 #define __exp2f __exp2f_ia32
 #include <sysdeps/ieee754/flt-32/e_exp2f.c>
index b6cdb3ece02be380852afd5b7aa80d7c613addb1..3b3df432130b96ac63951123a0b3977b443d81dd 100644 (file)
@@ -20,6 +20,7 @@ extern float __redirect_expf (float);
 
 #define SYMBOL_NAME expf
 #include "ifunc-sse2.h"
+#include <libm-alias-finite.h>
 
 libc_ifunc_redirected (__redirect_expf, __expf, IFUNC_SELECTOR ());
 
@@ -28,7 +29,6 @@ libc_ifunc_redirected (__redirect_expf, __expf, IFUNC_SELECTOR ());
 __hidden_ver1 (__expf_ia32, __GI___expf, __redirect_expf)
   __attribute__ ((visibility ("hidden"))) __THROW;
 
-# include <shlib-compat.h>
 versioned_symbol (libm, __expf, expf, GLIBC_2_27);
 libm_alias_float_other (__exp, exp)
 #else
@@ -36,7 +36,7 @@ libm_alias_float (__exp, exp)
 #endif
 
 strong_alias (__expf, __ieee754_expf)
-strong_alias (__expf, __expf_finite)
+libm_alias_finite (__ieee754_expf, __expf)
 
 #define __expf __expf_ia32
 #include <sysdeps/ieee754/flt-32/e_expf.c>
index ef720236d0c029c7808ae862f220faf675611c55..e21cadadf582b19ac7be1cc185f44e3f78bc5fbc 100644 (file)
@@ -20,6 +20,7 @@ extern float __redirect_log2f (float);
 
 #define SYMBOL_NAME log2f
 #include "ifunc-sse2.h"
+#include <libm-alias-finite.h>
 
 libc_ifunc_redirected (__redirect_log2f, __log2f, IFUNC_SELECTOR ());
 
@@ -28,7 +29,6 @@ libc_ifunc_redirected (__redirect_log2f, __log2f, IFUNC_SELECTOR ());
 __hidden_ver1 (__log2f_ia32, __GI___log2f, __redirect_log2f)
   __attribute__ ((visibility ("hidden"))) __THROW;
 
-# include <shlib-compat.h>
 versioned_symbol (libm, __log2f, log2f, GLIBC_2_27);
 libm_alias_float_other (__log2, log2)
 #else
@@ -36,7 +36,7 @@ libm_alias_float (__log2, log2)
 #endif
 
 strong_alias (__log2f, __ieee754_log2f)
-strong_alias (__log2f, __log2f_finite)
+libm_alias_finite (__ieee754_log2f, __log2f)
 
 #define __log2f __log2f_ia32
 #include <sysdeps/ieee754/flt-32/e_log2f.c>
index e08cfcb7c97013e469151e0a3a61508575fd1daf..46d3dab13f608124833e7281e1839a076e24dd08 100644 (file)
@@ -20,6 +20,7 @@ extern float __redirect_logf (float);
 
 #define SYMBOL_NAME logf
 #include "ifunc-sse2.h"
+#include <libm-alias-finite.h>
 
 libc_ifunc_redirected (__redirect_logf, __logf, IFUNC_SELECTOR ());
 
@@ -28,7 +29,6 @@ libc_ifunc_redirected (__redirect_logf, __logf, IFUNC_SELECTOR ());
 __hidden_ver1 (__logf_ia32, __GI___logf, __redirect_logf)
   __attribute__ ((visibility ("hidden"))) __THROW;
 
-# include <shlib-compat.h>
 versioned_symbol (libm, __logf, logf, GLIBC_2_27);
 libm_alias_float_other (__log, log)
 #else
@@ -36,7 +36,7 @@ libm_alias_float (__log, log)
 #endif
 
 strong_alias (__logf, __ieee754_logf)
-strong_alias (__logf, __logf_finite)
+libm_alias_finite (__ieee754_logf, __logf)
 
 #define __logf __logf_ia32
 #include <sysdeps/ieee754/flt-32/e_logf.c>
index a83b71578d6a942a0bf95addf60798c02d2fbace..1d6a93322377a371b81701e31c62286d84f2f965 100644 (file)
@@ -23,6 +23,7 @@
 
 #define SYMBOL_NAME powf
 #include "ifunc-sse2.h"
+#include <libm-alias-finite.h>
 
 libc_ifunc_redirected (__redirect_powf, __powf, IFUNC_SELECTOR ());
 
@@ -31,7 +32,6 @@ libc_ifunc_redirected (__redirect_powf, __powf, IFUNC_SELECTOR ());
 __hidden_ver1 (__powf_ia32, __GI___powf, __redirect_powf)
   __attribute__ ((visibility ("hidden")));
 
-# include <shlib-compat.h>
 versioned_symbol (libm, __powf, powf, GLIBC_2_27);
 libm_alias_float_other (__pow, pow)
 #else
@@ -39,7 +39,7 @@ libm_alias_float (__pow, pow)
 #endif
 
 strong_alias (__powf, __ieee754_powf)
-strong_alias (__powf, __powf_finite)
+libm_alias_finite (__ieee754_powf, __powf)
 
 #define __powf __powf_ia32
 #include <sysdeps/ieee754/flt-32/e_powf.c>
index fe0c375f00428db93abd5db02be3b3be6940bda5..75df0ab5ef15a858c469370142ca119485337f33 100644 (file)
@@ -26,6 +26,7 @@
 
 #include <math.h>
 #include <math_private.h>
+#include <libm-alias-finite.h>
 
 static const double
   one = 1.0,
@@ -66,4 +67,4 @@ __ieee754_acosh (double x)
       return __log1p (t + sqrt (2.0 * t + t * t));
     }
 }
-strong_alias (__ieee754_acosh, __acosh_finite)
+libm_alias_finite (__ieee754_acosh, __acosh)
index d880cce41c58b31ed1196468bb0f67e15c8c5752..eac3d27fda9213f9664839947e4668f2877613e9 100644 (file)
@@ -43,6 +43,7 @@
 #include <math.h>
 #include <math_private.h>
 #include <math-underflow.h>
+#include <libm-alias-finite.h>
 
 #ifndef SECTION
 # define SECTION
@@ -334,7 +335,7 @@ __ieee754_asin(double x){
  }
 }
 #ifndef __ieee754_asin
-strong_alias (__ieee754_asin, __asin_finite)
+libm_alias_finite (__ieee754_asin, __asin)
 #endif
 
 /*******************************************************************/
@@ -644,5 +645,5 @@ __ieee754_acos(double x)
   }
 }
 #ifndef __ieee754_acos
-strong_alias (__ieee754_acos, __acos_finite)
+libm_alias_finite (__ieee754_acos, __acos)
 #endif
index 9c21831cafbc13b2692f273b68fea3be771fc840..0a7a07aa3d07f174b760fb81f1d2dcccbdab5179 100644 (file)
@@ -48,6 +48,7 @@
 #include <math_private.h>
 #include <fenv_private.h>
 #include <stap-probe.h>
+#include <libm-alias-finite.h>
 
 #ifndef SECTION
 # define SECTION
@@ -570,7 +571,7 @@ __ieee754_atan2 (double y, double x)
 }
 
 #ifndef __ieee754_atan2
-strong_alias (__ieee754_atan2, __atan2_finite)
+libm_alias_finite (__ieee754_atan2, __atan2)
 #endif
 
 /* Treat the Denormalized case */
index c7a323d1c4458020aaf612843ae1d95bfbb52d1e..d7f29cbd6e360bf7eb0b419078fb1451824d8cb4 100644 (file)
@@ -41,6 +41,7 @@
 #include <math-barriers.h>
 #include <math_private.h>
 #include <math-underflow.h>
+#include <libm-alias-finite.h>
 
 static const double huge = 1e300;
 
@@ -73,4 +74,4 @@ __ieee754_atanh (double x)
 
   return copysign (t, x);
 }
-strong_alias (__ieee754_atanh, __atanh_finite)
+libm_alias_finite (__ieee754_atanh, __atanh)
index ae2180aa89d50341cb7554ae314d1f7805b52493..6c78a3a4e9b5037f9f3976a5a98b46a1494ffe6c 100644 (file)
@@ -34,6 +34,7 @@
 #include <math.h>
 #include <math-narrow-eval.h>
 #include <math_private.h>
+#include <libm-alias-finite.h>
 
 static const double one = 1.0, half = 0.5, huge = 1.0e300;
 
@@ -86,4 +87,4 @@ __ieee754_cosh (double x)
   /* |x| > overflowthresold, cosh(x) overflow */
   return math_narrow_eval (huge * huge);
 }
-strong_alias (__ieee754_cosh, __cosh_finite)
+libm_alias_finite (__ieee754_cosh, __cosh)
index 71f6f2645f9f9a3dcc8d540bbc347726a5fecdbf..b2ba523a342396ad93503994a560e18bc27ec72b 100644 (file)
@@ -21,7 +21,7 @@
 #include <math-barriers.h>
 #include <math-narrow-eval.h>
 #include <math-svid-compat.h>
-#include <shlib-compat.h>
+#include <libm-alias-finite.h>
 #include <libm-alias-double.h>
 #include "math_config.h"
 
@@ -159,7 +159,7 @@ __exp (double x)
 #ifndef __exp
 hidden_def (__exp)
 strong_alias (__exp, __ieee754_exp)
-strong_alias (__exp, __exp_finite)
+libm_alias_finite (__ieee754_exp, __exp)
 # if LIBM_SVID_COMPAT
 versioned_symbol (libm, __exp, exp, GLIBC_2_29);
 libm_alias_double_other (__exp, exp)
index 0a7b7040a756787140a13574814c5d1ba82826a0..12a5078aef3f94bfade2fbae017c4550a042c5f8 100644 (file)
@@ -18,6 +18,7 @@
 #include <math.h>
 #include <math_private.h>
 #include <float.h>
+#include <libm-alias-finite.h>
 
 static const double log10_high = 0x2.4d7637p0;
 static const double log10_low = 0x7.6aaa2b05ba95cp-28;
@@ -47,4 +48,4 @@ __ieee754_exp10 (double arg)
   exp_low = arg_high * log10_low + arg_low * M_LN10;
   return __ieee754_exp (exp_high) * __ieee754_exp (exp_low);
 }
-strong_alias (__ieee754_exp10, __exp10_finite)
+libm_alias_finite (__ieee754_exp10, __exp10)
index 3ed17c328f46d8709c9e7826a3f8a1b8af989925..5fdf038fb0d7c74e6a3a17b591016125466a2001 100644 (file)
@@ -21,7 +21,7 @@
 #include <math-barriers.h>
 #include <math-narrow-eval.h>
 #include <math-svid-compat.h>
-#include <shlib-compat.h>
+#include <libm-alias-finite.h>
 #include <libm-alias-double.h>
 #include "math_config.h"
 
@@ -145,7 +145,7 @@ __exp2 (double x)
 }
 #ifndef __exp2
 strong_alias (__exp2, __ieee754_exp2)
-strong_alias (__exp2, __exp2_finite)
+libm_alias_finite (__ieee754_exp2, __exp2)
 # if LIBM_SVID_COMPAT
 versioned_symbol (libm, __exp2, exp2, GLIBC_2_29);
 libm_alias_double_other (__exp2, exp2)
index 1a8c14dc2a2736c97bf16f54a6a7de28e01f3854..f6a095ba82905f94bc834776ba0877497328e9ee 100644 (file)
@@ -17,6 +17,7 @@
 
 #include <math.h>
 #include <math_private.h>
+#include <libm-alias-finite.h>
 
 static const double one = 1.0, Zero[] = { 0.0, -0.0, };
 
@@ -170,4 +171,4 @@ __ieee754_fmod (double x, double y)
     }
   return x;                     /* exact output */
 }
-strong_alias (__ieee754_fmod, __fmod_finite)
+libm_alias_finite (__ieee754_fmod, __fmod)
index 0918313ae3fed233be1ebd3596cd63453b4c68df..b2fec30f622745cb818d4eb01ab96766aaa69bad 100644 (file)
@@ -23,6 +23,7 @@
 #include <fenv_private.h>
 #include <math-underflow.h>
 #include <float.h>
+#include <libm-alias-finite.h>
 
 /* Coefficients B_2k / 2k(2k-1) of x^-(2k-1) inside exp in Stirling's
    approximation to gamma function.  */
@@ -220,4 +221,4 @@ __ieee754_gamma_r (double x, int *signgamp)
   else
     return ret;
 }
-strong_alias (__ieee754_gamma_r, __gamma_r_finite)
+libm_alias_finite (__ieee754_gamma_r, __gamma_r)
index a2c33cc4edb2df3e99bd233821ec0d9fa79412d2..9ec4c1ced096160d7360afe2e002b8da81e0cca2 100644 (file)
@@ -45,6 +45,7 @@
 #include <math.h>
 #include <math_private.h>
 #include <math-underflow.h>
+#include <libm-alias-finite.h>
 
 double
 __ieee754_hypot (double x, double y)
@@ -159,4 +160,6 @@ __ieee754_hypot (double x, double y)
   else
     return w;
 }
-strong_alias (__ieee754_hypot, __hypot_finite)
+#ifndef __ieee754_hypot
+libm_alias_finite (__ieee754_hypot, __hypot)
+#endif
index 7f5919910d2d012d4f60ab7861f57cb637ed18ea..d0e683637a61f7d127abf8e0c69f35d68146ef4b 100644 (file)
@@ -61,6 +61,7 @@
 #include <math.h>
 #include <math-barriers.h>
 #include <math_private.h>
+#include <libm-alias-finite.h>
 
 static double pzero (double), qzero (double);
 
@@ -143,7 +144,7 @@ __ieee754_j0 (double x)
       return ((one + u) * (one - u) + z * (r / s));
     }
 }
-strong_alias (__ieee754_j0, __j0_finite)
+libm_alias_finite (__ieee754_j0, __j0)
 
 static const double
 U[] = { -7.38042951086872317523e-02, /* 0xBFB2E4D6, 0x99CBD01F */
@@ -223,7 +224,7 @@ __ieee754_y0 (double x)
   v = v1 + z2 * v2 + z4 * V[3];
   return (u / v + tpi * (__ieee754_j0 (x) * __ieee754_log (x)));
 }
-strong_alias (__ieee754_y0, __y0_finite)
+libm_alias_finite (__ieee754_y0, __y0)
 
 /* The asymptotic expansions of pzero is
  *     1 - 9/128 s^2 + 11025/98304 s^4 - ...,  where s = 1/x.
index 734f3ca64a5d983c2dc277db5ad799d055167f48..8757bd575093110c86c862367ef6d824b72cd522 100644 (file)
@@ -64,6 +64,7 @@
 #include <math-narrow-eval.h>
 #include <math_private.h>
 #include <math-underflow.h>
+#include <libm-alias-finite.h>
 
 static double pone (double), qone (double);
 
@@ -147,7 +148,7 @@ __ieee754_j1 (double x)
   s = s1 + z2 * s2 + z4 * s3;
   return (x * 0.5 + r / s);
 }
-strong_alias (__ieee754_j1, __j1_finite)
+libm_alias_finite (__ieee754_j1, __j1)
 
 static const double U0[5] = {
  -1.96057090646238940668e-01, /* 0xBFC91866, 0x143CBC8A */
@@ -230,7 +231,7 @@ __ieee754_y1 (double x)
   v = v1 + z2 * v2 + z4 * v3;
   return (x * (u / v) + tpi * (__ieee754_j1 (x) * __ieee754_log (x) - one / x));
 }
-strong_alias (__ieee754_y1, __y1_finite)
+libm_alias_finite (__ieee754_y1, __y1)
 
 /* For x >= 8, the asymptotic expansions of pone is
  *     1 + 15/128 s^2 - 4725/2^15 s^4 - ...,   where s = 1/x.
index 90a7e772709491411f2722d314d2aaff85f48ca9..f61d71fcd454df160a07b6919aaac26b6c99a76b 100644 (file)
@@ -43,6 +43,7 @@
 #include <math_private.h>
 #include <fenv_private.h>
 #include <math-underflow.h>
+#include <libm-alias-finite.h>
 
 static const double
   invsqrtpi = 5.64189583547756279280e-01, /* 0x3FE20DD7, 0x50429B6D */
@@ -258,7 +259,7 @@ __ieee754_jn (int n, double x)
     math_check_force_underflow (ret);
   return ret;
 }
-strong_alias (__ieee754_jn, __jn_finite)
+libm_alias_finite (__ieee754_jn, __jn)
 
 double
 __ieee754_yn (int n, double x)
@@ -349,4 +350,4 @@ __ieee754_yn (int n, double x)
     ret = copysign (DBL_MAX, ret) * DBL_MAX;
   return ret;
 }
-strong_alias (__ieee754_yn, __yn_finite)
+libm_alias_finite (__ieee754_yn, __yn)
index 88051bc75bc44cd23e3efabf7ad17dbb17264816..5ef289e8e80b9a4319b3684686342341083c3238 100644 (file)
@@ -81,6 +81,7 @@
 #include <math-narrow-eval.h>
 #include <math_private.h>
 #include <libc-diag.h>
+#include <libm-alias-finite.h>
 
 static const double
 two52=  4.50359962737049600000e+15, /* 0x43300000, 0x00000000 */
@@ -308,4 +309,4 @@ __ieee754_lgamma_r(double x, int *signgamp)
        DIAG_POP_NEEDS_COMMENT;
        return r;
 }
-strong_alias (__ieee754_lgamma_r, __lgamma_r_finite)
+libm_alias_finite (__ieee754_lgamma_r, __lgamma_r)
index f48c427e303c587e7eccc5d558629ba740d90193..1ad4910fe9fc4a70d75b7215b8c46e36626962ea 100644 (file)
@@ -19,7 +19,7 @@
 #include <math.h>
 #include <stdint.h>
 #include <math-svid-compat.h>
-#include <shlib-compat.h>
+#include <libm-alias-finite.h>
 #include <libm-alias-double.h>
 #include "math_config.h"
 
@@ -132,7 +132,7 @@ __log (double x)
 }
 #ifndef __log
 strong_alias (__log, __ieee754_log)
-strong_alias (__log, __log_finite)
+libm_alias_finite (__ieee754_log, __log)
 # if LIBM_SVID_COMPAT
 versioned_symbol (libm, __log, log, GLIBC_2_29);
 libm_alias_double_other (__log, log)
index 677cbc4df8739521c50a72d5ab657f438c74c129..44a4bd2faa9792c68ac883c19da2dbfb8070616f 100644 (file)
@@ -46,6 +46,7 @@
 #include <math.h>
 #include <math_private.h>
 #include <fix-int-fp-convert-zero.h>
+#include <libm-alias-finite.h>
 
 static const double two54 = 1.80143985094819840000e+16;         /* 0x43500000, 0x00000000 */
 static const double ivln10 = 4.34294481903251816668e-01;        /* 0x3FDBCB7B, 0x1526E50E */
@@ -84,5 +85,4 @@ __ieee754_log10 (double x)
   z = y * log10_2lo + ivln10 * __ieee754_log (x);
   return z + y * log10_2hi;
 }
-
-strong_alias (__ieee754_log10, __log10_finite)
+libm_alias_finite (__ieee754_log10, __log10)
index 68e15de87e5f2f3e0fd7f4e47b23dd078e16dd36..39fe4ef6917a202867f39f0bb26c00726938139f 100644 (file)
@@ -19,7 +19,7 @@
 #include <math.h>
 #include <stdint.h>
 #include <math-svid-compat.h>
-#include <shlib-compat.h>
+#include <libm-alias-finite.h>
 #include <libm-alias-double.h>
 #include "math_config.h"
 
@@ -141,7 +141,7 @@ __log2 (double x)
 }
 #ifndef __log2
 strong_alias (__log2, __ieee754_log2)
-strong_alias (__log2, __log2_finite)
+libm_alias_finite (__ieee754_log2, __log2)
 # if LIBM_SVID_COMPAT
 versioned_symbol (libm, __log2, log2, GLIBC_2_29);
 libm_alias_double_other (__log2, log2)
index c19d8d46c0e8a3d4ac5e92b4d36e122bacaccc7d..cefa203ceda3b00c9e2b0989ac753bc5ebf99af2 100644 (file)
@@ -21,7 +21,7 @@
 #include <math-barriers.h>
 #include <math-narrow-eval.h>
 #include <math-svid-compat.h>
-#include <shlib-compat.h>
+#include <libm-alias-finite.h>
 #include <libm-alias-double.h>
 #include "math_config.h"
 
@@ -380,7 +380,7 @@ __pow (double x, double y)
 }
 #ifndef __pow
 strong_alias (__pow, __ieee754_pow)
-strong_alias (__pow, __pow_finite)
+libm_alias_finite (__ieee754_pow, __pow)
 # if LIBM_SVID_COMPAT
 versioned_symbol (libm, __pow, pow, GLIBC_2_29);
 libm_alias_double_other (__pow, pow)
index 4e20a62f42eb6608c5163204768459c243093f0c..bee5e5f1477bcf5e1411b1424bfe3083fec670ed 100644 (file)
@@ -36,6 +36,7 @@
 #include <math.h>
 #include <math_private.h>
 #include <fenv_private.h>
+#include <libm-alias-finite.h>
 
 /**************************************************************************/
 /* An ultimate remainder routine. Given two IEEE double machine numbers x */
@@ -150,4 +151,4 @@ __ieee754_remainder (double x, double y)
        }
     }
 }
-strong_alias (__ieee754_remainder, __remainder_finite)
+libm_alias_finite (__ieee754_remainder, __remainder)
index c4e34211ac0e166cc89a567cb3a5ace9e8f888d9..b4b5857dddf90f7a96582b4a52dc439b95836df3 100644 (file)
@@ -37,6 +37,7 @@ static char rcsid[] = "$NetBSD: e_sinh.c,v 1.7 1995/05/10 20:46:13 jtc Exp $";
 #include <math-narrow-eval.h>
 #include <math_private.h>
 #include <math-underflow.h>
+#include <libm-alias-finite.h>
 
 static const double one = 1.0, shuge = 1.0e307;
 
@@ -89,4 +90,4 @@ __ieee754_sinh (double x)
   /* |x| > overflowthresold, sinh(x) overflow */
   return math_narrow_eval (x * shuge);
 }
-strong_alias (__ieee754_sinh, __sinh_finite)
+libm_alias_finite (__ieee754_sinh, __sinh)
index d8a91fba189b8d725471a241e23be0afd93d8436..d42a1a4eb6e99e1503e6361d1a33a16f114e5165 100644 (file)
@@ -40,6 +40,7 @@
 #include <math-barriers.h>
 #include <math_private.h>
 #include <fenv_private.h>
+#include <libm-alias-finite.h>
 
 /*********************************************************************/
 /* An ultimate sqrt routine. Given an IEEE double machine number x   */
@@ -138,4 +139,6 @@ __ieee754_sqrt (double x)
       return 0x1p-256 * __ieee754_sqrt (x * 0x1p512);
     }
 }
-strong_alias (__ieee754_sqrt, __sqrt_finite)
+#ifndef __ieee754_sqrt
+libm_alias_finite (__ieee754_sqrt, __sqrt)
+#endif
index 0af05a02221f8a86cc91265b1edda70b59b7bb30..a241366f308abb6e11da80f68d86998708d79847 100644 (file)
@@ -26,6 +26,7 @@
 
 #include <math.h>
 #include <math_private.h>
+#include <libm-alias-finite.h>
 
 static const double
 one    = 1.0,
@@ -64,4 +65,4 @@ __ieee754_acosh (double x)
   else                                 /* x < 1 */
     return (x - x) / (x - x);
 }
-strong_alias (__ieee754_acosh, __acosh_finite)
+libm_alias_finite (__ieee754_acosh, __acosh)
index fca80b13f975bf32c93c0fffa63dab732621bb35..4f41ca2c92b37263e5684f3e485db6675f2ba61f 100644 (file)
@@ -33,6 +33,7 @@
 
 #include <math.h>
 #include <math_private.h>
+#include <libm-alias-finite.h>
 
 static const double one = 1.0, half=0.5, huge = 1.0e300;
 
@@ -81,4 +82,4 @@ __ieee754_cosh (double x)
     /* |x| > overflowthresold, cosh(x) overflow */
        return huge*huge;
 }
-strong_alias (__ieee754_cosh, __cosh_finite)
+libm_alias_finite (__ieee754_cosh, __cosh)
index f686bb670681dd63f73f44ab355368d8e426c135..52a86874484011f567a6759324ce941a89e77625 100644 (file)
@@ -19,6 +19,7 @@
 #include <math.h>
 #include <math_private.h>
 #include <stdint.h>
+#include <libm-alias-finite.h>
 
 static const double one = 1.0, Zero[] = {0.0, -0.0,};
 
@@ -102,4 +103,4 @@ __ieee754_fmod (double x, double y)
        }
        return x;               /* exact output */
 }
-strong_alias (__ieee754_fmod, __fmod_finite)
+libm_alias_finite (__ieee754_fmod, __fmod)
index cd5567182fda17d74ad53d46b0e67d97ea6c52a4..0b4116e0a843e0c925b08501a028d15e8daa64ae 100644 (file)
@@ -46,6 +46,7 @@
 #include <math.h>
 #include <math_private.h>
 #include <stdint.h>
+#include <libm-alias-finite.h>
 
 static const double two54 = 1.80143985094819840000e+16;                /* 0x4350000000000000 */
 static const double ivln10 = 4.34294481903251816668e-01;       /* 0x3FDBCB7B1526E50E */
@@ -83,5 +84,4 @@ __ieee754_log10 (double x)
   z = y * log10_2lo + ivln10 * __ieee754_log (x);
   return z + y * log10_2hi;
 }
-
-strong_alias (__ieee754_log10, __log10_finite)
+libm_alias_finite (__ieee754_log10, __log10)
index 9d11381cd00ce0c70466dab75beb027f59ffdc30..f97463d9dc1b8917ecaf6234366a8bbf52062814 100644 (file)
 #define __fsubl __f32subf128
 #define __dsubl __f64subf128
 
+/* Used on __finite compat alias.  */
+#define __acosl __acosf128
+#define __acoshl __acoshf128
+#define __asinl __asinf128
+#define __atan2l __atan2f128
+#define __atanhl __atanhf128
+#define __coshl __coshf128
+#define __exp10l __exp10f128
+#define __expl __expf128
+#define __fmodl __fmodf128
+#define __gammal_r __gammaf128_r
+#define __hypotl __hypotf128
+#define __j0l __j0f128
+#define __j1l __j1f128
+#define __jnl __jnf128
+#define __lgammal_r __lgammaf128_r
+#define __log10l __log10f128
+#define __log2l __log2f128
+#define __logl __logf128
+#define __powl __powf128
+#define __remainderl __remainderf128
+#define __sinhl __sinhf128
+#define __y0l __y0f128
+#define __y1l __y1f128
+#define __ynl __ynf128
+
 /* __nexttowardf128 is not _Float128 API. */
 #define __nexttowardl __nexttowardf128_do_not_use
 #define nexttowardl nexttowardf128_do_not_use
index 3b2e4f1bde9906e483d31081ba794790f0eed05b..ce688c98026559c2b9a9de4c5cad5f85ad8a7c4c 100644 (file)
@@ -15,6 +15,7 @@
 
 #include <math.h>
 #include <math_private.h>
+#include <libm-alias-finite.h>
 
 static const float
 one =  1.0000000000e+00, /* 0x3F800000 */
@@ -75,4 +76,4 @@ __ieee754_acosf(float x)
            return (float)2.0*(df+w);
        }
 }
-strong_alias (__ieee754_acosf, __acosf_finite)
+libm_alias_finite (__ieee754_acosf, __acosf)
index 49e64f3c43f0e5e37232dbcf8a38e7ab0c357453..5f573c3e98854860ae73b5d757a2cfeb51752668 100644 (file)
@@ -19,6 +19,7 @@ static char rcsid[] = "$NetBSD: e_acoshf.c,v 1.5 1995/05/12 04:57:20 jtc Exp $";
 
 #include <math.h>
 #include <math_private.h>
+#include <libm-alias-finite.h>
 
 static const float
 one    = 1.0,
@@ -46,4 +47,4 @@ float __ieee754_acoshf(float x)
            return __log1pf(t+sqrtf((float)2.0*t+t*t));
        }
 }
-strong_alias (__ieee754_acoshf, __acoshf_finite)
+libm_alias_finite (__ieee754_acoshf, __acoshf)
index 3328a8f296ab509e5a49df8cbfed8c270a2c1911..720e95d64deaab7a15b69da13919ee67a3716bed 100644 (file)
@@ -43,6 +43,7 @@ static char rcsid[] = "$NetBSD: e_asinf.c,v 1.5 1995/05/12 04:57:25 jtc Exp $";
 #include <math.h>
 #include <math_private.h>
 #include <math-underflow.h>
+#include <libm-alias-finite.h>
 
 static const float
 one =  1.0000000000e+00, /* 0x3F800000 */
@@ -102,4 +103,4 @@ float __ieee754_asinf(float x)
        }
        if(hx>0) return t; else return -t;
 }
-strong_alias (__ieee754_asinf, __asinf_finite)
+libm_alias_finite (__ieee754_asinf, __asinf)
index ddc5873ade50f9c7d717fea6a5afcc465d573904..743b6fd43c8fb83353420c13cf0926d729729f5a 100644 (file)
@@ -15,6 +15,7 @@
 
 #include <math.h>
 #include <math_private.h>
+#include <libm-alias-finite.h>
 
 static const float
 tiny  = 1.0e-30,
@@ -91,4 +92,4 @@ __ieee754_atan2f (float y, float x)
                    return  (z-pi_lo)-pi;/* atan(-,-) */
        }
 }
-strong_alias (__ieee754_atan2f, __atan2f_finite)
+libm_alias_finite (__ieee754_atan2f, __atan2f)
index 6ca9aa14dde09dae056fc8be10c55039aaab503e..6a5c2d9adb11fcfdf7bea2786f52141c2e2bc554 100644 (file)
@@ -41,6 +41,7 @@
 #include <math-barriers.h>
 #include <math_private.h>
 #include <math-underflow.h>
+#include <libm-alias-finite.h>
 
 static const float huge = 1e30;
 
@@ -73,4 +74,4 @@ __ieee754_atanhf (float x)
 
   return copysignf (t, x);
 }
-strong_alias (__ieee754_atanhf, __atanhf_finite)
+libm_alias_finite (__ieee754_atanhf, __atanhf)
index a2aa83876d9364b18fe348c1cf2a424db3dd9cfe..742a68139e4fa7ca4c2930fda19733ddba483f52 100644 (file)
@@ -17,6 +17,7 @@
 #include <math.h>
 #include <math-narrow-eval.h>
 #include <math_private.h>
+#include <libm-alias-finite.h>
 
 static const float huge = 1.0e30;
 static const float one = 1.0, half=0.5;
@@ -61,4 +62,4 @@ __ieee754_coshf (float x)
     /* |x| > overflowthresold, cosh(x) overflow */
        return math_narrow_eval (huge*huge);
 }
-strong_alias (__ieee754_coshf, __coshf_finite)
+libm_alias_finite (__ieee754_coshf, __coshf)
index 30c1d4fb7b377d47cf715e7186cb4489528aa0f9..3df5674081234703f0553c6fabcb45cc9a091cd1 100644 (file)
@@ -19,7 +19,7 @@
 #include <math.h>
 #include <math-narrow-eval.h>
 #include <stdint.h>
-#include <shlib-compat.h>
+#include <libm-alias-finite.h>
 #include <libm-alias-float.h>
 #include "math_config.h"
 
@@ -90,7 +90,7 @@ __exp2f (float x)
 }
 #ifndef __exp2f
 strong_alias (__exp2f, __ieee754_exp2f)
-strong_alias (__exp2f, __exp2f_finite)
+libm_alias_finite (__ieee754_exp2f, __exp2f)
 versioned_symbol (libm, __exp2f, exp2f, GLIBC_2_27);
 libm_alias_float_other (__exp2, exp2)
 #endif
index dd4628e33d8101168c05d61fac2d93b11687501f..973fe9af423deaa6c507568e031a25b49a2715d1 100644 (file)
@@ -24,7 +24,7 @@
 #include <math.h>
 #include <math-narrow-eval.h>
 #include <stdint.h>
-#include <shlib-compat.h>
+#include <libm-alias-finite.h>
 #include <libm-alias-float.h>
 #include "math_config.h"
 
@@ -108,7 +108,7 @@ __expf (float x)
 #ifndef __expf
 hidden_def (__expf)
 strong_alias (__expf, __ieee754_expf)
-strong_alias (__expf, __expf_finite)
+libm_alias_finite (__ieee754_expf, __expf)
 versioned_symbol (libm, __expf, expf, GLIBC_2_27);
 libm_alias_float_other (__exp, exp)
 #endif
index 1a9407b517c01b7cf144d9d5732543b74c462b0d..e6415992214cdb85dda31fd19f2cc92ac62cb050 100644 (file)
@@ -21,6 +21,7 @@
 
 #include <math.h>
 #include <math_private.h>
+#include <libm-alias-finite.h>
 
 static const float one = 1.0, Zero[] = {0.0, -0.0,};
 
@@ -99,4 +100,4 @@ __ieee754_fmodf (float x, float y)
        }
        return x;               /* exact output */
 }
-strong_alias (__ieee754_fmodf, __fmodf_finite)
+libm_alias_finite (__ieee754_fmodf, __fmodf)
index 15960adfc1fd0a2120e8bcf9319eec2cda52d9af..7aae9592eb02ff8a37c27dc9213668633a2eba84 100644 (file)
@@ -23,6 +23,7 @@
 #include <fenv_private.h>
 #include <math-underflow.h>
 #include <float.h>
+#include <libm-alias-finite.h>
 
 /* Coefficients B_2k / 2k(2k-1) of x^-(2k-1) inside exp in Stirling's
    approximation to gamma function.  */
@@ -212,4 +213,4 @@ __ieee754_gammaf_r (float x, int *signgamp)
   else
     return ret;
 }
-strong_alias (__ieee754_gammaf_r, __gammaf_r_finite)
+libm_alias_finite (__ieee754_gammaf_r, __gammaf_r)
index 5336876cf4cbb8d684dcd3510b7e8585aef7524a..dfffcf49887d54d05008633fa0975c2773febcbe 100644 (file)
@@ -15,6 +15,7 @@
 
 #include <math.h>
 #include <math_private.h>
+#include <libm-alias-finite.h>
 
 float
 __ieee754_hypotf(float x, float y)
@@ -42,4 +43,6 @@ __ieee754_hypotf(float x, float y)
 
        return (float) sqrt(d_x * d_x + d_y * d_y);
 }
-strong_alias (__ieee754_hypotf, __hypotf_finite)
+#ifndef __ieee754_hypotf
+libm_alias_finite (__ieee754_hypotf, __hypotf)
+#endif
index 0efc646a125df4d4407b49799a0fc6ce073b5862..0ac7d8e636f3d7cff0e2fad70b92dc70dd7311f9 100644 (file)
@@ -16,6 +16,7 @@
 #include <math.h>
 #include <math-barriers.h>
 #include <math_private.h>
+#include <libm-alias-finite.h>
 
 static float pzerof(float), qzerof(float);
 
@@ -81,7 +82,7 @@ __ieee754_j0f(float x)
            return((one+u)*(one-u)+z*(r/s));
        }
 }
-strong_alias (__ieee754_j0f, __j0f_finite)
+libm_alias_finite (__ieee754_j0f, __j0f)
 
 static const float
 u00  = -7.3804296553e-02, /* 0xbd9726b5 */
@@ -147,7 +148,7 @@ __ieee754_y0f(float x)
        v = one+z*(v01+z*(v02+z*(v03+z*v04)));
        return(u/v + tpi*(__ieee754_j0f(x)*__ieee754_logf(x)));
 }
-strong_alias (__ieee754_y0f, __y0f_finite)
+libm_alias_finite (__ieee754_y0f, __y0f)
 
 /* The asymptotic expansions of pzero is
  *     1 - 9/128 s^2 + 11025/98304 s^4 - ...,  where s = 1/x.
index 09b2296483a0e194cdc694527d91367c356eb7f6..eafff4f4b5563f4f2ca9d563eb657152daba4fbc 100644 (file)
@@ -20,6 +20,7 @@
 #include <math_private.h>
 #include <fenv_private.h>
 #include <math-underflow.h>
+#include <libm-alias-finite.h>
 
 static float ponef(float), qonef(float);
 
@@ -87,7 +88,7 @@ __ieee754_j1f(float x)
        r *= x;
        return(x*(float)0.5+r/s);
 }
-strong_alias (__ieee754_j1f, __j1f_finite)
+libm_alias_finite (__ieee754_j1f, __j1f)
 
 static const float U0[5] = {
  -1.9605709612e-01, /* 0xbe48c331 */
@@ -156,7 +157,7 @@ __ieee754_y1f(float x)
        v = one+z*(V0[0]+z*(V0[1]+z*(V0[2]+z*(V0[3]+z*V0[4]))));
        return(x*(u/v) + tpi*(__ieee754_j1f(x)*__ieee754_logf(x)-one/x));
 }
-strong_alias (__ieee754_y1f, __y1f_finite)
+libm_alias_finite (__ieee754_y1f, __y1f)
 
 /* For x >= 8, the asymptotic expansions of pone is
  *     1 + 15/128 s^2 - 4725/2^15 s^4 - ...,   where s = 1/x.
index ae290154243a3c657b9d01e1577a797b138b1df1..b2a015a48aa646ea65af731937d3d441508f53bc 100644 (file)
@@ -20,6 +20,7 @@
 #include <math_private.h>
 #include <fenv_private.h>
 #include <math-underflow.h>
+#include <libm-alias-finite.h>
 
 static const float
 two   =  2.0000000000e+00, /* 0x40000000 */
@@ -181,7 +182,7 @@ __ieee754_jnf(int n, float x)
        math_check_force_underflow (ret);
     return ret;
 }
-strong_alias (__ieee754_jnf, __jnf_finite)
+libm_alias_finite (__ieee754_jnf, __jnf)
 
 float
 __ieee754_ynf(int n, float x)
@@ -233,4 +234,4 @@ __ieee754_ynf(int n, float x)
        ret = copysignf (FLT_MAX, ret) * FLT_MAX;
     return ret;
 }
-strong_alias (__ieee754_ynf, __ynf_finite)
+libm_alias_finite (__ieee754_ynf, __ynf)
index a7f9b9fbadc49c353b5e65851a432966ed2b0ab1..0667b1bb3e28f4e524fe5f15b47a8bba68d0df35 100644 (file)
@@ -17,6 +17,7 @@
 #include <math-narrow-eval.h>
 #include <math_private.h>
 #include <libc-diag.h>
+#include <libm-alias-finite.h>
 
 static const float
 two23=  8.3886080000e+06, /* 0x4b000000 */
@@ -244,4 +245,4 @@ __ieee754_lgammaf_r(float x, int *signgamp)
        DIAG_POP_NEEDS_COMMENT;
        return r;
 }
-strong_alias (__ieee754_lgammaf_r, __lgammaf_r_finite)
+libm_alias_finite (__ieee754_lgammaf_r, __lgammaf_r)
index 7f1ffdad771a642d9df9d245ac5062ea11aaeefb..4e31e5cfdd5c0b61967c8f880699c6b22b0bf805 100644 (file)
@@ -16,6 +16,7 @@
 #include <math.h>
 #include <math_private.h>
 #include <fix-int-fp-convert-zero.h>
+#include <libm-alias-finite.h>
 
 static const float
 two25      =  3.3554432000e+07, /* 0x4c000000 */
@@ -51,4 +52,4 @@ __ieee754_log10f(float x)
        z  = y*log10_2lo + ivln10*__ieee754_logf(x);
        return  z+y*log10_2hi;
 }
-strong_alias (__ieee754_log10f, __log10f_finite)
+libm_alias_finite (__ieee754_log10f, __log10f)
index 9bee8362befe71ff9c743f0711604c39d8487c9d..ca39776b3ff770f99a152c6377a76c28756c49bc 100644 (file)
@@ -18,7 +18,7 @@
 
 #include <math.h>
 #include <stdint.h>
-#include <shlib-compat.h>
+#include <libm-alias-finite.h>
 #include <libm-alias-float.h>
 #include "math_config.h"
 
@@ -89,7 +89,7 @@ __log2f (float x)
 }
 #ifndef __log2f
 strong_alias (__log2f, __ieee754_log2f)
-strong_alias (__log2f, __log2f_finite)
+libm_alias_finite (__ieee754_log2f, __log2f)
 versioned_symbol (libm, __log2f, log2f, GLIBC_2_27);
 libm_alias_float_other (__log2, log2)
 #endif
index e9e0346197953504262e1d41aec643fb5ed75aa4..2a7227dd8a02fe439c35336933220ce0088574cf 100644 (file)
@@ -18,7 +18,7 @@
 
 #include <math.h>
 #include <stdint.h>
-#include <shlib-compat.h>
+#include <libm-alias-finite.h>
 #include <libm-alias-float.h>
 #include "math_config.h"
 
@@ -88,7 +88,7 @@ __logf (float x)
 }
 #ifndef __logf
 strong_alias (__logf, __ieee754_logf)
-strong_alias (__logf, __logf_finite)
+libm_alias_finite (__ieee754_logf, __logf)
 versioned_symbol (libm, __logf, logf, GLIBC_2_27);
 libm_alias_float_other (__log, log)
 #endif
index 8035dfeb2c83c293bf3bb889b3a7d6a39287a989..e423b835dedcc89dc6f6aecf04120a4658348cdf 100644 (file)
@@ -20,7 +20,7 @@
 #include <math-barriers.h>
 #include <math-narrow-eval.h>
 #include <stdint.h>
-#include <shlib-compat.h>
+#include <libm-alias-finite.h>
 #include <libm-alias-float.h>
 #include "math_config.h"
 
@@ -231,7 +231,7 @@ __powf (float x, float y)
 }
 #ifndef __powf
 strong_alias (__powf, __ieee754_powf)
-strong_alias (__powf, __powf_finite)
+libm_alias_finite (__ieee754_powf, __powf)
 versioned_symbol (libm, __powf, powf, GLIBC_2_27);
 libm_alias_float_other (__pow, pow)
 #endif
index 8e78784e0f43002124690f839d0f768453c7bd4f..946527c3f85aa8144218d4f9a4da4101ff113d21 100644 (file)
@@ -15,6 +15,7 @@
 
 #include <math.h>
 #include <math_private.h>
+#include <libm-alias-finite.h>
 
 static const float zero = 0.0;
 
@@ -59,4 +60,4 @@ __ieee754_remainderf(float x, float p)
        SET_FLOAT_WORD(x,hx^sx);
        return x;
 }
-strong_alias (__ieee754_remainderf, __remainderf_finite)
+libm_alias_finite (__ieee754_remainderf, __remainderf)
index 20f7db81ea72db9dbf5f5350b2602d28bc7e339c..6fe74f3fafd27010d3d54181f6d747531eedfcdd 100644 (file)
@@ -18,6 +18,7 @@
 #include <math-narrow-eval.h>
 #include <math_private.h>
 #include <math-underflow.h>
+#include <libm-alias-finite.h>
 
 static const float one = 1.0, shuge = 1.0e37;
 
@@ -59,4 +60,4 @@ __ieee754_sinhf(float x)
     /* |x| > overflowthresold, sinh(x) overflow */
        return math_narrow_eval (x*shuge);
 }
-strong_alias (__ieee754_sinhf, __sinhf_finite)
+libm_alias_finite (__ieee754_sinhf, __sinhf)
index 6025da19cfe74a52f08bf8c8e0b38e6df6a2ac7f..b339444301aa3f625f009b5c6c8d73488b8f3efc 100644 (file)
@@ -15,6 +15,7 @@
 
 #include <math.h>
 #include <math_private.h>
+#include <libm-alias-finite.h>
 
 static const float     one     = 1.0, tiny=1.0e-30;
 
@@ -83,4 +84,6 @@ __ieee754_sqrtf(float x)
        SET_FLOAT_WORD(z,ix);
        return z;
 }
-strong_alias (__ieee754_sqrtf, __sqrtf_finite)
+#ifndef __ieee754_sqrtf
+libm_alias_finite (__ieee754_sqrtf, __sqrtf)
+#endif
index c292759ac6f163ac0d739a5ae682331b507ab3d2..c3cb73a2a4d1bf706236e64888999dd09d0911b8 100644 (file)
@@ -29,6 +29,7 @@
 
 #include <math.h>
 #include <math_private.h>
+#include <libm-alias-finite.h>
 
 static const _Float128
 one    = 1.0,
@@ -58,4 +59,4 @@ __ieee754_acoshl(_Float128 x)
            return __log1pl(t+sqrtl(2*t+t*t));
        }
 }
-strong_alias (__ieee754_acoshl, __acoshl_finite)
+libm_alias_finite (__ieee754_acoshl, __acoshl)
index f698d0aa5ce4b48c8bbaeb4985228da63fafc6a9..6a6e5412e50f897e5d1f4046b90597def44e3648 100644 (file)
@@ -56,6 +56,7 @@
 
 #include <math.h>
 #include <math_private.h>
+#include <libm-alias-finite.h>
 
 static const _Float128
   one = 1,
@@ -316,4 +317,4 @@ __ieee754_acosl (_Float128 x)
       return 2.0 * w;
     }
 }
-strong_alias (__ieee754_acosl, __acosl_finite)
+libm_alias_finite (__ieee754_acosl, __acosl)
index aa240f1ff2c97974d309d74985cc69621abb585e..4825e0c15defaf83bf0ad345cfdeaeafaf04e5e4 100644 (file)
@@ -64,6 +64,7 @@
 #include <math-barriers.h>
 #include <math_private.h>
 #include <math-underflow.h>
+#include <libm-alias-finite.h>
 
 static const _Float128
   one = 1,
@@ -257,4 +258,4 @@ __ieee754_asinl (_Float128 x)
   else
     return -t;
 }
-strong_alias (__ieee754_asinl, __asinl_finite)
+libm_alias_finite (__ieee754_asinl, __asinl)
index 8b4afa4bd567a54545150925b38247b7116f5b40..142060de4871d91e9e24182cd64c5ef524d52c22 100644 (file)
@@ -42,6 +42,7 @@
 
 #include <math.h>
 #include <math_private.h>
+#include <libm-alias-finite.h>
 
 static const _Float128
 tiny  = L(1.0e-4900),
@@ -119,4 +120,4 @@ __ieee754_atan2l(_Float128 y, _Float128 x)
                    return  (z-pi_lo)-pi;/* atan(-,-) */
        }
 }
-strong_alias (__ieee754_atan2l, __atan2l_finite)
+libm_alias_finite (__ieee754_atan2l, __atan2l)
index 13b7683e1796ee5a24b3c69fbc1ce2c1e3da55cd..68a52201d27f8924263b997ba67444a6f2a5a231 100644 (file)
@@ -36,6 +36,7 @@
 #include <math.h>
 #include <math_private.h>
 #include <math-underflow.h>
+#include <libm-alias-finite.h>
 
 static const _Float128 one = 1, huge = L(1e4900);
 
@@ -72,4 +73,4 @@ __ieee754_atanhl(_Float128 x)
            t = 0.5*__log1pl((u.value+u.value)/(one-u.value));
        if(jx & 0x80000000) return -t; else return t;
 }
-strong_alias (__ieee754_atanhl, __atanhl_finite)
+libm_alias_finite (__ieee754_atanhl, __atanhl)
index 2b8c1abfc26ec88925a5885bce11a1393164e9cf..dc9d3763590accfa643e28c4cb0a8be33b738e08 100644 (file)
@@ -53,6 +53,7 @@
 
 #include <math.h>
 #include <math_private.h>
+#include <libm-alias-finite.h>
 
 static const _Float128 one = 1.0, half = 0.5, huge = L(1.0e4900),
 ovf_thresh = L(1.1357216553474703894801348310092223067821E4);
@@ -107,4 +108,4 @@ __ieee754_coshl (_Float128 x)
   /* |x| > overflowthresold, cosh(x) overflow */
   return huge * huge;
 }
-strong_alias (__ieee754_coshl, __coshl_finite)
+libm_alias_finite (__ieee754_coshl, __coshl)
index 7356a3a6d1067d621f15cef7f4df5e453e657013..ea7ed0df40792aa4ce2ce3b8fbb81bc2276a1ce5 100644 (file)
@@ -18,6 +18,7 @@
 #include <math.h>
 #include <math_private.h>
 #include <float.h>
+#include <libm-alias-finite.h>
 
 static const _Float128 log10_high = L(0x2.4d763776aaa2bp0);
 static const _Float128 log10_low = L(0x5.ba95b58ae0b4c28a38a3fb3e7698p-60);
@@ -46,4 +47,4 @@ __ieee754_exp10l (_Float128 arg)
   exp_low = arg_high * log10_low + arg_low * M_LN10l;
   return __ieee754_expl (exp_high) * __ieee754_expl (exp_low);
 }
-strong_alias (__ieee754_exp10l, __exp10l_finite)
+libm_alias_finite (__ieee754_exp10l, __exp10l)
index f41ab2059e195794fc55c03dbbaa051b981d6d79..37c1538c083bbc98ac121e20011f875ca8b1fce6 100644 (file)
@@ -69,6 +69,7 @@
 #include <math-underflow.h>
 #include <stdlib.h>
 #include "t_expl.h"
+#include <libm-alias-finite.h>
 
 static const _Float128 C[] = {
 /* Smallest integer x for which e^x overflows.  */
@@ -253,4 +254,4 @@ __ieee754_expl (_Float128 x)
     /* Return x, if x is a NaN or Inf; or overflow, otherwise.  */
     return TWO16383*x;
 }
-strong_alias (__ieee754_expl, __expl_finite)
+libm_alias_finite (__ieee754_expl, __expl)
index 73465126b43ff1c975389ff86172b645f18172a0..c927859cdf779da24a73806739aa556f7042ed47 100644 (file)
@@ -20,6 +20,7 @@
 
 #include <math.h>
 #include <math_private.h>
+#include <libm-alias-finite.h>
 
 static const _Float128 one = 1.0, Zero[] = {0.0, -0.0,};
 
@@ -128,4 +129,4 @@ __ieee754_fmodl (_Float128 x, _Float128 y)
        }
        return x;               /* exact output */
 }
-strong_alias (__ieee754_fmodl, __fmodl_finite)
+libm_alias_finite (__ieee754_fmodl, __fmodl)
index f393217f4379564d862bfe45a8acc9aaa50fe1d4..a41dacf28a7bd59c99dd290b262dff03b683cf8b 100644 (file)
@@ -23,6 +23,7 @@
 #include <fenv_private.h>
 #include <math-underflow.h>
 #include <float.h>
+#include <libm-alias-finite.h>
 
 /* Coefficients B_2k / 2k(2k-1) of x^-(2k-1) inside exp in Stirling's
    approximation to gamma function.  */
@@ -217,4 +218,4 @@ __ieee754_gammal_r (_Float128 x, int *signgamp)
   else
     return ret;
 }
-strong_alias (__ieee754_gammal_r, __gammal_r_finite)
+libm_alias_finite (__ieee754_gammal_r, __gammal_r)
index 7bafd4ae296318a1a3edf0eb366925ab029aed73..cc3cc4a01c360c57781be62e0a98d657ac2538f0 100644 (file)
@@ -48,6 +48,7 @@
 #include <math.h>
 #include <math_private.h>
 #include <math-underflow.h>
+#include <libm-alias-finite.h>
 
 _Float128
 __ieee754_hypotl(_Float128 x, _Float128 y)
@@ -138,4 +139,4 @@ __ieee754_hypotl(_Float128 x, _Float128 y)
            return w;
        } else return w;
 }
-strong_alias (__ieee754_hypotl, __hypotl_finite)
+libm_alias_finite (__ieee754_hypotl, __hypotl)
index 631d67b92c21697c878886ec973f9118f90f6242..c424acc0bfe2dd72c5f4a702bfbdb3df53d300c4 100644 (file)
@@ -94,6 +94,7 @@
 #include <math.h>
 #include <math_private.h>
 #include <float.h>
+#include <libm-alias-finite.h>
 
 /* 1 / sqrt(pi) */
 static const _Float128 ONEOSQPI = L(5.6418958354775628694807945156077258584405E-1);
@@ -789,7 +790,7 @@ __ieee754_j0l (_Float128 x)
   z = ONEOSQPI * (p * cc - q * ss) / sqrtl (xx);
   return z;
 }
-strong_alias (__ieee754_j0l, __j0l_finite)
+libm_alias_finite (__ieee754_j0l, __j0l)
 
 
 /* Y0(x) = 2/pi * log(x) * J0(x) + R(x^2)
@@ -934,4 +935,4 @@ _Float128
   z = ONEOSQPI * (p * ss + q * cc) / sqrtl (x);
   return z;
 }
-strong_alias (__ieee754_y0l, __y0l_finite)
+libm_alias_finite (__ieee754_y0l, __y0l)
index 174f35df0762adaaca55384cd3e0e713c519c737..54c457681aecef079cb64d406ca89e05d2ce4fc5 100644 (file)
 #include <fenv_private.h>
 #include <math-underflow.h>
 #include <float.h>
+#include <libm-alias-finite.h>
 
 /* 1 / sqrt(pi) */
 static const _Float128 ONEOSQPI = L(5.6418958354775628694807945156077258584405E-1);
@@ -810,7 +811,7 @@ __ieee754_j1l (_Float128 x)
     z = -z;
   return z;
 }
-strong_alias (__ieee754_j1l, __j1l_finite)
+libm_alias_finite (__ieee754_j1l, __j1l)
 
 
 /* Y1(x) = 2/pi * (log(x) * J1(x) - 1/x) + x R(x^2)
@@ -960,4 +961,4 @@ __ieee754_y1l (_Float128 x)
   z = ONEOSQPI * (p * ss + q * cc) / sqrtl (xx);
   return z;
 }
-strong_alias (__ieee754_y1l, __y1l_finite)
+libm_alias_finite (__ieee754_y1l, __y1l)
index 9066e934f17bbb885351c9fceb8d356de4aed39b..2abd32adfe1c7e25ca10da1942ddca61b6cdc859 100644 (file)
@@ -62,6 +62,7 @@
 #include <math_private.h>
 #include <fenv_private.h>
 #include <math-underflow.h>
+#include <libm-alias-finite.h>
 
 static const _Float128
   invsqrtpi = L(5.6418958354775628694807945156077258584405E-1),
@@ -308,7 +309,7 @@ __ieee754_jnl (int n, _Float128 x)
     math_check_force_underflow (ret);
   return ret;
 }
-strong_alias (__ieee754_jnl, __jnl_finite)
+libm_alias_finite (__ieee754_jnl, __jnl)
 
 _Float128
 __ieee754_ynl (int n, _Float128 x)
@@ -422,4 +423,4 @@ __ieee754_ynl (int n, _Float128 x)
     ret = copysignl (LDBL_MAX, ret) * LDBL_MAX;
   return ret;
 }
-strong_alias (__ieee754_ynl, __ynl_finite)
+libm_alias_finite (__ieee754_ynl, __ynl)
index f7359ce62e7ecc5e27014946acd5c50d7651407c..0476df8db3018c4b68111e5f9c886674055b7be3 100644 (file)
@@ -71,6 +71,7 @@
 #include <math.h>
 #include <math_private.h>
 #include <float.h>
+#include <libm-alias-finite.h>
 
 static const _Float128 PIL = L(3.1415926535897932384626433832795028841972E0);
 static const _Float128 MAXLGM = L(1.0485738685148938358098967157129705071571E4928);
@@ -1039,4 +1040,4 @@ __ieee754_lgammal_r (_Float128 x, int *signgamp)
   q += neval (p, RASY, NRASY) / x;
   return (q);
 }
-strong_alias (__ieee754_lgammal_r, __lgammal_r_finite)
+libm_alias_finite (__ieee754_lgammal_r, __lgammal_r)
index 7123c6f69a0eb58c13d9398d0d8461a646c9e2f5..9d1728af337e5e706b0392109c5de49e0d12d2d9 100644 (file)
@@ -62,6 +62,7 @@
 
 #include <math.h>
 #include <math_private.h>
+#include <libm-alias-finite.h>
 
 /* Coefficients for ln(1+x) = x - x**2/2 + x**3 P(x)/Q(x)
  * 1/sqrt(2) <= x < sqrt(2)
@@ -256,4 +257,4 @@ done:
   z += e * L102A;
   return (z);
 }
-strong_alias (__ieee754_log10l, __log10l_finite)
+libm_alias_finite (__ieee754_log10l, __log10l)
index b82cd80bbc001b392163d55bd95bfe7add08f04f..b81b98ced8f1f26f1aaef4f9ee080bb21390ba37 100644 (file)
@@ -61,6 +61,7 @@
 
 #include <math.h>
 #include <math_private.h>
+#include <libm-alias-finite.h>
 
 /* Coefficients for ln(1+x) = x - x**2/2 + x**3 P(x)/Q(x)
  * 1/sqrt(2) <= x < sqrt(2)
@@ -249,4 +250,4 @@ done:
   z += e;
   return (z);
 }
-strong_alias (__ieee754_log2l, __log2l_finite)
+libm_alias_finite (__ieee754_log2l, __log2l)
index be1ebe28b96d521e864e72cd66d0f835e736f2ac..f6476e653471adcdd9b1baebf17d808ce6d339b1 100644 (file)
@@ -60,6 +60,7 @@
 
 #include <math.h>
 #include <math_private.h>
+#include <libm-alias-finite.h>
 
 /* log(1+x) = x - .5 x^2 + x^3 l(x)
    -.0078125 <= x <= +.0078125
@@ -279,4 +280,4 @@ __ieee754_logl(_Float128 x)
   y += e * ln2a;
   return y;
 }
-strong_alias (__ieee754_logl, __logl_finite)
+libm_alias_finite (__ieee754_logl, __logl)
index 967a73050070d496d1ca99636a69c19bfed2f2e6..4e20616705633885c661f4bda3175aac7adc0375 100644 (file)
@@ -67,6 +67,7 @@
 #include <math.h>
 #include <math-barriers.h>
 #include <math_private.h>
+#include <libm-alias-finite.h>
 
 static const _Float128 bp[] = {
   1,
@@ -449,4 +450,4 @@ __ieee754_powl (_Float128 x, _Float128 y)
     }
   return sgn * z;
 }
-strong_alias (__ieee754_powl, __powl_finite)
+libm_alias_finite (__ieee754_powl, __powl)
index 09b8640b78528371e6a23ad68670d56c3faa91a2..ade586a2d06d3c32b3a9e29801daaf60ee9f9eb9 100644 (file)
@@ -23,6 +23,7 @@
 
 #include <math.h>
 #include <math_private.h>
+#include <libm-alias-finite.h>
 
 static const _Float128 zero = 0;
 
@@ -68,4 +69,4 @@ __ieee754_remainderl(_Float128 x, _Float128 p)
        SET_LDOUBLE_MSW64(x,hx^sx);
        return x;
 }
-strong_alias (__ieee754_remainderl, __remainderl_finite)
+libm_alias_finite (__ieee754_remainderl, __remainderl)
index 9bbafa8c7a1075662bba61115c234a76cbe922bd..976fcead3a52157d226eef0eaeb4ea7cedfd881f 100644 (file)
@@ -57,6 +57,7 @@
 #include <math.h>
 #include <math_private.h>
 #include <math-underflow.h>
+#include <libm-alias-finite.h>
 
 static const _Float128 one = 1.0, shuge = L(1.0e4931),
 ovf_thresh = L(1.1357216553474703894801348310092223067821E4);
@@ -115,4 +116,4 @@ __ieee754_sinhl (_Float128 x)
   /* |x| > overflowthreshold, sinhl(x) overflow */
   return x * shuge;
 }
-strong_alias (__ieee754_sinhl, __sinhl_finite)
+libm_alias_finite (__ieee754_sinhl, __sinhl)
index f85fe678ba27828ac109a9e427c9d15d8aa820e0..e2f045ac23f3d5125d10432c5f40259da3c08411 100644 (file)
@@ -26,6 +26,7 @@
 
 #include <math.h>
 #include <math_private.h>
+#include <libm-alias-finite.h>
 
 static const long double
 one    = 1.0L,
@@ -59,4 +60,4 @@ __ieee754_acoshl(long double x)
            return __log1pl(t+sqrtl(2.0*t+t*t));
        }
 }
-strong_alias (__ieee754_acoshl, __acoshl_finite)
+libm_alias_finite (__ieee754_acoshl, __acoshl)
index 36fe75e21509d0306b09c736c2b28e08114d1086..46a480e8ce616bbd4761aaa1474bc446412fb176 100644 (file)
@@ -56,6 +56,7 @@
 
 #include <math.h>
 #include <math_private.h>
+#include <libm-alias-finite.h>
 
 static const long double
   one = 1.0L,
@@ -313,4 +314,4 @@ __ieee754_acosl (long double x)
       return 2.0 * w;
     }
 }
-strong_alias (__ieee754_acosl, __acosl_finite)
+libm_alias_finite (__ieee754_acosl, __acosl)
index 0e54332cd5cf4bd99ccef88e00cf3a53ce7ec3d4..8cf60f0c2da59e38755ebdd85cac4e2c558a1c71 100644 (file)
@@ -64,6 +64,7 @@
 #include <math-barriers.h>
 #include <math_private.h>
 #include <math-underflow.h>
+#include <libm-alias-finite.h>
 
 static const long double
   one = 1.0L,
@@ -248,4 +249,4 @@ __ieee754_asinl (long double x)
   else
     return -t;
 }
-strong_alias (__ieee754_asinl, __asinl_finite)
+libm_alias_finite (__ieee754_asinl, __asinl)
index b625323df3827f4ed132d8c8bd1557799c157df0..8c451ed207c91e8f724c8f6ddd0ddd7f14c021f8 100644 (file)
@@ -42,6 +42,7 @@
 
 #include <math.h>
 #include <math_private.h>
+#include <libm-alias-finite.h>
 
 static const long double
 tiny  = 1.0e-300L,
@@ -119,4 +120,4 @@ __ieee754_atan2l(long double y, long double x)
                    return  (z-pi_lo)-pi;/* atan(-,-) */
        }
 }
-strong_alias (__ieee754_atan2l, __atan2l_finite)
+libm_alias_finite (__ieee754_atan2l, __atan2l)
index 25c286b8ff7c31225a84dbdc90479e08c22ae43e..d38d7b54329428218df73e1ef95874364df78714 100644 (file)
@@ -32,6 +32,7 @@
 #include <math.h>
 #include <math_private.h>
 #include <math-underflow.h>
+#include <libm-alias-finite.h>
 
 static const long double one = 1.0L, huge = 1e300L;
 
@@ -69,4 +70,4 @@ __ieee754_atanhl(long double x)
            t = 0.5*__log1pl((x+x)/(one-x));
        if(hx>=0) return t; else return -t;
 }
-strong_alias (__ieee754_atanhl, __atanhl_finite)
+libm_alias_finite (__ieee754_atanhl, __atanhl)
index 327b2ab9600028f6c22b45e86440a7104d8964b0..bdbaad73eabc96bea07fa4ecde984f9a059fc255 100644 (file)
@@ -33,6 +33,7 @@
 
 #include <math.h>
 #include <math_private.h>
+#include <libm-alias-finite.h>
 
 static const long double one = 1.0L, half=0.5L, huge = 1.0e300L;
 
@@ -78,4 +79,4 @@ __ieee754_coshl (long double x)
     /* |x| > overflowthresold, cosh(x) overflow */
        return huge*huge;
 }
-strong_alias (__ieee754_coshl, __coshl_finite)
+libm_alias_finite (__ieee754_coshl, __coshl)
index 0009b416d8a57eb6f507dc636171d63bdf761c54..bd86a40802944362f4963982eb78e35d1cd51c54 100644 (file)
@@ -18,6 +18,7 @@
 #include <math.h>
 #include <math_private.h>
 #include <float.h>
+#include <libm-alias-finite.h>
 
 static const long double log10_high = 0x2.4d763776aaap+0L;
 static const long double log10_low = 0x2.b05ba95b58ae0b4c28a38a3fb4p-48L;
@@ -45,4 +46,4 @@ __ieee754_exp10l (long double arg)
   exp_low = arg_high * log10_low + arg_low * M_LN10l;
   return __ieee754_expl (exp_high) * __ieee754_expl (exp_low);
 }
-strong_alias (__ieee754_exp10l, __exp10l_finite)
+libm_alias_finite (__ieee754_exp10l, __exp10l)
index 3385887e095713cc456fa878c71041016c2afdfb..0e68daae05a3ae2577c0c1e79324eb93bcd42ff2 100644 (file)
@@ -66,7 +66,7 @@
 #include <inttypes.h>
 #include <math_private.h>
 #include <fenv_private.h>
-
+#include <libm-alias-finite.h>
 
 #include "t_expl.h"
 
@@ -257,4 +257,4 @@ __ieee754_expl (long double x)
     return result;
   return result * scale_u.ld;
 }
-strong_alias (__ieee754_expl, __expl_finite)
+libm_alias_finite (__ieee754_expl, __expl)
index fae7dbe888b0e2418e94e0ac43b4ac218e9e001a..a8b178dbd0fa3436875731bdfc1a15db275d1a9c 100644 (file)
@@ -21,6 +21,7 @@
 #include <math.h>
 #include <math_private.h>
 #include <ieee754.h>
+#include <libm-alias-finite.h>
 
 static const long double one = 1.0, Zero[] = {0.0, -0.0,};
 
@@ -146,4 +147,4 @@ __ieee754_fmodl (long double x, long double y)
        }
        return x;               /* exact output */
 }
-strong_alias (__ieee754_fmodl, __fmodl_finite)
+libm_alias_finite (__ieee754_fmodl, __fmodl)
index 642e4ff95125a34434dff1eaa1dacd213aa8501b..77a6fa68d3c04a286726b32d4873f0b37f5f364c 100644 (file)
@@ -23,6 +23,7 @@
 #include <fenv_private.h>
 #include <math-underflow.h>
 #include <float.h>
+#include <libm-alias-finite.h>
 
 /* Coefficients B_2k / 2k(2k-1) of x^-(2k-1) inside exp in Stirling's
    approximation to gamma function.  */
@@ -217,4 +218,4 @@ __ieee754_gammal_r (long double x, int *signgamp)
   else
     return ret;
 }
-strong_alias (__ieee754_gammal_r, __gammal_r_finite)
+libm_alias_finite (__ieee754_gammal_r, __gammal_r)
index 842f77b7ed709732fe02b4c8db11f45fda122fdd..8767905cd5d59cfcab84d7c651681eeda8a9e97c 100644 (file)
@@ -45,6 +45,7 @@
 #include <math.h>
 #include <math_private.h>
 #include <math-underflow.h>
+#include <libm-alias-finite.h>
 
 long double
 __ieee754_hypotl(long double x, long double y)
@@ -136,4 +137,4 @@ __ieee754_hypotl(long double x, long double y)
        else
            return w;
 }
-strong_alias (__ieee754_hypotl, __hypotl_finite)
+libm_alias_finite (__ieee754_hypotl, __hypotl)
index d430c29247b5f2d6df804577289e1d2d0f22a98e..a12ef1b845892eff202c4caec770755f9f85bdbd 100644 (file)
@@ -21,6 +21,7 @@
 #include <math.h>
 #include <math_private.h>
 #include <float.h>
+#include <libm-alias-finite.h>
 
 /* 1 / sqrt(pi) */
 static const long double ONEOSQPI = 5.6418958354775628694807945156077258584405E-1L;
@@ -716,7 +717,7 @@ __ieee754_j0l (long double x)
   z = ONEOSQPI * (p * cc - q * ss) / sqrtl (xx);
   return z;
 }
-strong_alias (__ieee754_j0l, __j0l_finite)
+libm_alias_finite (__ieee754_j0l, __j0l)
 
 
 /* Y0(x) = 2/pi * log(x) * J0(x) + R(x^2)
@@ -861,4 +862,4 @@ long double
   z = ONEOSQPI * (p * ss + q * cc) / sqrtl (x);
   return z;
 }
-strong_alias (__ieee754_y0l, __y0l_finite)
+libm_alias_finite (__ieee754_y0l, __y0l)
index ec6b1cec964b20663a844d2b70c8899fe746ae1b..f85ba9446663d39d5fc6eaaea5a4a1f9a213c234 100644 (file)
@@ -24,6 +24,7 @@
 #include <fenv_private.h>
 #include <math-underflow.h>
 #include <float.h>
+#include <libm-alias-finite.h>
 
 /* 1 / sqrt(pi) */
 static const long double ONEOSQPI = 5.6418958354775628694807945156077258584405E-1L;
@@ -733,7 +734,7 @@ __ieee754_j1l (long double x)
     z = -z;
   return z;
 }
-strong_alias (__ieee754_j1l, __j1l_finite)
+libm_alias_finite (__ieee754_j1l, __j1l)
 
 
 /* Y1(x) = 2/pi * (log(x) * J1(x) - 1/x) + x R(x^2)
@@ -883,4 +884,4 @@ __ieee754_y1l (long double x)
   z = ONEOSQPI * (p * ss + q * cc) / sqrtl (xx);
   return z;
 }
-strong_alias (__ieee754_y1l, __y1l_finite)
+libm_alias_finite (__ieee754_y1l, __y1l)
index 3fe4c0e5c6a331d3c0072fc8b7645d2ef5cc0a43..1ea48ff6d8e32d1dd3b64cd98cac15b570d5b60d 100644 (file)
@@ -62,6 +62,7 @@
 #include <math_private.h>
 #include <fenv_private.h>
 #include <math-underflow.h>
+#include <libm-alias-finite.h>
 
 static const long double
   invsqrtpi = 5.6418958354775628694807945156077258584405E-1L,
@@ -308,7 +309,7 @@ __ieee754_jnl (int n, long double x)
     math_check_force_underflow (ret);
   return ret;
 }
-strong_alias (__ieee754_jnl, __jnl_finite)
+libm_alias_finite (__ieee754_jnl, __jnl)
 
 long double
 __ieee754_ynl (int n, long double x)
@@ -424,4 +425,4 @@ __ieee754_ynl (int n, long double x)
     ret = copysignl (LDBL_MAX, ret) * LDBL_MAX;
   return ret;
 }
-strong_alias (__ieee754_ynl, __ynl_finite)
+libm_alias_finite (__ieee754_ynl, __ynl)
index 9dc130cfa9bcd1d3b574e1b5a742beaa2c0bc032..adf25b01f43491add00a7b6d97d0d08708092c2d 100644 (file)
@@ -21,6 +21,7 @@
 #include <math.h>
 #include <math_private.h>
 #include <float.h>
+#include <libm-alias-finite.h>
 
 static const long double PIL = 3.1415926535897932384626433832795028841972E0L;
 static const long double MAXLGM = 0x5.d53649e2d469dbc1f01e99fd66p+1012L;
@@ -989,4 +990,4 @@ __ieee754_lgammal_r (long double x, int *signgamp)
   q += neval (p, RASY, NRASY) / x;
   return (q);
 }
-strong_alias (__ieee754_lgammal_r, __lgammal_r_finite)
+libm_alias_finite (__ieee754_lgammal_r, __lgammal_r)
index 7efaacd0ed385ec9518e01bd09d3dec63eacf6d0..bcf71f91e569205f27cf397f02d3078c18fa0573 100644 (file)
@@ -62,6 +62,7 @@
 
 #include <math.h>
 #include <math_private.h>
+#include <libm-alias-finite.h>
 
 /* Coefficients for ln(1+x) = x - x**2/2 + x**3 P(x)/Q(x)
  * 1/sqrt(2) <= x < sqrt(2)
@@ -258,4 +259,4 @@ done:
   z += e * L102A;
   return (z);
 }
-strong_alias (__ieee754_log10l, __log10l_finite)
+libm_alias_finite (__ieee754_log10l, __log10l)
index 57b4b68052ae342b4a728affabdb575e9c66149d..4b3ac26c6e140338816bd2aa65a34711082546a8 100644 (file)
@@ -61,6 +61,7 @@
 
 #include <math.h>
 #include <math_private.h>
+#include <libm-alias-finite.h>
 
 /* Coefficients for ln(1+x) = x - x**2/2 + x**3 P(x)/Q(x)
  * 1/sqrt(2) <= x < sqrt(2)
@@ -251,4 +252,4 @@ done:
   z += e;
   return (z);
 }
-strong_alias (__ieee754_log2l, __log2l_finite)
+libm_alias_finite (__ieee754_log2l, __log2l)
index 65e17cb73ce368a843fe123c6a67e54989e7ae4d..c7f0af47595c5c3f02fa384c000d879449dc49d5 100644 (file)
@@ -60,6 +60,7 @@
 
 #include <math.h>
 #include <math_private.h>
+#include <libm-alias-finite.h>
 
 /* log(1+x) = x - .5 x^2 + x^3 l(x)
    -.0078125 <= x <= +.0078125
@@ -297,4 +298,4 @@ __ieee754_logl(long double x)
   y += e * ln2a;
   return y;
 }
-strong_alias (__ieee754_logl, __logl_finite)
+libm_alias_finite (__ieee754_logl, __logl)
index df09c87662d7966f1ea2b848a5f6fea0883b42a9..74142a58e114b29825153310e6a8a3f7e8f39065 100644 (file)
@@ -67,6 +67,7 @@
 #include <math.h>
 #include <math_private.h>
 #include <math-underflow.h>
+#include <libm-alias-finite.h>
 
 static const long double bp[] = {
   1.0L,
@@ -413,4 +414,4 @@ __ieee754_powl (long double x, long double y)
   math_check_force_underflow (z);
   return z;
 }
-strong_alias (__ieee754_powl, __powl_finite)
+libm_alias_finite (__ieee754_powl, __powl)
index efa83bdab7d761d6255fba1a21c3523861366397..8a99c7984debf6c689315dd9fc03f60d8c979292 100644 (file)
@@ -23,6 +23,7 @@
 
 #include <math.h>
 #include <math_private.h>
+#include <libm-alias-finite.h>
 
 static const long double zero = 0.0L;
 
@@ -78,4 +79,4 @@ __ieee754_remainderl(long double x, long double p)
          x = -x;
        return x;
 }
-strong_alias (__ieee754_remainderl, __remainderl_finite)
+libm_alias_finite (__ieee754_remainderl, __remainderl)
index f869fb068cfdf4a88d090b3f0bad5c914d515297..f30d70101154f7ff5f91ea1ec6d3bf42242f12f9 100644 (file)
@@ -32,6 +32,7 @@
 #include <math.h>
 #include <math_private.h>
 #include <math-underflow.h>
+#include <libm-alias-finite.h>
 
 static const long double one = 1.0, shuge = 1.0e307;
 
@@ -77,4 +78,4 @@ __ieee754_sinhl(long double x)
     /* |x| > overflowthresold, sinh(x) overflow */
        return x*shuge;
 }
-strong_alias (__ieee754_sinhl, __sinhl_finite)
+libm_alias_finite (__ieee754_sinhl, __sinhl)
index 6b05d7beae5dad014a52c48c284d4742f00e302c..7bb7f3fdb89afb78b908b63eda19bb80c1f490e7 100644 (file)
@@ -33,6 +33,7 @@
 /*********************************************************************/
 
 #include <math_private.h>
+#include <libm-alias-finite.h>
 
 typedef union {int64_t i[2]; long double x; double d[2]; } mynumber;
 
@@ -99,4 +100,4 @@ long double __ieee754_sqrtl(long double x)
     return tm256*__ieee754_sqrtl(x*t512);
   }
 }
-strong_alias (__ieee754_sqrtl, __sqrtl_finite)
+libm_alias_finite (__ieee754_sqrtl, __sqrtl)
index 56b04d4cc43122e4e40f5d7c036932cfb050ba9c..0bdf4a998b09a92615db3cb149ce66111a4d18ec 100644 (file)
@@ -30,6 +30,7 @@
 
 #include <math.h>
 #include <math_private.h>
+#include <libm-alias-finite.h>
 
 static const long double
 one    = 1.0,
@@ -58,4 +59,4 @@ __ieee754_acoshl(long double x)
            return __log1pl(t+sqrtl(2.0*t+t*t));
        }
 }
-strong_alias (__ieee754_acoshl, __acoshl_finite)
+libm_alias_finite (__ieee754_acoshl, __acoshl)
index 1740bd6f43a631c055b653cf9bec3d552157e817..ed915ee0f27e7cc62b635a9fa229a146c7eb6fc8 100644 (file)
@@ -62,6 +62,7 @@
 #include <math.h>
 #include <math_private.h>
 #include <math-underflow.h>
+#include <libm-alias-finite.h>
 
 static const long double
   one = 1.0L,
@@ -155,4 +156,4 @@ __ieee754_asinl (long double x)
   else
     return -t;
 }
-strong_alias (__ieee754_asinl, __asinl_finite)
+libm_alias_finite (__ieee754_asinl, __asinl)
index 7312f84329db49c4787826b22f42fca72550e4cf..502ae7bb64e5855d3ebba1ec2676ccd55a417862 100644 (file)
@@ -37,6 +37,7 @@
 #include <math-barriers.h>
 #include <math_private.h>
 #include <math-underflow.h>
+#include <libm-alias-finite.h>
 
 static const long double one = 1.0, huge = 1e4900L;
 
@@ -68,4 +69,4 @@ __ieee754_atanhl(long double x)
            t = 0.5*__log1pl((x+x)/(one-x));
        if(se<=0x7fff) return t; else return -t;
 }
-strong_alias (__ieee754_atanhl, __atanhl_finite)
+libm_alias_finite (__ieee754_atanhl, __atanhl)
index 1edf2c154254f98ec97895458c55b3d6c16024a8..fa3e8f15a0e3129a78a4b3c925ec38a3fd8e3af5 100644 (file)
@@ -36,6 +36,7 @@ static char rcsid[] = "$NetBSD: e_cosh.c,v 1.7 1995/05/10 20:44:58 jtc Exp $";
 
 #include <math.h>
 #include <math_private.h>
+#include <libm-alias-finite.h>
 
 static const long double one = 1.0, half=0.5, huge = 1.0e4900L;
 
@@ -84,4 +85,4 @@ __ieee754_coshl (long double x)
     /* |x| >= log(2*maxdouble), cosh(x) overflow */
        return huge*huge;
 }
-strong_alias (__ieee754_coshl, __coshl_finite)
+libm_alias_finite (__ieee754_coshl, __coshl)
index c156962b17a11f5fd651d79aed9bdafde257594e..72639c05c2b8e28e78425baef7d676d4050a1276 100644 (file)
@@ -22,6 +22,7 @@
 #include <fenv_private.h>
 #include <math-underflow.h>
 #include <float.h>
+#include <libm-alias-finite.h>
 
 /* Coefficients B_2k / 2k(2k-1) of x^-(2k-1) inside exp in Stirling's
    approximation to gamma function.  */
@@ -209,4 +210,4 @@ __ieee754_gammal_r (long double x, int *signgamp)
   else
     return ret;
 }
-strong_alias (__ieee754_gammal_r, __gammal_r_finite)
+libm_alias_finite (__ieee754_gammal_r, __gammal_r)
index f664e30c987a3c18000ec1c34b1d3e7e7a20ac33..7cd487e8623b854503343e61d7c72f2888ac8011 100644 (file)
@@ -49,6 +49,7 @@
 #include <math.h>
 #include <math_private.h>
 #include <math-underflow.h>
+#include <libm-alias-finite.h>
 
 long double __ieee754_hypotl(long double x, long double y)
 {
@@ -140,4 +141,4 @@ long double __ieee754_hypotl(long double x, long double y)
            return w;
        } else return w;
 }
-strong_alias (__ieee754_hypotl, __hypotl_finite)
+libm_alias_finite (__ieee754_hypotl, __hypotl)
index 76258bdf2b85033739269c4a27e71c669bfc1a54..715f56fb0bf28fc9479646fb17ea6d00da39b5fa 100644 (file)
@@ -74,6 +74,7 @@
 #include <math.h>
 #include <math-barriers.h>
 #include <math_private.h>
+#include <libm-alias-finite.h>
 
 static long double pzero (long double), qzero (long double);
 
@@ -165,7 +166,7 @@ __ieee754_j0l (long double x)
       return ((one + u) * (one - u) + z * (r / s));
     }
 }
-strong_alias (__ieee754_j0l, __j0l_finite)
+libm_alias_finite (__ieee754_j0l, __j0l)
 
 
 /* y0(x) = 2/pi ln(x) J0(x) + U(x^2)/V(x^2)
@@ -256,7 +257,7 @@ __ieee754_y0l (long double x)
   v = V[0] + z * (V[1] + z * (V[2] + z * (V[3] + z * (V[4] + z))));
   return (u / v + tpi * (__ieee754_j0l (x) * __ieee754_logl (x)));
 }
-strong_alias (__ieee754_y0l, __y0l_finite)
+libm_alias_finite (__ieee754_y0l, __y0l)
 
 /* The asymptotic expansions of pzero is
  *     1 - 9/128 s^2 + 11025/98304 s^4 - ...,  where s = 1/x.
index c0e8d304fd0339e7a70d83ea7bdefa0799fe9c2a..2c967a6e563ac71263649efedc0bd87e14d0a0d3 100644 (file)
@@ -76,6 +76,7 @@
 #include <math.h>
 #include <math_private.h>
 #include <math-underflow.h>
+#include <libm-alias-finite.h>
 
 static long double pone (long double), qone (long double);
 
@@ -167,7 +168,7 @@ __ieee754_j1l (long double x)
   r *= x;
   return (x * 0.5 + r / s);
 }
-strong_alias (__ieee754_j1l, __j1l_finite)
+libm_alias_finite (__ieee754_j1l, __j1l)
 
 
 /* Y1(x) = 2/pi * (log(x) * j1(x) - 1/x) + x R(x^2)
@@ -254,7 +255,7 @@ __ieee754_y1l (long double x)
   return (x * (u / v) +
          tpi * (__ieee754_j1l (x) * __ieee754_logl (x) - one / x));
 }
-strong_alias (__ieee754_y1l, __y1l_finite)
+libm_alias_finite (__ieee754_y1l, __y1l)
 
 
 /* For x >= 8, the asymptotic expansions of pone is
index 06aed7c2872bffac8578045ae6264baebb8e6e76..ee0eff882d45c0921ab6d4afa5c58c6611db7bbe 100644 (file)
@@ -62,6 +62,7 @@
 #include <math_private.h>
 #include <fenv_private.h>
 #include <math-underflow.h>
+#include <libm-alias-finite.h>
 
 static const long double
   invsqrtpi = 5.64189583547756286948079e-1L, two = 2.0e0L, one = 1.0e0L;
@@ -301,7 +302,7 @@ __ieee754_jnl (int n, long double x)
     math_check_force_underflow (ret);
   return ret;
 }
-strong_alias (__ieee754_jnl, __jnl_finite)
+libm_alias_finite (__ieee754_jnl, __jnl)
 
 long double
 __ieee754_ynl (int n, long double x)
@@ -407,4 +408,4 @@ __ieee754_ynl (int n, long double x)
     ret = copysignl (LDBL_MAX, ret) * LDBL_MAX;
   return ret;
 }
-strong_alias (__ieee754_ynl, __ynl_finite)
+libm_alias_finite (__ieee754_ynl, __ynl)
index d2802692c0dcc1c591b9f3e61527761747a22523..c6f0e77057b0e36ffd7c43ab257dfdaa0123ac72 100644 (file)
@@ -94,6 +94,7 @@
 #include <math.h>
 #include <math_private.h>
 #include <libc-diag.h>
+#include <libm-alias-finite.h>
 
 static const long double
   half = 0.5L,
@@ -436,4 +437,4 @@ __ieee754_lgammal_r (long double x, int *signgamp)
   DIAG_POP_NEEDS_COMMENT;
   return r;
 }
-strong_alias (__ieee754_lgammal_r, __lgammal_r_finite)
+libm_alias_finite (__ieee754_lgammal_r, __lgammal_r)
index a4b39783bcca7d8aef10a52cbb407f929fed8a13..fcda8c660f9dbc53a4afc8fb44425e7112b2bc1e 100644 (file)
@@ -40,6 +40,7 @@ static char rcsid[] = "$NetBSD: $";
 #include <math.h>
 #include <math_private.h>
 #include <math-underflow.h>
+#include <libm-alias-finite.h>
 
 static const long double one = 1.0, shuge = 1.0e4931L;
 
@@ -85,4 +86,4 @@ __ieee754_sinhl(long double x)
     /* |x| > overflowthreshold, sinhl(x) overflow */
        return x*shuge;
 }
-strong_alias (__ieee754_sinhl, __sinhl_finite)
+libm_alias_finite (__ieee754_sinhl, __sinhl)
diff --git a/sysdeps/ieee754/libm-alias-finite.h b/sysdeps/ieee754/libm-alias-finite.h
new file mode 100644 (file)
index 0000000..95b8c04
--- /dev/null
@@ -0,0 +1,39 @@
+/* Finite math compatibility macros.
+   Copyright (C) 2020 Free Software Foundation, Inc.
+   This file is part of the GNU C Library.
+
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License as published by the Free Software Foundation; either
+   version 2.1 of the License, or (at your option) any later version.
+
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
+
+#ifndef _LIBM_ALIAS_FINITE_H
+#define _LIBM_ALIAS_FINITE_H
+
+#include <first-versions.h>
+#include <shlib-compat.h>
+
+/* The -ffinite-math symbols were added on GLIBC 2.15 and moved to compat
+   symbol so newer architectures do not require to support it.  */
+#if SHLIB_COMPAT (libm, GLIBC_2_15, GLIBC_2_31)
+# define libm_alias_finite(from, to)                           \
+  libm_alias_finite1(from, to)
+# define libm_alias_finite1(from, to)                          \
+compat_symbol (libm,                                           \
+              from,                                            \
+              to ## _finite,                                   \
+              FIRST_VERSION_libm_ ## to ## _finite);
+#else
+# define libm_alias_finite(from, to)
+#endif
+
+#endif
index 02ad2ac383cffd04c3bf0cffb804c4ef86a720f2..c67630d1b829d55fdca6cf060e77720634506ac7 100644 (file)
    License along with the GNU C Library.  If not, see
    <https://www.gnu.org/licenses/>.  */
 
+#include <libm-alias-finite.h>
+
 double
 __ieee754_sqrt (double x)
 {
   asm ("fdsqrt.d %1,%0" : "=f" (x) : "fm" (x));
   return x;
 }
-strong_alias (__ieee754_sqrt, __sqrt_finite)
+libm_alias_finite (__ieee754_sqrt, __sqrt)
index d3079f38f10c0efbaa7b056ae333b939c09bb031..c2e49289570aca329891f23d6a5111b7d72bc4be 100644 (file)
@@ -15,6 +15,8 @@
    License along with the GNU C Library.  If not, see
    <https://www.gnu.org/licenses/>.  */
 
+#include <libm-alias-finite.h>
+
 float
 __ieee754_sqrtf (float x)
 {
@@ -22,4 +24,4 @@ __ieee754_sqrtf (float x)
   asm ("fssqrt.s %1,%0" : "=f" (result) : "dm" (x));
   return result;
 }
-strong_alias (__ieee754_sqrtf, __sqrtf_finite)
+libm_alias_finite (__ieee754_sqrtf, __sqrtf)
index 870f190cd051fa600a70e5e264e4c033193c4e02..7fbd1238474d7ae8d23abd817e2d34c345ae2b38 100644 (file)
 #include <math.h>
 #include <math_private.h>
 #include "mathimpl.h"
+#include <libm-alias-finite.h>
 
 #ifndef        FUNC
 # define FUNC __ieee754_acos
-# define FUNC_FINITE __acos_finite
+# define FUNC_FINITE __acos
 #endif
 #ifndef float_type
 # define float_type double
@@ -33,5 +34,5 @@ FUNC (float_type x)
   return __m81_u(FUNC)(x);
 }
 #ifdef FUNC_FINITE
-strong_alias (FUNC, FUNC_FINITE)
+libm_alias_finite (FUNC, FUNC_FINITE)
 #endif
index 300fff601ee4761a74326c2a89d34eae6cbf29dc..b21d8b715d58bbefcda3e04fa55e6168ae6c85dc 100644 (file)
@@ -1,6 +1,6 @@
 #ifndef        FUNC
 # define FUNC __ieee754_acosf
-# define FUNC_FINITE __acosf_finite
+# define FUNC_FINITE __acosf
 #endif
 #define float_type float
 #include <e_acos.c>
index 35767f4e23af991304a3da394b1075f1d0f5c209..b1c2c70b5de3e2b6ffdab0f56c4ecc94e4031321 100644 (file)
@@ -1,6 +1,6 @@
 #ifndef FUNC
 # define FUNC __ieee754_acosl
-# define FUNC_FINITE __acosl_finite
+# define FUNC_FINITE __acosl
 #endif
 #define float_type long double
 #include <e_acos.c>
index 271a1f23d257a527e0dd17930679cb21bc975b4c..76f28680cb5f7414f7c0282d6e35e382ff705b75 100644 (file)
@@ -1,3 +1,3 @@
 #define        FUNC    __ieee754_asin
-#define        FUNC_FINITE __asin_finite
+#define        FUNC_FINITE __asin
 #include <e_acos.c>
index ece691c6fbd6efc9e8db69708c11d49a525866e3..db051be884d866119a0dbee8aa8e272ecc08240e 100644 (file)
@@ -1,3 +1,3 @@
 #define FUNC __ieee754_asinf
-#define FUNC_FINITE __asinf_finite
+#define FUNC_FINITE __asinf
 #include <e_acosf.c>
index 0c136f30eb07f6780f24d89b5f1de4f3b43114d7..d0aa4fa6582c1e1731fc96d03191aee9d84ce6d4 100644 (file)
@@ -1,3 +1,3 @@
 #define FUNC __ieee754_asinl
-#define FUNC_FINITE __asinl_finite
+#define FUNC_FINITE __asinl
 #include <e_acosl.c>
index d3b2bd1ecf515d874b53e2d6fbd4c43d46754946..74b9c551802f439331215dfbbc6b0f3929191794 100644 (file)
@@ -18,6 +18,7 @@
 #include <math.h>
 #include <math_private.h>
 #include "mathimpl.h"
+#include <libm-alias-finite.h>
 
 #ifndef SUFF
 #define SUFF
@@ -101,4 +102,4 @@ s(__ieee754_atan2) (float_type y, float_type x)
     }
   return z;
 }
-strong_alias (s(__ieee754_atan2), CONCATX (s (__atan2), _finite))
+libm_alias_finite (s(__ieee754_atan2), s (__atan2))
index f5f7e7b520d86cd6a7b52c42c9adc80ac581275e..50978bed34390979d929345b2881afc72d2c171f 100644 (file)
@@ -1,3 +1,3 @@
 #define FUNC __ieee754_atanh
-#define FUNC_FINITE __atanh_finite
+#define FUNC_FINITE __atanh
 #include <e_acos.c>
index cb464cbb7d5ab632a3d853b8a420b625ad9ab47d..d46ca735a025aad4f36af7b9ac1b07c3eec25b5b 100644 (file)
@@ -1,3 +1,3 @@
 #define FUNC __ieee754_atanhf
-#define        FUNC_FINITE __atanhf_finite
+#define        FUNC_FINITE __atanhf
 #include <e_acosf.c>
index 8f276f5fadf0b2208149e807e83c1563aa6578f4..0e58e14b3da3b942770e2684da4e5b9f1b4e6212 100644 (file)
@@ -1,3 +1,3 @@
 #define FUNC __ieee754_atanhl
-#define FUNC_FINITE __atanhl_finite
+#define FUNC_FINITE __atanhl
 #include <e_acosl.c>
index aaba11be3a8fd30c8ccca84b85fec264edb99d88..2da818bc6c3681b4c52f97d38da253fb4d60891d 100644 (file)
@@ -1,3 +1,3 @@
 #define FUNC __ieee754_cosh
-#define FUNC_FINITE __cosh_finite
+#define FUNC_FINITE __cosh
 #include <e_acos.c>
index 0884741c5c73f64238434d325abb354b87c09f68..11f3a20c61ba2adcb82e55e5d0b93784e99cbbc8 100644 (file)
@@ -1,3 +1,3 @@
 #define FUNC __ieee754_coshf
-#define FUNC_FINITE __coshf_finite
+#define FUNC_FINITE __coshf
 #include <e_acosf.c>
index 7fc9b7b91c09dc54555375f35c2cd9ce4fac119e..7fdc9337870fad4c94549bc3af706ed837fa68d4 100644 (file)
@@ -1,3 +1,3 @@
 #define FUNC __ieee754_coshl
-#define FUNC_FINITE __coshl_finite
+#define FUNC_FINITE __coshl
 #include <e_acosl.c>
index 9f228034a1d5bcaa7c5e6460cd31e3dcb4556ce6..a302e26ea4af385748f866eafbb56c3aac450137 100644 (file)
@@ -1,3 +1,3 @@
 #define FUNC __ieee754_exp
-#define FUNC_FINITE __exp_finite
+#define FUNC_FINITE __exp
 #include <e_acos.c>
index e66a80599cf461720d1345700b27343481a346c2..a2224acbe649de01a1ae425785234f3551ce65e2 100644 (file)
@@ -1,3 +1,3 @@
 #define FUNC __ieee754_exp10
-#define FUNC_FINITE __exp10_finite
+#define FUNC_FINITE __exp10
 #include <e_acos.c>
index 7a3bdd41861bd797adbfb1f87b1305faf4cb3f9c..f58fddd8a6ab876d407a69685d5e58474bd24384 100644 (file)
@@ -1,3 +1,3 @@
 #define FUNC __ieee754_exp10f
-#define FUNC_FINITE __exp10f_finite
+#define FUNC_FINITE __exp10f
 #include <e_acosf.c>
index e2a6255a760c98c7bfac290eb880aadcd790be8b..2051ed4971da3358b2cbac7f1936f6935d3d9476 100644 (file)
@@ -1,3 +1,3 @@
 #define FUNC __ieee754_exp10l
-#define FUNC_FINITE __exp10l_finite
+#define FUNC_FINITE __exp10l
 #include <e_acosl.c>
index 35e29ae653e8f963ce203b2abdb1ad5b0e915f9b..7ff26f0dc899004e68b0f9f458b9647e661fd269 100644 (file)
@@ -1,3 +1,3 @@
 #define FUNC __ieee754_exp2
-#define FUNC_FINITE __exp2_finite
+#define FUNC_FINITE __exp2
 #include <e_acos.c>
index e57ddb5365a5262a10ec314322806f5779bb4abb..68557e41ee61aad4f6b71c8bf76f9b3032b8d915 100644 (file)
@@ -1,3 +1,3 @@
 #define FUNC __ieee754_exp2f
-#define FUNC_FINITE __exp2f_finite
+#define FUNC_FINITE __exp2f
 #include <e_acosf.c>
index c5854ae42723da8653ec596ccddb0a66eb6e66c1..e3b191d8ff9d32067bfad36f515c65b6069895d6 100644 (file)
@@ -1,3 +1,3 @@
 #define FUNC __ieee754_exp2l
-#define FUNC_FINITE __exp2l_finite
+#define FUNC_FINITE __exp2l
 #include <e_acosl.c>
index af1e0195041c802daed41b6c8da6cd77cda71044..76aa5ff3d6fa5a800a695cf3b5c5d3f498297f53 100644 (file)
@@ -1,3 +1,3 @@
 #define FUNC __ieee754_expf
-#define FUNC_FINITE __expf_finite
+#define FUNC_FINITE __expf
 #include <e_acosf.c>
index 543eb0edf54824bb2e42f891aed1145761f917e0..b807c51bf5efd95e6ab69462bea7807a396b3b4d 100644 (file)
@@ -1,3 +1,3 @@
 #define FUNC __ieee754_expl
-#define FUNC_FINITE __expl_finite
+#define FUNC_FINITE __expl
 #include <e_acosl.c>
index 1fb40eda954e9e3336b1da152cbc5cf17c3bb721..08418f6e305381701b027cdf21876e0ddd31a707 100644 (file)
 #include <math.h>
 #include <math_private.h>
 #include "mathimpl.h"
+#include <libm-alias-finite.h>
 
 #ifndef FUNC
 # define FUNC __ieee754_fmod
-# define FUNC_FINITE __fmod_finite
+# define FUNC_FINITE __fmod
 #endif
 #ifndef float_type
 # define float_type double
@@ -33,5 +34,5 @@ FUNC (float_type x, float_type y)
   return __m81_u(FUNC)(x, y);
 }
 #ifdef FUNC_FINITE
-strong_alias (FUNC, FUNC_FINITE)
+libm_alias_finite (FUNC, FUNC_FINITE)
 #endif
index 38995c37682585a3e9215b0aa69f4e40fb7ffcf5..ffae68f17f5619f6535b006eca6df00abc2d6d82 100644 (file)
@@ -1,6 +1,6 @@
 #ifndef FUNC
 # define FUNC __ieee754_fmodf
-# define FUNC_FINITE __fmodf_finite
+# define FUNC_FINITE __fmodf
 #endif
 #define float_type float
 #include <e_fmod.c>
index 8d793b2de783d53925fc041a3eb4c7290ecf7e1a..8f1cbabda636b4b4847025fa4f1a526d7007c08c 100644 (file)
@@ -1,6 +1,6 @@
 #ifndef FUNC
 # define FUNC __ieee754_fmodl
-# define FUNC_FINITE __fmodl_finite
+# define FUNC_FINITE __fmodl
 #endif
 #define float_type long double
 #include <e_fmod.c>
index 628c62b31a29f609433b60e59078830626aa07a2..acc113b9528bd6b80b4ba229b61bd05cb63d6357 100644 (file)
@@ -1,3 +1,3 @@
 #define FUNC __ieee754_log
-#define FUNC_FINITE __log_finite
+#define FUNC_FINITE __log
 #include <e_acos.c>
index 78e0693e9dedcb9194dc96c911061f422972e44d..11ff6c2801607fe095902b0805c4fdb6c00ce027 100644 (file)
@@ -1,3 +1,3 @@
 #define FUNC __ieee754_log10
-#define FUNC_FINITE __log10_finite
+#define FUNC_FINITE __log10
 #include <e_acos.c>
index 452a75ec15c7876322220d2e3b8d3f4fcbdd93ec..fd54c47da4a6dae48b14d5f5f1525fa31766e75b 100644 (file)
@@ -1,3 +1,3 @@
 #define FUNC __ieee754_log10f
-#define FUNC_FINITE __log10f_finite
+#define FUNC_FINITE __log10f
 #include <e_acosf.c>
index 7c5dcb8e18510bf74393b53c065621699609149d..5807d3d50a45a7fda6b90bd0c5188bd3a5e5a950 100644 (file)
@@ -1,3 +1,3 @@
 #define FUNC __ieee754_log10l
-#define FUNC_FINITE __log10l_finite
+#define FUNC_FINITE __log10l
 #include <e_acosl.c>
index a00ddbdc9600c0f18a7c35a7d9160bdb1de34c56..74610e58f60fc206c2ac55a0309755d24591857b 100644 (file)
@@ -1,3 +1,3 @@
 #define FUNC __ieee754_log2
-#define FUNC_FINITE __log2_finite
+#define FUNC_FINITE __log2
 #include <e_acos.c>
index 670b69c8a9983e3efc561e72a96729526ccdd891..77ea067429b5049ccc00010e4275df59ef72d1d1 100644 (file)
@@ -1,3 +1,3 @@
 #define FUNC __ieee754_log2f
-#define FUNC_FINITE __log2f_finite
+#define FUNC_FINITE __log2f
 #include <e_acosf.c>
index 4a97a00235fb32d50c8325e0f20c3b15703295e0..72e6bf4fadee11a691176280978ab2d2b87942c0 100644 (file)
@@ -1,3 +1,3 @@
 #define FUNC __ieee754_log2l
-#define FUNC_FINITE __log2l_finite
+#define FUNC_FINITE __log2l
 #include <e_acosl.c>
index 1989a95431c88388168537abb99a886fd114419d..0fa0311dde08338059ba61a5d7fe7ea410549851 100644 (file)
@@ -1,3 +1,3 @@
 #define FUNC __ieee754_logf
-#define FUNC_FINITE __logf_finite
+#define FUNC_FINITE __logf
 #include <e_acosf.c>
index 9ab842c3fcdb76c160b64dd76f5f1336d02eb3ad..322ebdab85d36145968676c8bf305ecab2da8837 100644 (file)
@@ -1,3 +1,3 @@
 #define FUNC __ieee754_logl
-#define FUNC_FINITE __logl_finite
+#define FUNC_FINITE __logl
 #include <e_acosl.c>
index d30d8452dc8a9f358ed3a27fda1406871d5108d2..b073d8803730f77379151314c28815cf0f66eccf 100644 (file)
@@ -18,6 +18,7 @@
 #include <math.h>
 #include <math_private.h>
 #include "mathimpl.h"
+#include <libm-alias-finite.h>
 
 #ifndef SUFF
 #define SUFF
@@ -123,4 +124,4 @@ s(__ieee754_pow) (float_type x, float_type y)
     z = m81(__ieee754_exp) (y * m81(__ieee754_log) (x));
   return z;
 }
-strong_alias (s(__ieee754_pow), CONCATX (s(__pow), _finite))
+libm_alias_finite (s(__ieee754_pow), s (__pow))
index f7732af8c58b8b0455c5d166368a53094e14cbf2..cc1422c48b393f5625c423a7b9f0e60cf568b192 100644 (file)
@@ -1,3 +1,3 @@
 #define FUNC __ieee754_remainder
-#define FUNC_FINITE __remainder_finite
+#define FUNC_FINITE __remainder
 #include <e_fmod.c>
index 94b53e7a802556a0f7b9dcdc82ac260415eb57df..77f1f029b06569e07e0164f2728c42a549cc1063 100644 (file)
@@ -1,3 +1,3 @@
 #define FUNC __ieee754_remainderf
-#define FUNC_FINITE __remainderf_finite
+#define FUNC_FINITE __remainderf
 #include <e_fmodf.c>
index d5b59607ab4cc0c68095c4bbb59f180ee7ee470a..ce3490a5ec7aad1ad9cd43aa2e76a62fe9993bb4 100644 (file)
@@ -1,3 +1,3 @@
 #define FUNC __ieee754_remainderl
-#define FUNC_FINITE __remainderl_finite
+#define FUNC_FINITE __remainderl
 #include <e_fmodl.c>
index eea705cfde2f072a80a10ca9075c22cfd69c63b5..b1be8607cb8d5d126f2615f28ab8d1fdb3b35d5d 100644 (file)
@@ -19,6 +19,7 @@
 #include <math.h>
 #include <math_private.h>
 #include "mathimpl.h"
+#include <libm-alias-finite.h>
 
 #ifndef SUFF
 #define SUFF
@@ -57,4 +58,4 @@ s(__ieee754_scalb) (float_type x, float_type fn)
   __asm ("fscale%.x %1, %0" : "=f" (retval) : "f" (fn), "0" (x));
   return retval;
 }
-strong_alias (s(__ieee754_scalb), CONCATX (s(__scalb), _finite))
+libm_alias_finite (s(__ieee754_scalb), s (__scalb))
index 1e1b1c118077cb49207ce926c772155d8747cc02..3ab63c52da6ca879a0d0dcdadaa5c0bc99a1eda7 100644 (file)
@@ -1,3 +1,3 @@
 #define FUNC __ieee754_sinh
-#define FUNC_FINITE __sinh_finite
+#define FUNC_FINITE __sinh
 #include <e_acos.c>
index 13c79f9d96e85bd698173743fe863dba41f76413..20f460b8bf30f92197d904b7da64e5112e1e373a 100644 (file)
@@ -1,3 +1,3 @@
 #define FUNC __ieee754_sinhf
-#define FUNC_FINITE __sinhf_finite
+#define FUNC_FINITE __sinhf
 #include <e_acosf.c>
index 47f0f244011998e2dbfdfc42eb735b3cc9f3cb66..bf85464405035c66d65b1c9616b289bc2b87e200 100644 (file)
@@ -1,3 +1,3 @@
 #define FUNC __ieee754_sinhl
-#define FUNC_FINITE __sinhl_finite
+#define FUNC_FINITE __sinhl
 #include <e_acosl.c>
index 9a250cbc252593ea01d1c432b65b787b22bbb7c0..57a90d853d7cecfadadc5bf7f4a0c1fd478466c5 100644 (file)
@@ -1,3 +1,3 @@
 #define FUNC __ieee754_sqrt
-#define FUNC_FINITE __sqrt_finite
+#define FUNC_FINITE __sqrt
 #include <e_acos.c>
index 372c3eb2f41b3dc99f18410fd8814beb9c27a775..8681e29fae3bcd108cf570b1779a7d8c74256cca 100644 (file)
@@ -1,3 +1,3 @@
 #define FUNC __ieee754_sqrtf
-#define FUNC_FINITE __sqrtf_finite
+#define FUNC_FINITE __sqrtf
 #include <e_acosf.c>
index df5f44e6a734c86bb1c43cf5422617e8cbf2c4c1..6a109d2410c3436afa4cf422ce01998c633e15dc 100644 (file)
@@ -1,3 +1,3 @@
 #define FUNC __ieee754_sqrtl
-#define FUNC_FINITE __sqrtl_finite
+#define FUNC_FINITE __sqrtl
 #include <e_acosl.c>
index 20cf6e6703d72baa847661e2b2b7cb605692ff7b..47488e993ccfa327d0a8d8f31cfd71b23f056c49 100644 (file)
@@ -18,7 +18,7 @@
 
 
 #include <sgidefs.h>
-
+#include <libm-alias-finite.h>
 
 #if (_MIPS_ISA >= _MIPS_ISA_MIPS2)
 
@@ -29,7 +29,7 @@ __ieee754_sqrt (double x)
   __asm__ ("sqrt.d %0,%1" : "=f" (z) : "f" (x));
   return z;
 }
-strong_alias (__ieee754_sqrt, __sqrt_finite)
+libm_alias_finite (__ieee754_sqrt, __sqrt)
 
 #else
 
index a91e330c13cc660e7c005a5510d9ca27737a8372..dc33788bf3e4a8b20a609c1d65c143c9c60d81aa 100644 (file)
@@ -18,7 +18,7 @@
 
 
 #include <sgidefs.h>
-
+#include <libm-alias-finite.h>
 
 #if (_MIPS_ISA >= _MIPS_ISA_MIPS2)
 
@@ -29,7 +29,7 @@ __ieee754_sqrtf (float x)
   __asm__ ("sqrt.s %0,%1" : "=f" (z) : "f" (x));
   return z;
 }
-strong_alias (__ieee754_sqrtf, __sqrtf_finite)
+libm_alias_finite (__ieee754_sqrtf, __sqrtf)
 
 #else
 
index 761fc186f2fa1b833b19aa91d1e02ce5484dec23..4f8e6e45ef2c8bf013f646062c76ad7435dc9d13 100644 (file)
@@ -21,6 +21,7 @@
 #include <stdlib.h>
 #include <soft-fp.h>
 #include <quad.h>
+#include <libm-alias-finite.h>
 
 long double
 __ieee754_sqrtl (const long double a)
@@ -36,4 +37,4 @@ __ieee754_sqrtl (const long double a)
   FP_HANDLE_EXCEPTIONS;
   return c;
 }
-strong_alias (__ieee754_sqrtl, __sqrtl_finite)
+libm_alias_finite (__ieee754_sqrtl, __sqrtl)
index 0466b222326fabb9a0c47ac5424beddc1640c5c2..df594412c58c96ffec17b6b89392fa64d0bdbdca 100644 (file)
@@ -21,6 +21,7 @@
 #include <math_private.h>
 #include <math-underflow.h>
 #include <stdint.h>
+#include <libm-alias-finite.h>
 
 /* __ieee754_hypot(x,y)
  *
@@ -82,4 +83,6 @@ __ieee754_hypot (double x, double y)
     }
   return sqrt (x * x + y * y);
 }
-strong_alias (__ieee754_hypot, __hypot_finite)
+#ifndef __ieee754_hypot
+libm_alias_finite (__ieee754_hypot, __hypot)
+#endif
index 4fe9bbf9e0c51e388eb7ed7eccf7b9a7b539f197..acfe29b2acdb4789627708d072d5704978c031e5 100644 (file)
@@ -20,6 +20,7 @@
 #include <math.h>
 #include <math_private.h>
 #include <stdint.h>
+#include <libm-alias-finite.h>
 
 /* __ieee754_hypotf(x,y)
 
@@ -73,4 +74,6 @@ __ieee754_hypotf (float x, float y)
 
   return sqrt ((double) x * x + (double) y * y);
 }
-strong_alias (__ieee754_hypotf, __hypotf_finite)
+#ifndef __ieee754_hypotf
+libm_alias_finite (__ieee754_hypotf, __hypotf)
+#endif
index 1e584c5b448093ae334aa834f271462ac52845ec..a47f77966fe7fc50112084bf4979e9b4aae05d1c 100644 (file)
@@ -24,6 +24,7 @@
 #include <stdint.h>
 #include <sysdep.h>
 #include <ldsodefs.h>
+#include <libm-alias-finite.h>
 
 #ifndef _ARCH_PPCSQ
 static const double almost_half = 0.5000000000000001;  /* 0.5 + 2^-53 */
@@ -173,4 +174,4 @@ __ieee754_sqrt (double x)
 
   return z;
 }
-strong_alias (__ieee754_sqrt, __sqrt_finite)
+libm_alias_finite (__ieee754_sqrt, __sqrt)
index 25273f19fb0255cdc9898a8850f99cec0c0cb934..f119dcf5d939a30a4bdc2b438857a636d1439608 100644 (file)
@@ -24,6 +24,7 @@
 #include <stdint.h>
 #include <sysdep.h>
 #include <ldsodefs.h>
+#include <libm-alias-finite.h>
 
 #ifndef _ARCH_PPCSQ
 static const float almost_half = 0.50000006;   /* 0.5 + 2^-24 */
@@ -148,4 +149,4 @@ __ieee754_sqrtf (float x)
 
   return z;
 }
-strong_alias (__ieee754_sqrtf, __sqrtf_finite)
+libm_alias_finite (__ieee754_sqrtf, __sqrtf)
index 9854219e0737ad30621dc01f9fb51a59da48eb02..4d5db60a18d3a8d878f7fd6b435435adca13fab3 100644 (file)
@@ -18,9 +18,6 @@
 
 #include <math.h>
 
-#undef strong_alias
-#define strong_alias(a, b)
-
 #define __ieee754_hypot __ieee754_hypot_power7
 
 #include <sysdeps/powerpc/fpu/e_hypot.c>
index 5843ec17879e6113dfde7dbcd850960927fb6bc2..4df81e4aa7f4e98ce1961dd688b750a252f3f342 100644 (file)
@@ -18,9 +18,6 @@
 
 #include <math.h>
 
-#undef strong_alias
-#define strong_alias(a, b)
-
 #define __ieee754_hypot __ieee754_hypot_ppc32
 
 #include <sysdeps/powerpc/fpu/e_hypot.c>
index 9bf7fb12d9ce129038c74d31a89f406364d146e6..a6c9b0658bbb2cc71b21f16eb16a85331f35b0c4 100644 (file)
@@ -19,7 +19,7 @@
 #include <math.h>
 #include <math_private.h>
 #include <math_ldbl_opt.h>
-#include <shlib-compat.h>
+#include <libm-alias-finite.h>
 #include "init-arch.h"
 
 extern __typeof (__ieee754_hypot) __ieee754_hypot_ppc32 attribute_hidden;
@@ -30,4 +30,4 @@ libc_ifunc (__ieee754_hypot,
            ? __ieee754_hypot_power7
             : __ieee754_hypot_ppc32);
 
-strong_alias (__ieee754_hypot, __hypot_finite)
+libm_alias_finite (__ieee754_hypot, __hypot)
index d45b17cb4e6f92b5fc2d691bc73cebb27e493554..fa3efaeffc3a13540703b6c5bed40a518c2de0d1 100644 (file)
@@ -18,9 +18,6 @@
 
 #include <math.h>
 
-#undef strong_alias
-#define strong_alias(a, b)
-
 #define __ieee754_hypotf __ieee754_hypotf_power7
 
 #include <sysdeps/powerpc/fpu/e_hypotf.c>
index 6d81381638b707cc341c61c30a6fbcfab0c45891..ff0c8084ca3bd1dbf0da9a5c26b8bf223201ca5d 100644 (file)
@@ -18,9 +18,6 @@
 
 #include <math.h>
 
-#undef strong_alias
-#define strong_alias(a, b)
-
 #define __ieee754_hypotf __ieee754_hypotf_ppc32
 
 #include <sysdeps/ieee754/flt-32/e_hypotf.c>
index 48be6ff54f82d5f982986002bfb20dc334cd5e91..130b51f3378edf6417f250389213b315c989ed2a 100644 (file)
@@ -19,7 +19,7 @@
 #include <math.h>
 #include <math_private.h>
 #include <math_ldbl_opt.h>
-#include <shlib-compat.h>
+#include <libm-alias-finite.h>
 #include "init-arch.h"
 
 extern __typeof (__ieee754_hypotf) __ieee754_hypotf_ppc32 attribute_hidden;
@@ -30,4 +30,4 @@ libc_ifunc (__ieee754_hypotf,
            ? __ieee754_hypotf_power7
             : __ieee754_hypotf_ppc32);
 
-strong_alias (__ieee754_hypotf, __hypotf_finite)
+libm_alias_finite (__ieee754_hypotf, __hypotf)
index 32c948c50872e59cc68a1c1b1d860f8f3a13df4f..950bdad54aee2b9f21ad246825f5da733bf7e008 100644 (file)
@@ -27,6 +27,7 @@
    <https://www.gnu.org/licenses/>.  */
 
 #include <math.h>
+#include <libm-alias-finite.h>
 
 /* Unavoidable hacks since TFmode is assumed to be binary128 when
    -mabi=ibmlongdouble is used.  */
@@ -53,4 +54,4 @@ __ieee754_sqrtf128 (__float128 a)
   FP_HANDLE_EXCEPTIONS;
   return r;
 }
-strong_alias (__ieee754_sqrtf128, __sqrtf128_finite)
+libm_alias_finite (__ieee754_sqrtf128, __sqrtf128)
index 9784f8dfb61c52043eaceeab9c717311bf649921..232fc773c309d36ee47b253c3837042e84e603d7 100644 (file)
@@ -26,6 +26,8 @@
    License along with the GNU C Library; if not, see
    <https://www.gnu.org/licenses/>.  */
 
+#include <libm-alias-finite.h>
+
 __float128
 __ieee754_sqrtf128 (__float128 a)
 {
@@ -33,4 +35,4 @@ __ieee754_sqrtf128 (__float128 a)
   asm ("xssqrtqp %0,%1" : "=v" (z) : "v" (a));
   return z;
 }
-strong_alias (__ieee754_sqrtf128, __sqrtf128_finite)
+libm_alias_finite (__ieee754_sqrtf128, __sqrtf128)
index e502fe33844be5e7912757053d760d2cdcccf2c0..18fe5f9a06a59c62adb6d41c9f674dc00eb7ba73 100644 (file)
@@ -19,6 +19,7 @@
 #include <stdlib.h>
 #include <soft-fp/soft-fp.h>
 #include <soft-fp/quad.h>
+#include <libm-alias-finite.h>
 
 long double
 __ieee754_sqrtl (const long double a)
@@ -34,4 +35,4 @@ __ieee754_sqrtl (const long double a)
   FP_HANDLE_EXCEPTIONS;
   return c;
 }
-strong_alias (__ieee754_sqrtl, __sqrtl_finite)
+libm_alias_finite (__ieee754_sqrtl, __sqrtl)
index 110d6f63a6976a33c72c54d82c564a9146565538..7defcb5785c6cf3edb2f6fe800a6ee4965febb19 100644 (file)
@@ -17,6 +17,7 @@
    <https://www.gnu.org/licenses/>.  */
 
 #include <math.h>
+#include <libm-alias-finite.h>
 
 double
 __ieee754_sqrt (double x)
@@ -24,4 +25,4 @@ __ieee754_sqrt (double x)
   asm ("fsqrt.d %0, %1" : "=f" (x) : "f" (x));
   return x;
 }
-strong_alias (__ieee754_sqrt, __sqrt_finite)
+libm_alias_finite (__ieee754_sqrt, __sqrt)
index 4d3ce1b668bde10e4afcce3ad154fc3e51f42656..04835e3e530757f40d5e12f26df07d460aa6216c 100644 (file)
@@ -17,6 +17,7 @@
    <https://www.gnu.org/licenses/>.  */
 
 #include <math.h>
+#include <libm-alias-finite.h>
 
 float
 __ieee754_sqrtf (float x)
@@ -24,4 +25,4 @@ __ieee754_sqrtf (float x)
   asm ("fsqrt.s %0, %1" : "=f" (x) : "f" (x));
   return x;
 }
-strong_alias (__ieee754_sqrtf, __sqrtf_finite)
+libm_alias_finite (__ieee754_sqrtf, __sqrtf)
index 6113dc12c90ad4e156e21d016cb191ff355f225c..484c6aae953c9926421ed1a8cfc59218b7d7634b 100644 (file)
@@ -17,6 +17,7 @@
    <https://www.gnu.org/licenses/>.  */
 
 #include <math_private.h>
+#include <libm-alias-finite.h>
 
 double
 __ieee754_sqrt (double x)
@@ -26,4 +27,4 @@ __ieee754_sqrt (double x)
   __asm__ ( "sqdbr %0,%1" : "=f" (res) : "f" (x) );
   return res;
 }
-strong_alias (__ieee754_sqrt, __sqrt_finite)
+libm_alias_finite (__ieee754_sqrt, __sqrt)
index 8209d6a479d29fb7e6353bcbefddcb3b960118d0..bce49c90f17f4b73924b6008c0417106e858b42b 100644 (file)
@@ -17,6 +17,7 @@
    <https://www.gnu.org/licenses/>.  */
 
 #include <math_private.h>
+#include <libm-alias-finite.h>
 
 float
 __ieee754_sqrtf (float x)
@@ -26,4 +27,4 @@ __ieee754_sqrtf (float x)
   __asm__ ( "sqebr %0,%1" : "=f" (res) : "f" (x) );
   return res;
 }
-strong_alias (__ieee754_sqrtf, __sqrtf_finite)
+libm_alias_finite (__ieee754_sqrtf, __sqrtf)
index 28ee9a40171f1c7b370a8eb78a47fcab9c039e67..ecf209042434f2c36066402a371a35a55c742689 100644 (file)
@@ -18,6 +18,7 @@
    <https://www.gnu.org/licenses/>.  */
 
 #include <math_private.h>
+#include <libm-alias-finite.h>
 
 long double
 __ieee754_sqrtl (long double x)
@@ -27,4 +28,4 @@ __ieee754_sqrtl (long double x)
   __asm__ ( "sqxbr %0,%1" : "=f" (res) : "f" (x) );
   return res;
 }
-strong_alias (__ieee754_sqrtl, __sqrtl_finite)
+libm_alias_finite (__ieee754_sqrtl, __sqrtl)
index 5556e2b3444f751f7af3c960b5124be28b22f415..e8a42c4d7befbb83d636df8c68bb3a4d4775084e 100644 (file)
@@ -17,6 +17,7 @@
 
 #include <errno.h>
 #include <math.h>
+#include <libm-alias-finite.h>
 
 #ifndef        __GNUC__
   #error This file uses GNU C extensions; you must compile with GCC.
@@ -30,4 +31,4 @@ __ieee754_sqrt (double x)
   asm ("fsqrtd %1, %0" : "=f" (result) : "f" (x));
   return result;
 }
-strong_alias (__ieee754_sqrt, __sqrt_finite)
+libm_alias_finite (__ieee754_sqrt, __sqrt)
index 2155759ad158a5ea17995712d97c8093978f4b95..78c3c2794eabb1cdd7bce6cc298a23070b7bd037 100644 (file)
@@ -18,6 +18,7 @@
    <https://www.gnu.org/licenses/>.  */
 
 #include <math.h>
+#include <libm-alias-finite.h>
 
 extern void _Qp_sqrt(long double *, const long double *);
 
@@ -28,4 +29,4 @@ __ieee754_sqrtl (long double x)
   _Qp_sqrt (&ret, &x);
   return ret;
 }
-strong_alias (__ieee754_sqrtl, __sqrtl_finite)
+libm_alias_finite (__ieee754_sqrtl, __sqrtl)
index d94122b79d129e3a2d0231b98920978fe6aaa06d..3eeb94872701e8a80b777f2658c263f4e0e01f0f 100644 (file)
@@ -28,6 +28,7 @@
 
 #include <soft-fp.h>
 #include <quad.h>
+#include <libm-alias-finite.h>
 
 __float128
 __ieee754_sqrtf128 (__float128 a)
@@ -44,4 +45,4 @@ __ieee754_sqrtf128 (__float128 a)
   FP_HANDLE_EXCEPTIONS;
   return r;
 }
-strong_alias (__ieee754_sqrtf128, __sqrtf128_finite)
+libm_alias_finite (__ieee754_sqrtf128, __sqrtf128)
index 0e059b7565ad964104b48c8b518c7fa3553bf960..f16760840b2433128447b8c14995db7533ac833a 100644 (file)
@@ -7,6 +7,7 @@
 
 #include <machine/asm.h>
 #include <x86_64-math-asm.h>
+#include <libm-alias-finite.h>
 
 DEFINE_LDBL_MIN
 
@@ -55,4 +56,4 @@ ENTRY(__ieee754_exp2l)
        fldz                            /* Set result to 0.  */
 2:     ret
 END (__ieee754_exp2l)
-strong_alias (__ieee754_exp2l, __exp2l_finite)
+libm_alias_finite (__ieee754_exp2l, __exp2l)
index b75a10380328c0a7f4d67b73d572abb121146cf0..9835ac2a3bbea086e97b6ab785409c27499672dd 100644 (file)
@@ -25,6 +25,7 @@
 #include <libm-alias-ldouble.h>
 #include <machine/asm.h>
 #include <x86_64-math-asm.h>
+#include <libm-alias-finite.h>
 
 #ifdef USE_AS_EXP10L
 # define IEEE754_EXPL __ieee754_exp10l
@@ -212,9 +213,12 @@ ENTRY(IEEE754_EXPL)
        fadd    %st
        ret
 END(IEEE754_EXPL)
+
 #ifdef USE_AS_EXPM1L
 libm_hidden_def (__expm1l)
 libm_alias_ldouble (__expm1, expm1)
+#elif defined USE_AS_EXP10L
+libm_alias_finite (__ieee754_exp10l, __exp10l)
 #else
-strong_alias (IEEE754_EXPL, EXPL_FINITE)
+libm_alias_finite (__ieee754_expl, __expl)
 #endif
index 07c50df8d12678eeea168ac7ae12f56d5067fdb1..a06ad6833bc5036d6870717f393f4cf069418d2a 100644 (file)
@@ -7,6 +7,7 @@
  */
 
 #include <machine/asm.h>
+#include <libm-alias-finite.h>
 
 RCSID("$NetBSD: $")
 
@@ -20,4 +21,4 @@ ENTRY(__ieee754_fmodl)
        fstp    %st(1)
        ret
 END (__ieee754_fmodl)
-strong_alias (__ieee754_fmodl, __fmodl_finite)
+libm_alias_finite (__ieee754_fmodl, __fmodl)
index e0cb88e32e35d5ff5cb356a8b6d23b7a291d7b93..552bc00ad09f727b84b33b50df8efa45d9cf84f6 100644 (file)
@@ -9,6 +9,7 @@
  */
 
 #include <machine/asm.h>
+#include <libm-alias-finite.h>
 
        .section .rodata.cst8,"aM",@progbits,8
 
@@ -90,3 +91,4 @@ ENTRY(__log10l_finite)
        fyl2xp1                 // log10(x)
        ret
 END(__log10l_finite)
+libm_alias_finite (__log10l_finite, __log10l)
index 023ec29164cddda9f61d61a6ace6802d4665fb09..1459cef3d7c81a8415ed262b39457dbb07d0fc65 100644 (file)
@@ -8,6 +8,7 @@
  */
 
 #include <machine/asm.h>
+#include <libm-alias-finite.h>
 
        .section .rodata.cst8,"aM",@progbits,8
 
@@ -89,3 +90,4 @@ ENTRY(__log2l_finite)
        fyl2xp1                 // log(x)
        ret
 END (__log2l_finite)
+libm_alias_finite (__log2l_finite, __log2l)
index 0d3576f48bafda8a2580b3e02669e36330b1b9e9..37cd5b6ae958e8c1c5a09f280e0b23052ef8beab 100644 (file)
@@ -7,7 +7,7 @@
  */
 
 #include <machine/asm.h>
-
+#include <libm-alias-finite.h>
 
        .section .rodata.cst8,"aM",@progbits,8
 
@@ -92,3 +92,4 @@ ENTRY(__logl_finite)
        fyl2xp1                 // log(x)
        ret
 END (__logl_finite)
+libm_alias_finite (__logl_finite, __logl)
index dd84af5ac535dc254f6a99979e928586d37e3a31..e88570cda4aa7df0d910b8dad75fadc164b4baa4 100644 (file)
@@ -19,6 +19,7 @@
 
 #include <machine/asm.h>
 #include <x86_64-math-asm.h>
+#include <libm-alias-finite.h>
 
        .section .rodata.cst8,"aM",@progbits,8
 
@@ -430,4 +431,4 @@ ENTRY(__ieee754_powl)
        ret
 
 END(__ieee754_powl)
-strong_alias (__ieee754_powl, __powl_finite)
+libm_alias_finite (__ieee754_powl, __powl)
index 4ee0910912fc65f5fab52a16c3f7d3c9aafdbd25..994bfb3e80d762bf3d1d274f8fdb4b7fc63b434d 100644 (file)
@@ -7,6 +7,7 @@
  */
 
 #include <machine/asm.h>
+#include <libm-alias-finite.h>
 
 ENTRY(__ieee754_remainderl)
        fldt    24(%rsp)
@@ -18,4 +19,4 @@ ENTRY(__ieee754_remainderl)
        fstp    %st(1)
        ret
 END (__ieee754_remainderl)
-strong_alias (__ieee754_remainderl, __remainderl_finite)
+libm_alias_finite (__ieee754_remainderl, __remainderl)
index 2982dc3b9e7cb0d9b2bffaf6744eed42b8213738..c13cba4b13f40f85b83ced1fb974d21341872cb6 100644 (file)
@@ -9,6 +9,7 @@
  */
 
 #include <machine/asm.h>
+#include <libm-alias-finite.h>
 
        .section .rodata
 
@@ -86,4 +87,4 @@ ENTRY(__ieee754_scalbl)
        fdiv    %st
        ret
 END(__ieee754_scalbl)
-strong_alias (__ieee754_scalbl, __scalbl_finite)
+libm_alias_finite (__ieee754_scalbl, __scalbl)
index 7b62c80626e6de576dce1172bb65e8860b7499b9..c1708f9b65711439fcf6909167566fbe20dbc165 100644 (file)
@@ -17,6 +17,7 @@
    <https://www.gnu.org/licenses/>.  */
 
 #include <math_private.h>
+#include <libm-alias-finite.h>
 
 #undef __ieee754_sqrt
 double
@@ -28,4 +29,4 @@ __ieee754_sqrt (double x)
 
   return res;
 }
-strong_alias (__ieee754_sqrt, __sqrt_finite)
+libm_alias_finite (__ieee754_sqrt, __sqrt)
index 200225018489cb7d0c22f2a413cf66d27c4c9eb3..6155c7be24207edc682817af0f3d09d8aca20f0c 100644 (file)
@@ -17,6 +17,7 @@
    <https://www.gnu.org/licenses/>.  */
 
 #include <math_private.h>
+#include <libm-alias-finite.h>
 
 #undef __ieee754_sqrtf
 float
@@ -28,4 +29,4 @@ __ieee754_sqrtf (float x)
 
   return res;
 }
-strong_alias (__ieee754_sqrtf, __sqrtf_finite)
+libm_alias_finite (__ieee754_sqrtf, __sqrtf)
index bcd4a973d647a3efe6a414cdfcd9be5786709411..7cdb069e6593f115557c89a0fbedb46467b48cb6 100644 (file)
@@ -16,6 +16,8 @@
    License along with the GNU C Library; if not, see
    <https://www.gnu.org/licenses/>.  */
 
+#include <libm-alias-finite.h>
+
 extern double __redirect_ieee754_asin (double);
 extern double __redirect_ieee754_acos (double);
 
@@ -24,7 +26,7 @@ extern double __redirect_ieee754_acos (double);
 
 libc_ifunc_redirected (__redirect_ieee754_asin, __ieee754_asin,
                       IFUNC_SELECTOR ());
-strong_alias (__ieee754_asin, __asin_finite)
+libm_alias_finite (__ieee754_asin, __asin)
 
 #undef SYMBOL_NAME
 #define SYMBOL_NAME ieee754_acos
@@ -32,8 +34,7 @@ strong_alias (__ieee754_asin, __asin_finite)
 
 libc_ifunc_redirected (__redirect_ieee754_acos, __ieee754_acos,
                       IFUNC_SELECTOR ());
-strong_alias (__ieee754_acos, __acos_finite)
-
+libm_alias_finite (__ieee754_acos, __acos)
 
 #define __ieee754_acos __ieee754_acos_sse2
 #define __ieee754_asin __ieee754_asin_sse2
index dfd9b4eedec42c7bd359c902dae978c11a62be5e..f06e980b1c6c5acdfbd822053eebb063ace7dc45 100644 (file)
@@ -16,6 +16,8 @@
    License along with the GNU C Library; if not, see
    <https://www.gnu.org/licenses/>.  */
 
+#include <libm-alias-finite.h>
+
 extern double __redirect_ieee754_atan2 (double, double);
 
 #define SYMBOL_NAME ieee754_atan2
@@ -23,7 +25,7 @@ extern double __redirect_ieee754_atan2 (double, double);
 
 libc_ifunc_redirected (__redirect_ieee754_atan2,
                       __ieee754_atan2, IFUNC_SELECTOR ());
-strong_alias (__ieee754_atan2, __atan2_finite)
+libm_alias_finite (__ieee754_atan2, __atan2)
 
 #define __ieee754_atan2 __ieee754_atan2_sse2
 #include <sysdeps/ieee754/dbl-64/e_atan2.c>
index 9193e8bcdff32faea6d635662a3c559e53b2d96b..5979909a0286aca122cf44a796bc8c0f762d7950 100644 (file)
@@ -17,6 +17,7 @@
    <https://www.gnu.org/licenses/>.  */
 
 #include <math.h>
+#include <libm-alias-finite.h>
 
 extern double __redirect_ieee754_exp (double);
 
@@ -25,7 +26,7 @@ extern double __redirect_ieee754_exp (double);
 
 libc_ifunc_redirected (__redirect_ieee754_exp, __ieee754_exp,
                       IFUNC_SELECTOR ());
-strong_alias (__ieee754_exp, __exp_finite)
+libm_alias_finite (__ieee754_exp, __exp)
 
 #define __exp __ieee754_exp_sse2
 #include <sysdeps/ieee754/dbl-64/e_exp.c>
index 3a90f5cd2ddebf7af2d7c6228db2cf35bf5a91d3..ea4ae723188d82e6de554a08fb92dfa5eb875324 100644 (file)
@@ -17,6 +17,7 @@
    <https://www.gnu.org/licenses/>.  */
 
 #include <libm-alias-float.h>
+#include <libm-alias-finite.h>
 
 extern float __redirect_exp2f (float);
 
@@ -26,15 +27,14 @@ extern float __redirect_exp2f (float);
 libc_ifunc_redirected (__redirect_exp2f, __exp2f, IFUNC_SELECTOR ());
 
 #ifdef SHARED
-# include <shlib-compat.h>
-versioned_symbol (libm, __exp2f, exp2f, GLIBC_2_27);
+versioned_symbol (libm, __ieee754_exp2f, exp2f, GLIBC_2_27);
 libm_alias_float_other (__exp2, exp2)
 #else
 libm_alias_float (__exp2, exp2)
 #endif
 
 strong_alias (__exp2f, __ieee754_exp2f)
-strong_alias (__exp2f, __exp2f_finite)
+libm_alias_finite (__exp2f, __exp2f)
 
 #define __exp2f __exp2f_sse2
 #include <sysdeps/ieee754/flt-32/e_exp2f.c>
index 4ccee5bf13bccca54f7abc95c4a506e9432f6e3d..f685f3108922a875b45b74c00ac31073411ca505 100644 (file)
@@ -17,6 +17,7 @@
    <https://www.gnu.org/licenses/>.  */
 
 #include <libm-alias-float.h>
+#include <libm-alias-finite.h>
 
 extern float __redirect_expf (float);
 
@@ -29,15 +30,14 @@ libc_ifunc_redirected (__redirect_expf, __expf, IFUNC_SELECTOR ());
 __hidden_ver1 (__expf, __GI___expf, __redirect_expf)
   __attribute__ ((visibility ("hidden")));
 
-# include <shlib-compat.h>
-versioned_symbol (libm, __expf, expf, GLIBC_2_27);
+versioned_symbol (libm, __ieee754_expf, expf, GLIBC_2_27);
 libm_alias_float_other (__exp, exp)
 #else
 libm_alias_float (__exp, exp)
 #endif
 
 strong_alias (__expf, __ieee754_expf)
-strong_alias (__expf, __expf_finite)
+libm_alias_finite (__expf, __expf)
 
 #define __expf __expf_sse2
 #include <sysdeps/ieee754/flt-32/e_expf.c>
index 14c9a9451064c407a3264d4ad1442ab458938f74..81348627c2bc872bcd5bfa95950fba5f217d638c 100644 (file)
@@ -17,6 +17,7 @@
    <https://www.gnu.org/licenses/>.  */
 
 #include <math.h>
+#include <libm-alias-finite.h>
 
 extern double __redirect_ieee754_log (double);
 
@@ -25,7 +26,7 @@ extern double __redirect_ieee754_log (double);
 
 libc_ifunc_redirected (__redirect_ieee754_log, __ieee754_log,
                       IFUNC_SELECTOR ());
-strong_alias (__ieee754_log, __log_finite)
+libm_alias_finite (__ieee754_log, __log)
 
 #define __log __ieee754_log_sse2
 #include <sysdeps/ieee754/dbl-64/e_log.c>
index 53f3d2ffc52e33f085f33023260b18fbd2a886df..8410cbee0e972630a0364c4db9a304e36ef29693 100644 (file)
@@ -17,6 +17,7 @@
    <https://www.gnu.org/licenses/>.  */
 
 #include <libm-alias-float.h>
+#include <libm-alias-finite.h>
 
 extern float __redirect_log2f (float);
 
@@ -29,15 +30,14 @@ libc_ifunc_redirected (__redirect_log2f, __log2f, IFUNC_SELECTOR ());
 __hidden_ver1 (__log2f, __GI___log2f, __redirect_log2f)
   __attribute__ ((visibility ("hidden")));
 
-# include <shlib-compat.h>
-versioned_symbol (libm, __log2f, log2f, GLIBC_2_27);
+versioned_symbol (libm, __ieee754_log2f, log2f, GLIBC_2_27);
 libm_alias_float_other (__log2, log2)
 #else
 libm_alias_float (__log2, log2)
 #endif
 
 strong_alias (__log2f, __ieee754_log2f)
-strong_alias (__log2f, __log2f_finite)
+libm_alias_finite (__log2f, __log2f)
 
 #define __log2f __log2f_sse2
 #include <sysdeps/ieee754/flt-32/e_log2f.c>
index c03cc9464d8ca0b6f0a2252dc97b25370988ce8e..71faa7c58758ee82ad617613ff48261bbe066b9b 100644 (file)
@@ -17,6 +17,7 @@
    <https://www.gnu.org/licenses/>.  */
 
 #include <libm-alias-float.h>
+#include <libm-alias-finite.h>
 
 extern float __redirect_logf (float);
 
@@ -29,15 +30,14 @@ libc_ifunc_redirected (__redirect_logf, __logf, IFUNC_SELECTOR ());
 __hidden_ver1 (__logf, __GI___logf, __redirect_logf)
   __attribute__ ((visibility ("hidden")));
 
-# include <shlib-compat.h>
-versioned_symbol (libm, __logf, logf, GLIBC_2_27);
+versioned_symbol (libm, __ieee754_logf, logf, GLIBC_2_27);
 libm_alias_float_other (__log, log)
 #else
 libm_alias_float (__log, log)
 #endif
 
 strong_alias (__logf, __ieee754_logf)
-strong_alias (__logf, __logf_finite)
+libm_alias_finite (__logf, __logf)
 
 #define __logf __logf_sse2
 #include <sysdeps/ieee754/flt-32/e_logf.c>
index 6636c75c2e42113a891819efff90b266678f93bc..c96aedd9d635bcb722835b18832acad88167fd39 100644 (file)
@@ -17,6 +17,7 @@
    <https://www.gnu.org/licenses/>.  */
 
 #include <math.h>
+#include <libm-alias-finite.h>
 
 extern double __redirect_ieee754_pow (double, double);
 
@@ -25,7 +26,7 @@ extern double __redirect_ieee754_pow (double, double);
 
 libc_ifunc_redirected (__redirect_ieee754_pow,
                       __ieee754_pow, IFUNC_SELECTOR ());
-strong_alias (__ieee754_pow, __pow_finite)
+libm_alias_finite (__ieee754_pow, __pow)
 
 #define __pow __ieee754_pow_sse2
 #include <sysdeps/ieee754/dbl-64/e_pow.c>
index d83585bfdd23932c50af2391b8fdfd8b30125e72..c5bd42b099b581efd35c5b166829661dfb83d0f2 100644 (file)
@@ -17,6 +17,7 @@
    <https://www.gnu.org/licenses/>.  */
 
 #include <libm-alias-float.h>
+#include <libm-alias-finite.h>
 
 #define powf __redirect_powf
 #define __DECL_SIMD___redirect_powf
@@ -32,15 +33,14 @@ libc_ifunc_redirected (__redirect_powf, __powf, IFUNC_SELECTOR ());
 __hidden_ver1 (__powf, __GI___powf, __redirect_powf)
   __attribute__ ((visibility ("hidden")));
 
-# include <shlib-compat.h>
-versioned_symbol (libm, __powf, powf, GLIBC_2_27);
+versioned_symbol (libm, __ieee754_powf, powf, GLIBC_2_27);
 libm_alias_float_other (__pow, pow)
 #else
 libm_alias_float (__pow, pow)
 #endif
 
 strong_alias (__powf, __ieee754_powf)
-strong_alias (__powf, __powf_finite)
+libm_alias_finite (__powf, __powf)
 
 #define __powf __powf_sse2
 #include <sysdeps/ieee754/flt-32/e_powf.c>