diff options
Diffstat (limited to 'sysdeps/powerpc/powerpc32/power5+/fpu')
-rw-r--r-- | sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S | 13 | ||||
-rw-r--r-- | sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S | 5 | ||||
-rw-r--r-- | sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S | 13 | ||||
-rw-r--r-- | sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S | 5 | ||||
-rw-r--r-- | sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S | 16 | ||||
-rw-r--r-- | sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S | 16 | ||||
-rw-r--r-- | sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S | 13 | ||||
-rw-r--r-- | sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S | 5 | ||||
-rw-r--r-- | sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S | 13 | ||||
-rw-r--r-- | sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S | 5 |
10 files changed, 34 insertions, 70 deletions
diff --git a/sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S b/sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S index f61c86f00d..356c7a79ed 100644 --- a/sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S +++ b/sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S @@ -1,5 +1,5 @@ /* ceil function. PowerPC32/power5+ version. - Copyright (C) 2006-2016 Free Software Foundation, Inc. + Copyright (C) 2006-2018 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 @@ -18,6 +18,7 @@ #include <sysdep.h> #include <math_ldbl_opt.h> +#include <libm-alias-double.h> .machine "power5" EALIGN (__ceil, 4, 0) @@ -25,12 +26,4 @@ EALIGN (__ceil, 4, 0) blr END (__ceil) -weak_alias (__ceil, ceil) - -#ifdef NO_LONG_DOUBLE -weak_alias (__ceil, ceill) -strong_alias (__ceil, __ceill) -#endif -#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0) -compat_symbol (libm, __ceil, ceill, GLIBC_2_0) -#endif +libm_alias_double (__ceil, ceil) diff --git a/sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S b/sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S index 9febe2fe35..a0bcda17fd 100644 --- a/sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S +++ b/sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S @@ -1,5 +1,5 @@ /* ceilf function. PowerPC32/power5+ version. - Copyright (C) 2006-2016 Free Software Foundation, Inc. + Copyright (C) 2006-2018 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 @@ -17,6 +17,7 @@ <http://www.gnu.org/licenses/>. */ #include <sysdep.h> +#include <libm-alias-float.h> .machine "power5" EALIGN (__ceilf, 4, 0) @@ -25,5 +26,5 @@ EALIGN (__ceilf, 4, 0) blr END (__ceilf) -weak_alias (__ceilf, ceilf) +libm_alias_float (__ceil, ceil) diff --git a/sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S b/sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S index 03547f496c..e8a15f6c09 100644 --- a/sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S +++ b/sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S @@ -1,5 +1,5 @@ /* floor function. PowerPC32/power5+ version. - Copyright (C) 2006-2016 Free Software Foundation, Inc. + Copyright (C) 2006-2018 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 @@ -18,6 +18,7 @@ #include <sysdep.h> #include <math_ldbl_opt.h> +#include <libm-alias-double.h> .machine "power5" EALIGN (__floor, 4, 0) @@ -25,12 +26,4 @@ EALIGN (__floor, 4, 0) blr END (__floor) -weak_alias (__floor, floor) - -#ifdef NO_LONG_DOUBLE -weak_alias (__floor, floorl) -strong_alias (__floor, __floorl) -#endif -#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0) -compat_symbol (libm, __floor, floorl, GLIBC_2_0) -#endif +libm_alias_double (__floor, floor) diff --git a/sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S b/sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S index 4932f571bd..385c40cdef 100644 --- a/sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S +++ b/sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S @@ -1,5 +1,5 @@ /* floorf function. PowerPC32/power5+ version. - Copyright (C) 2006-2016 Free Software Foundation, Inc. + Copyright (C) 2006-2018 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 @@ -17,6 +17,7 @@ <http://www.gnu.org/licenses/>. */ #include <sysdep.h> +#include <libm-alias-float.h> .machine "power5" EALIGN (__floorf, 4, 0) @@ -25,5 +26,5 @@ EALIGN (__floorf, 4, 0) blr END (__floorf) -weak_alias (__floorf, floorf) +libm_alias_float (__floor, floor) diff --git a/sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S b/sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S index e33476ed0f..c70c0bd70b 100644 --- a/sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S +++ b/sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S @@ -1,5 +1,5 @@ /* lround function. POWER5+, PowerPC32 version. - Copyright (C) 2006-2016 Free Software Foundation, Inc. + Copyright (C) 2006-2018 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 @@ -18,6 +18,8 @@ #include <sysdep.h> #include <math_ldbl_opt.h> +#include <libm-alias-float.h> +#include <libm-alias-double.h> /* long [r3] llround (float x [fp1]) IEEE 1003.1 lround function. IEEE specifies "round to the nearest @@ -45,15 +47,7 @@ ENTRY (__llround) blr END (__llround) -weak_alias (__llround, llround) +libm_alias_double (__llround, llround) strong_alias (__llround, __llroundf) -weak_alias (__llround, llroundf) - -#ifdef NO_LONG_DOUBLE -weak_alias (__llround, llroundl) -strong_alias (__llround, __llroundl) -#endif -#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_1) -compat_symbol (libm, __llround, llroundl, GLIBC_2_1) -#endif +libm_alias_float (__llround, llround) diff --git a/sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S b/sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S index d86c3807a8..09fa022e9e 100644 --- a/sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S +++ b/sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S @@ -1,5 +1,5 @@ /* lround function. POWER5+, PowerPC32 version. - Copyright (C) 2006-2016 Free Software Foundation, Inc. + Copyright (C) 2006-2018 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 @@ -17,6 +17,8 @@ <http://www.gnu.org/licenses/>. */ #include <sysdep.h> #include <math_ldbl_opt.h> +#include <libm-alias-float.h> +#include <libm-alias-double.h> /* long [r3] lround (float x [fp1]) IEEE 1003.1 lround function. IEEE specifies "round to the nearest @@ -43,15 +45,7 @@ ENTRY (__lround) blr END (__lround) -weak_alias (__lround, lround) +libm_alias_double (__lround, lround) strong_alias (__lround, __lroundf) -weak_alias (__lround, lroundf) - -#ifdef NO_LONG_DOUBLE -weak_alias (__lround, lroundl) -strong_alias (__lround, __lroundl) -#endif -#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_1) -compat_symbol (libm, __lround, lroundl, GLIBC_2_1) -#endif +libm_alias_float (__lround, lround) diff --git a/sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S b/sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S index 2c107b145b..36c9bd3bee 100644 --- a/sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S +++ b/sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S @@ -1,5 +1,5 @@ /* round function. PowerPC32/power5+ version. - Copyright (C) 2006-2016 Free Software Foundation, Inc. + Copyright (C) 2006-2018 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 @@ -18,6 +18,7 @@ #include <sysdep.h> #include <math_ldbl_opt.h> +#include <libm-alias-double.h> .machine "power5" EALIGN (__round, 4, 0) @@ -25,12 +26,4 @@ EALIGN (__round, 4, 0) blr END (__round) -weak_alias (__round, round) - -#ifdef NO_LONG_DOUBLE -weak_alias (__round, roundl) -strong_alias (__round, __roundl) -#endif -#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_1) -compat_symbol (libm, __round, roundl, GLIBC_2_1) -#endif +libm_alias_double (__round, round) diff --git a/sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S b/sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S index 94754a569e..c720e77136 100644 --- a/sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S +++ b/sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S @@ -1,5 +1,5 @@ /* roundf function. PowerPC32/power5+ version. - Copyright (C) 2006-2016 Free Software Foundation, Inc. + Copyright (C) 2006-2018 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 @@ -17,6 +17,7 @@ <http://www.gnu.org/licenses/>. */ #include <sysdep.h> +#include <libm-alias-float.h> .machine "power5" EALIGN (__roundf, 4, 0) @@ -25,5 +26,5 @@ EALIGN (__roundf, 4, 0) blr END (__roundf) -weak_alias (__roundf, roundf) +libm_alias_float (__round, round) diff --git a/sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S b/sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S index f77004cbf5..14007e9632 100644 --- a/sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S +++ b/sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S @@ -1,5 +1,5 @@ /* trunc function. PowerPC32/power5+ version. - Copyright (C) 2006-2016 Free Software Foundation, Inc. + Copyright (C) 2006-2018 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 @@ -18,6 +18,7 @@ #include <sysdep.h> #include <math_ldbl_opt.h> +#include <libm-alias-double.h> .machine "power5" EALIGN (__trunc, 4, 0) @@ -25,12 +26,4 @@ EALIGN (__trunc, 4, 0) blr END (__trunc) -weak_alias (__trunc, trunc) - -#ifdef NO_LONG_DOUBLE -weak_alias (__trunc, truncl) -strong_alias (__trunc, __truncl) -#endif -#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_1) -compat_symbol (libm, __trunc, truncl, GLIBC_2_1) -#endif +libm_alias_double (__trunc, trunc) diff --git a/sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S b/sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S index 1028b7d4d9..092bae7a2d 100644 --- a/sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S +++ b/sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S @@ -1,5 +1,5 @@ /* truncf function. PowerPC32/power5+ version. - Copyright (C) 2006-2016 Free Software Foundation, Inc. + Copyright (C) 2006-2018 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 @@ -17,6 +17,7 @@ <http://www.gnu.org/licenses/>. */ #include <sysdep.h> +#include <libm-alias-float.h> .machine "power5" EALIGN (__truncf, 4, 0) @@ -25,5 +26,5 @@ EALIGN (__truncf, 4, 0) blr END (__truncf) -weak_alias (__truncf, truncf) +libm_alias_float (__trunc, trunc) |