diff options
Diffstat (limited to 'sysdeps/sparc/sparc64')
-rw-r--r-- | sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c | 3 | ||||
-rw-r--r-- | sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c | 3 | ||||
-rw-r--r-- | sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c | 3 | ||||
-rw-r--r-- | sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c | 5 | ||||
-rw-r--r-- | sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c | 3 | ||||
-rw-r--r-- | sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c | 3 | ||||
-rw-r--r-- | sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c | 3 | ||||
-rw-r--r-- | sysdeps/sparc/sparc64/fpu/s_copysign.S | 3 | ||||
-rw-r--r-- | sysdeps/sparc/sparc64/fpu/s_fabs.c | 4 | ||||
-rw-r--r-- | sysdeps/sparc/sparc64/fpu/s_lrint.S | 5 | ||||
-rw-r--r-- | sysdeps/sparc/sparc64/fpu/s_nearbyint.S | 3 | ||||
-rw-r--r-- | sysdeps/sparc/sparc64/fpu/s_rint.S | 3 |
12 files changed, 27 insertions, 14 deletions
diff --git a/sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c b/sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c index cfd5396375..c545688824 100644 --- a/sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c +++ b/sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c @@ -18,6 +18,7 @@ #include <sparc-ifunc.h> #include <math.h> +#include <libm-alias-double.h> extern __typeof (ceil) __ceil_vis3 attribute_hidden; extern __typeof (ceil) __ceil_generic attribute_hidden; @@ -26,4 +27,4 @@ sparc_libm_ifunc (__ceil, hwcap & HWCAP_SPARC_VIS3 ? __ceil_vis3 : __ceil_generic) -weak_alias (__ceil, ceil) +libm_alias_double (__ceil, ceil) diff --git a/sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c b/sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c index 9d71158cdb..068009fb40 100644 --- a/sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c +++ b/sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c @@ -18,6 +18,7 @@ #include <sparc-ifunc.h> #include <math.h> +#include <libm-alias-double.h> extern __typeof (floor) __floor_vis3 attribute_hidden; extern __typeof (floor) __floor_generic attribute_hidden; @@ -26,4 +27,4 @@ sparc_libm_ifunc (__floor, hwcap & HWCAP_SPARC_VIS3 ? __floor_vis3 : __floor_generic); -weak_alias (__floor, floor) +libm_alias_double (__floor, floor) diff --git a/sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c b/sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c index 1b2701cadb..34b4f45150 100644 --- a/sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c +++ b/sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c @@ -1,5 +1,6 @@ #include <sparc-ifunc.h> #include <math.h> +#include <libm-alias-double.h> extern __typeof (fma) __fma_vis3 attribute_hidden; extern __typeof (fma) __fma_generic attribute_hidden; @@ -8,4 +9,4 @@ sparc_libm_ifunc (__fma, hwcap & HWCAP_SPARC_FMAF ? __fma_vis3 : __fma_generic); -weak_alias (__fma, fma) +libm_alias_double (__fma, fma) diff --git a/sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c b/sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c index 557f0d66cd..659468acb8 100644 --- a/sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c +++ b/sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c @@ -26,6 +26,7 @@ #undef __lrint #undef __llrint #include <sparc-ifunc.h> +#include <libm-alias-double.h> extern __typeof (__redirect_lrint) __lrint_vis3 attribute_hidden; extern __typeof (__redirect_lrint) __lrint_generic attribute_hidden; @@ -34,6 +35,6 @@ sparc_libm_ifunc_redirected (__redirect_lrint, __lrint, hwcap & HWCAP_SPARC_VIS3 ? __lrint_vis3 : __lrint_generic); -weak_alias (__lrint, lrint) +libm_alias_double (__lrint, lrint) strong_alias (__lrint, __llrint) -weak_alias (__llrint, llrint) +libm_alias_double (__llrint, llrint) diff --git a/sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c b/sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c index 1ed497a106..86a8327abf 100644 --- a/sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c +++ b/sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c @@ -18,6 +18,7 @@ #include <math.h> #include <sparc-ifunc.h> +#include <libm-alias-double.h> extern __typeof (nearbyint) __nearbyint_vis3 attribute_hidden; extern __typeof (nearbyint) __nearbyint_generic attribute_hidden; @@ -26,4 +27,4 @@ sparc_libm_ifunc (__nearbyint, hwcap & HWCAP_SPARC_VIS3 ? __nearbyint_vis3 : __nearbyint_generic); -weak_alias (__nearbyint, nearbyint) +libm_alias_double (__nearbyint, nearbyint) diff --git a/sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c b/sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c index c53a7fe697..fdff814164 100644 --- a/sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c +++ b/sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c @@ -18,6 +18,7 @@ #include <math.h> #include <sparc-ifunc.h> +#include <libm-alias-double.h> extern __typeof (rint) __rint_vis3 attribute_hidden; extern __typeof (rint) __rint_generic attribute_hidden; @@ -26,4 +27,4 @@ sparc_libm_ifunc (__rint, hwcap & HWCAP_SPARC_VIS3 ? __rint_vis3 : __rint_generic); -weak_alias (__rint, rint) +libm_alias_double (__rint, rint) diff --git a/sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c b/sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c index 3fd9cc0041..b6fad8cf73 100644 --- a/sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c +++ b/sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c @@ -18,6 +18,7 @@ #include <sparc-ifunc.h> #include <math.h> +#include <libm-alias-double.h> extern __typeof (trunc) __trunc_vis3 attribute_hidden; extern __typeof (trunc) __trunc_generic attribute_hidden; @@ -26,4 +27,4 @@ sparc_libm_ifunc (__trunc, hwcap & HWCAP_SPARC_VIS3 ? __trunc_vis3 : __trunc_generic); -weak_alias (__trunc, trunc) +libm_alias_double (__trunc, trunc) diff --git a/sysdeps/sparc/sparc64/fpu/s_copysign.S b/sysdeps/sparc/sparc64/fpu/s_copysign.S index e50d8cd246..d2d82605f7 100644 --- a/sysdeps/sparc/sparc64/fpu/s_copysign.S +++ b/sysdeps/sparc/sparc64/fpu/s_copysign.S @@ -18,6 +18,7 @@ <http://www.gnu.org/licenses/>. */ #include <sysdep.h> +#include <libm-alias-double.h> ENTRY (__copysign) fzeros %f7 @@ -27,4 +28,4 @@ ENTRY (__copysign) retl fors %f0, %f9, %f0 END (__copysign) -weak_alias (__copysign, copysign) \ No newline at end of file +libm_alias_double (__copysign, copysign) diff --git a/sysdeps/sparc/sparc64/fpu/s_fabs.c b/sysdeps/sparc/sparc64/fpu/s_fabs.c index db5ecf2162..7862290da3 100644 --- a/sysdeps/sparc/sparc64/fpu/s_fabs.c +++ b/sysdeps/sparc/sparc64/fpu/s_fabs.c @@ -1,5 +1,7 @@ +#include <libm-alias-double.h> + double __fabs (double x) { return __builtin_fabs (x); } -weak_alias (__fabs, fabs) +libm_alias_double (__fabs, fabs) diff --git a/sysdeps/sparc/sparc64/fpu/s_lrint.S b/sysdeps/sparc/sparc64/fpu/s_lrint.S index 0a3162f947..48447a2359 100644 --- a/sysdeps/sparc/sparc64/fpu/s_lrint.S +++ b/sysdeps/sparc/sparc64/fpu/s_lrint.S @@ -18,6 +18,7 @@ <http://www.gnu.org/licenses/>. */ #include <sysdep.h> +#include <libm-alias-double.h> /* We pop constants into the FPU registers using the incoming argument stack slots, since this avoid having to use any PIC @@ -57,7 +58,7 @@ ENTRY (__lrint) retl ldx [%sp + STACK_BIAS + 128], %o0 END (__lrint) -weak_alias (__lrint, lrint) +libm_alias_double (__lrint, lrint) strong_alias (__lrint, __llrint) -weak_alias (__llrint, llrint) +libm_alias_double (__llrint, llrint) diff --git a/sysdeps/sparc/sparc64/fpu/s_nearbyint.S b/sysdeps/sparc/sparc64/fpu/s_nearbyint.S index 05ed2bce40..0839f91101 100644 --- a/sysdeps/sparc/sparc64/fpu/s_nearbyint.S +++ b/sysdeps/sparc/sparc64/fpu/s_nearbyint.S @@ -20,6 +20,7 @@ <http://www.gnu.org/licenses/>. */ #include <sysdep.h> +#include <libm-alias-double.h> /* We pop constants into the FPU registers using the incoming argument stack slots, since this avoid having to use any PIC @@ -61,4 +62,4 @@ ENTRY (__nearbyint) retl ldx [%sp + STACK_BIAS + 144], %fsr END (__nearbyint) -weak_alias (__nearbyint, nearbyint) +libm_alias_double (__nearbyint, nearbyint) diff --git a/sysdeps/sparc/sparc64/fpu/s_rint.S b/sysdeps/sparc/sparc64/fpu/s_rint.S index 8d0134c90c..a0d2c20448 100644 --- a/sysdeps/sparc/sparc64/fpu/s_rint.S +++ b/sysdeps/sparc/sparc64/fpu/s_rint.S @@ -18,6 +18,7 @@ <http://www.gnu.org/licenses/>. */ #include <sysdep.h> +#include <libm-alias-double.h> /* We pop constants into the FPU registers using the incoming argument stack slots, since this avoid having to use any PIC @@ -54,4 +55,4 @@ ENTRY (__rint) retl for %f0, SIGN_BIT, %f0 END (__rint) -weak_alias (__rint, rint) +libm_alias_double (__rint, rint) |