aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/sparc
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/sparc')
-rw-r--r--sysdeps/sparc/sparc32/fpu/s_fabsl.c3
-rw-r--r--sysdeps/sparc/sparc64/fpu/s_fabsl.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/sysdeps/sparc/sparc32/fpu/s_fabsl.c b/sysdeps/sparc/sparc32/fpu/s_fabsl.c
index 3c03b92..411a2e1 100644
--- a/sysdeps/sparc/sparc32/fpu/s_fabsl.c
+++ b/sysdeps/sparc/sparc32/fpu/s_fabsl.c
@@ -1,8 +1,9 @@
#include <math.h>
#include <math_ldbl_opt.h>
+#include <libm-alias-ldouble.h>
long double __fabsl (long double x)
{
return __builtin_fabsl (x);
}
-long_double_symbol (libm, __fabsl, fabsl);
+libm_alias_ldouble (__fabs, fabs)
diff --git a/sysdeps/sparc/sparc64/fpu/s_fabsl.c b/sysdeps/sparc/sparc64/fpu/s_fabsl.c
index 67e9f47..72e1c51 100644
--- a/sysdeps/sparc/sparc64/fpu/s_fabsl.c
+++ b/sysdeps/sparc/sparc64/fpu/s_fabsl.c
@@ -1,5 +1,7 @@
+#include <libm-alias-ldouble.h>
+
long double __fabsl (long double x)
{
return __builtin_fabsl (x);
}
-weak_alias (__fabsl, fabsl)
+libm_alias_ldouble (__fabs, fabs)