@@ -22,6 +22,7 @@
* -- moshier@na-net.ornl.gov
*/
+#include <libm-alias-ldouble.h>
#include <machine/asm.h>
#include <i386-math-asm.h>
@@ -220,7 +221,7 @@ ENTRY(IEEE754_EXPL)
END(IEEE754_EXPL)
#ifdef USE_AS_EXPM1L
libm_hidden_def (__expm1l)
-weak_alias (__expm1l, expm1l)
+libm_alias_ldouble (__expm1, expm1)
#else
strong_alias (IEEE754_EXPL, EXPL_FINITE)
#endif
@@ -17,6 +17,7 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <libm-alias-ldouble.h>
#include <machine/asm.h>
.section .rodata
@@ -141,4 +142,4 @@ ENTRY(__asinhl)
fchs
4: ret
END(__asinhl)
-weak_alias (__asinhl, asinhl)
+libm_alias_ldouble (__asinh, asinh)
@@ -6,6 +6,7 @@
*/
#include <math_private.h>
+#include <libm-alias-ldouble.h>
long double
__atanl (long double x)
@@ -19,4 +20,4 @@ __atanl (long double x)
return res;
}
-weak_alias (__atanl, atanl)
+libm_alias_ldouble (__atan, atan)
@@ -18,6 +18,7 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <libm-alias-ldouble.h>
#include <machine/asm.h>
.section .rodata
@@ -226,4 +227,4 @@ ENTRY(__cbrtl)
fadd %st
ret
END(__cbrtl)
-weak_alias (__cbrtl, cbrtl)
+libm_alias_ldouble (__cbrt, cbrt)
@@ -4,6 +4,7 @@
* Public domain.
*/
+#include <libm-alias-ldouble.h>
#include <machine/asm.h>
RCSID("$NetBSD: $")
@@ -37,4 +38,4 @@ ENTRY(__ceill)
cfi_adjust_cfa_offset (-32)
ret
END (__ceill)
-weak_alias (__ceill, ceill)
+libm_alias_ldouble (__ceil, ceil)
@@ -4,6 +4,7 @@
* Public domain.
*/
+#include <libm-alias-ldouble.h>
#include <machine/asm.h>
RCSID("$NetBSD: $")
@@ -18,4 +19,4 @@ ENTRY(__copysignl)
fldt 4(%esp)
ret
END (__copysignl)
-weak_alias (__copysignl, copysignl)
+libm_alias_ldouble (__copysign, copysign)
@@ -1,3 +1,4 @@
+#include <libm-alias-ldouble.h>
#include <sysdep.h>
.text
@@ -6,4 +7,4 @@ ENTRY(__fabsl)
fabs
ret
END(__fabsl)
-weak_alias (__fabsl, fabsl)
+libm_alias_ldouble (__fabs, fabs)
@@ -4,6 +4,7 @@
* Public domain.
*/
+#include <libm-alias-ldouble.h>
#include <machine/asm.h>
RCSID("$NetBSD: $")
@@ -37,4 +38,4 @@ ENTRY(__floorl)
cfi_adjust_cfa_offset (-32)
ret
END (__floorl)
-weak_alias (__floorl, floorl)
+libm_alias_ldouble (__floor, floor)
@@ -17,6 +17,7 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <libm-alias-ldouble.h>
#include <sysdep.h>
.text
@@ -68,4 +69,4 @@ ENTRY(__fmaxl)
faddp
ret
END(__fmaxl)
-weak_alias (__fmaxl, fmaxl)
+libm_alias_ldouble (__fmax, fmax)
@@ -17,6 +17,7 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <libm-alias-ldouble.h>
#include <sysdep.h>
.text
@@ -68,4 +69,4 @@ ENTRY(__fminl)
faddp
ret
END(__fminl)
-weak_alias (__fminl, fminl)
+libm_alias_ldouble (__fmin, fmin)
@@ -17,6 +17,7 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <libm-alias-ldouble.h>
#include <machine/asm.h>
.section .rodata
@@ -89,4 +90,4 @@ ENTRY (__frexpl)
movl %ecx, (%eax)
ret
END (__frexpl)
-weak_alias (__frexpl, frexpl)
+libm_alias_ldouble (__frexp, frexp)
@@ -18,6 +18,7 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <libm-alias-ldouble.h>
#include <sysdep.h>
.text
@@ -33,4 +34,4 @@ ENTRY(__llrintl)
cfi_adjust_cfa_offset (-4)
ret
END(__llrintl)
-weak_alias (__llrintl, llrintl)
+libm_alias_ldouble (__llrint, llrint)
@@ -4,6 +4,7 @@
* Public domain.
*/
+#include <libm-alias-ldouble.h>
#include <math_private.h>
long double
@@ -16,4 +17,4 @@ __logbl (long double x)
return res;
}
-weak_alias (__logbl, logbl)
+libm_alias_ldouble (__logb, logb)
@@ -18,6 +18,7 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <libm-alias-ldouble.h>
#include <sysdep.h>
.text
@@ -31,4 +32,4 @@ ENTRY(__lrintl)
cfi_adjust_cfa_offset (-4)
ret
END(__lrintl)
-weak_alias (__lrintl, lrintl)
+libm_alias_ldouble (__lrint, lrint)
@@ -4,6 +4,7 @@
*/
/* Adapted for use as nearbyint by Ulrich Drepper <drepper@cygnus.com>. */
+#include <libm-alias-ldouble.h>
#include <machine/asm.h>
ENTRY(__nearbyintl)
@@ -20,4 +21,4 @@ ENTRY(__nearbyintl)
cfi_adjust_cfa_offset (-32)
ret
END (__nearbyintl)
-weak_alias (__nearbyintl, nearbyintl)
+libm_alias_ldouble (__nearbyint, nearbyint)
@@ -29,6 +29,7 @@ static char rcsid[] = "$NetBSD: $";
#include <errno.h>
#include <math.h>
#include <math_private.h>
+#include <libm-alias-ldouble.h>
long double __nextafterl(long double x, long double y)
{
@@ -120,6 +121,6 @@ long double __nextafterl(long double x, long double y)
SET_LDOUBLE_WORDS(x,esx,hx,lx);
return x;
}
-weak_alias (__nextafterl, nextafterl)
+libm_alias_ldouble (__nextafter, nextafter)
strong_alias (__nextafterl, __nexttowardl)
weak_alias (__nextafterl, nexttowardl)
@@ -4,6 +4,7 @@
* Public domain.
*/
+#include <libm-alias-ldouble.h>
#include <machine/asm.h>
#define PARMS 4 /* no space for saved regs */
@@ -42,4 +43,4 @@ ENTRY (__remquol)
ret
END (__remquol)
-weak_alias (__remquol, remquol)
+libm_alias_ldouble (__remquo, remquo)
@@ -4,6 +4,7 @@
* Public domain.
*/
+#include <libm-alias-ldouble.h>
#include <math_private.h>
long double
@@ -15,4 +16,4 @@ __rintl (long double x)
return res;
}
-weak_alias (__rintl, rintl)
+libm_alias_ldouble (__rint, rint)
@@ -17,6 +17,7 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <libm-alias-ldouble.h>
#include <machine/asm.h>
ENTRY(__truncl)
@@ -37,4 +38,4 @@ ENTRY(__truncl)
cfi_adjust_cfa_offset (-32)
ret
END(__truncl)
-weak_alias (__truncl, truncl)
+libm_alias_ldouble (__trunc, trunc)
@@ -18,6 +18,7 @@
<http://www.gnu.org/licenses/>. */
#include <sysdep.h>
+#include <libm-alias-ldouble.h>
.text
ENTRY(__fmaxl)
@@ -55,4 +56,4 @@ ENTRY(__fmaxl)
faddp
ret
END(__fmaxl)
-weak_alias (__fmaxl, fmaxl)
+libm_alias_ldouble (__fmax, fmax)
@@ -17,6 +17,7 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <libm-alias-ldouble.h>
#include <sysdep.h>
.text
@@ -55,4 +56,4 @@ ENTRY(__fminl)
faddp
ret
END(__fminl)
-weak_alias (__fminl, fminl)
+libm_alias_ldouble (__fmin, fmin)