@@ -18,6 +18,7 @@
<http://www.gnu.org/licenses/>. */
#include <math.h>
+#include <libm-alias-float.h>
float
__fmaf (float x, float y, float z)
@@ -25,5 +26,5 @@ __fmaf (float x, float y, float z)
return (x * y) + z;
}
#ifndef __fmaf
-weak_alias (__fmaf, fmaf)
+libm_alias_float (__fma, fma)
#endif
@@ -20,6 +20,7 @@
#include <math.h>
#include <math_private.h>
#include <math-svid-compat.h>
+#include <libm-alias-float.h>
#if LIBM_SVID_COMPAT
@@ -37,5 +38,5 @@ __acosf (float x)
return __ieee754_acosf (x);
}
-weak_alias (__acosf, acosf)
+libm_alias_float (__acos, acos)
#endif
@@ -19,6 +19,7 @@
#include <math.h>
#include <math_private.h>
#include <math-svid-compat.h>
+#include <libm-alias-float.h>
#if LIBM_SVID_COMPAT
@@ -32,5 +33,5 @@ __acoshf (float x)
return __ieee754_acoshf (x);
}
-weak_alias (__acoshf, acoshf)
+libm_alias_float (__acosh, acosh)
#endif
@@ -20,6 +20,7 @@
#include <math.h>
#include <math_private.h>
#include <math-svid-compat.h>
+#include <libm-alias-float.h>
#if LIBM_SVID_COMPAT
@@ -37,5 +38,5 @@ __asinf (float x)
return __ieee754_asinf (x);
}
-weak_alias (__asinf, asinf)
+libm_alias_float (__asin, asin)
#endif
@@ -24,6 +24,7 @@
#include <math.h>
#include <math_private.h>
#include <math-svid-compat.h>
+#include <libm-alias-float.h>
#if LIBM_SVID_COMPAT
@@ -40,5 +41,5 @@ __atan2f (float y, float x)
__set_errno (ERANGE);
return z;
}
-weak_alias (__atan2f, atan2f)
+libm_alias_float (__atan2, atan2)
#endif
@@ -19,6 +19,7 @@
#include <math.h>
#include <math_private.h>
#include <math-svid-compat.h>
+#include <libm-alias-float.h>
#if LIBM_SVID_COMPAT
@@ -35,5 +36,5 @@ __atanhf (float x)
return __ieee754_atanhf (x);
}
-weak_alias (__atanhf, atanhf)
+libm_alias_float (__atanh, atanh)
#endif
@@ -21,6 +21,7 @@
#include <math.h>
#include <math_private.h>
#include <math-svid-compat.h>
+#include <libm-alias-float.h>
#if LIBM_SVID_COMPAT
float
@@ -33,5 +34,5 @@ __coshf (float x)
return z;
}
-weak_alias (__coshf, coshf)
+libm_alias_float (__cosh, cosh)
#endif
@@ -24,6 +24,7 @@
#include <math.h>
#include <math_private.h>
#include <math-svid-compat.h>
+#include <libm-alias-float.h>
#if LIBM_SVID_COMPAT
float
@@ -37,7 +38,7 @@ __exp10f (float x)
return z;
}
-weak_alias (__exp10f, exp10f)
+libm_alias_float (__exp10, exp10)
# if SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)
strong_alias (__exp10f, __pow10f)
compat_symbol (libm, __pow10f, pow10f, GLIBC_2_1);
@@ -19,6 +19,7 @@
#include <math.h>
#include <math_private.h>
#include <math-svid-compat.h>
+#include <libm-alias-float.h>
#if LIBM_SVID_COMPAT
/* wrapper fmodf */
@@ -32,5 +33,5 @@ __fmodf (float x, float y)
return __ieee754_fmodf (x, y);
}
-weak_alias (__fmodf, fmodf)
+libm_alias_float (__fmod, fmod)
#endif
@@ -20,6 +20,7 @@
#include <math.h>
#include <math_private.h>
#include <math-svid-compat.h>
+#include <libm-alias-float.h>
#if LIBM_SVID_COMPAT
@@ -34,5 +35,5 @@ __hypotf(float x, float y)
return z;
}
-weak_alias (__hypotf, hypotf)
+libm_alias_float (__hypot, hypot)
#endif
@@ -20,6 +20,7 @@
#include <math.h>
#include <math_private.h>
#include <math-svid-compat.h>
+#include <libm-alias-float.h>
#if LIBM_SVID_COMPAT
@@ -34,7 +35,7 @@ __j0f (float x)
return __ieee754_j0f (x);
}
-weak_alias (__j0f, j0f)
+libm_alias_float (__j0, j0)
/* wrapper y0f */
@@ -64,5 +65,5 @@ __y0f (float x)
return __ieee754_y0f (x);
}
-weak_alias (__y0f, y0f)
+libm_alias_float (__y0, y0)
#endif
@@ -20,6 +20,7 @@
#include <math.h>
#include <math_private.h>
#include <math-svid-compat.h>
+#include <libm-alias-float.h>
#if LIBM_SVID_COMPAT
@@ -34,7 +35,7 @@ __j1f (float x)
return __ieee754_j1f (x);
}
-weak_alias (__j1f, j1f)
+libm_alias_float (__j1, j1)
/* wrapper y1f */
@@ -64,5 +65,5 @@ __y1f (float x)
return __ieee754_y1f (x);
}
-weak_alias (__y1f, y1f)
+libm_alias_float (__y1, y1)
#endif
@@ -20,6 +20,7 @@
#include <math.h>
#include <math_private.h>
#include <math-svid-compat.h>
+#include <libm-alias-float.h>
#if LIBM_SVID_COMPAT
@@ -34,7 +35,7 @@ __jnf (int n, float x)
return __ieee754_jnf (n, x);
}
-weak_alias (__jnf, jnf)
+libm_alias_float (__jn, jn)
/* wrapper ynf */
@@ -64,5 +65,5 @@ __ynf (int n, float x)
return __ieee754_ynf (n, x);
}
-weak_alias (__ynf, ynf)
+libm_alias_float (__yn, yn)
#endif
@@ -20,6 +20,7 @@
#include <math.h>
#include <math_private.h>
#include <math-svid-compat.h>
+#include <libm-alias-float.h>
#if LIBM_SVID_COMPAT
@@ -43,5 +44,5 @@ __log10f (float x)
return __ieee754_log10f (x);
}
-weak_alias (__log10f, log10f)
+libm_alias_float (__log10, log10)
#endif
@@ -20,6 +20,7 @@
#include <math.h>
#include <math_private.h>
#include <math-svid-compat.h>
+#include <libm-alias-float.h>
#if LIBM_SVID_COMPAT
@@ -43,5 +44,5 @@ __log2f (float x)
return __ieee754_log2f (x);
}
-weak_alias (__log2f, log2f)
+libm_alias_float (__log2, log2)
#endif
@@ -20,6 +20,7 @@
#include <math.h>
#include <math_private.h>
#include <math-svid-compat.h>
+#include <libm-alias-float.h>
#if LIBM_SVID_COMPAT
@@ -43,5 +44,5 @@ __logf (float x)
return __ieee754_logf (x);
}
-weak_alias (__logf, logf)
+libm_alias_float (__log, log)
#endif
@@ -19,6 +19,7 @@
#include <math.h>
#include <math_private.h>
#include <math-svid-compat.h>
+#include <libm-alias-float.h>
#if LIBM_SVID_COMPAT
@@ -59,5 +60,5 @@ __powf (float x, float y)
return z;
}
-weak_alias (__powf, powf)
+libm_alias_float (__pow, pow)
#endif
@@ -19,6 +19,7 @@
#include <math.h>
#include <math_private.h>
#include <math-svid-compat.h>
+#include <libm-alias-float.h>
#if LIBM_SVID_COMPAT
@@ -33,6 +34,6 @@ __remainderf (float x, float y)
return __ieee754_remainderf (x, y);
}
-weak_alias (__remainderf, remainderf)
+libm_alias_float (__remainder, remainder)
weak_alias (__remainderf, dremf)
#endif
@@ -20,6 +20,7 @@
#include <math.h>
#include <math_private.h>
#include <math-svid-compat.h>
+#include <libm-alias-float.h>
#if LIBM_SVID_COMPAT
float
@@ -32,5 +33,5 @@ __sinhf (float x)
return z;
}
-weak_alias (__sinhf, sinhf)
+libm_alias_float (__sinh, sinh)
#endif
@@ -19,6 +19,7 @@
#include <math.h>
#include <math_private.h>
#include <math-svid-compat.h>
+#include <libm-alias-float.h>
#if LIBM_SVID_COMPAT
@@ -31,5 +32,5 @@ __sqrtf (float x)
return __ieee754_sqrtf (x);
}
-weak_alias (__sqrtf, sqrtf)
+libm_alias_float (__sqrt, sqrt)
#endif
@@ -17,6 +17,7 @@
#include <math.h>
#include <math_private.h>
#include <math-svid-compat.h>
+#include <libm-alias-float.h>
#if LIBM_SVID_COMPAT
float
@@ -43,5 +44,5 @@ __tgammaf(float x)
}
return local_signgam < 0 ? - y : y;
}
-weak_alias (__tgammaf, tgammaf)
+libm_alias_float (__tgamma, tgamma)
#endif