diff options
Diffstat (limited to 'sysdeps/powerpc/fpu')
-rw-r--r-- | sysdeps/powerpc/fpu/s_cosf.c | 3 | ||||
-rw-r--r-- | sysdeps/powerpc/fpu/s_fabs.S | 3 | ||||
-rw-r--r-- | sysdeps/powerpc/fpu/s_fmaf.S | 3 | ||||
-rw-r--r-- | sysdeps/powerpc/fpu/s_rintf.c | 3 | ||||
-rw-r--r-- | sysdeps/powerpc/fpu/s_sinf.c | 3 |
5 files changed, 10 insertions, 5 deletions
diff --git a/sysdeps/powerpc/fpu/s_cosf.c b/sysdeps/powerpc/fpu/s_cosf.c index 772b138ac3..551a924f96 100644 --- a/sysdeps/powerpc/fpu/s_cosf.c +++ b/sysdeps/powerpc/fpu/s_cosf.c @@ -20,6 +20,7 @@ #include <errno.h> #include <math.h> #include <math_private.h> +#include <libm-alias-float.h> static const float pio4 = 7.8539801e-1; @@ -66,4 +67,4 @@ __cosf (float x) } } -weak_alias (__cosf, cosf) +libm_alias_float (__cos, cos) diff --git a/sysdeps/powerpc/fpu/s_fabs.S b/sysdeps/powerpc/fpu/s_fabs.S index 68f8801427..386604b41f 100644 --- a/sysdeps/powerpc/fpu/s_fabs.S +++ b/sysdeps/powerpc/fpu/s_fabs.S @@ -17,6 +17,7 @@ <http://www.gnu.org/licenses/>. */ #include <sysdep.h> +#include <libm-alias-float.h> #include <libm-alias-double.h> ENTRY(__fabs) @@ -29,4 +30,4 @@ libm_alias_double (__fabs, fabs) /* It turns out that it's safe to use this code even for single-precision. */ strong_alias(__fabs,__fabsf) -weak_alias (__fabs,fabsf) +libm_alias_float (__fabs, fabs) diff --git a/sysdeps/powerpc/fpu/s_fmaf.S b/sysdeps/powerpc/fpu/s_fmaf.S index 2b844e7937..9519c99d2a 100644 --- a/sysdeps/powerpc/fpu/s_fmaf.S +++ b/sysdeps/powerpc/fpu/s_fmaf.S @@ -17,6 +17,7 @@ <http://www.gnu.org/licenses/>. */ #include <sysdep.h> +#include <libm-alias-float.h> ENTRY_TOCLESS(__fmaf) /* float [f1] fmaf (float [f1] x, float [f2] y, float [f3] z); */ @@ -24,4 +25,4 @@ ENTRY_TOCLESS(__fmaf) blr END(__fmaf) -weak_alias (__fmaf,fmaf) +libm_alias_float (__fma, fma) diff --git a/sysdeps/powerpc/fpu/s_rintf.c b/sysdeps/powerpc/fpu/s_rintf.c index 6b16c7bec4..c046f8c6a6 100644 --- a/sysdeps/powerpc/fpu/s_rintf.c +++ b/sysdeps/powerpc/fpu/s_rintf.c @@ -17,6 +17,7 @@ <http://www.gnu.org/licenses/>. */ #include <math.h> +#include <libm-alias-float.h> float __rintf (float x) @@ -39,4 +40,4 @@ __rintf (float x) return x; } -weak_alias (__rintf, rintf) +libm_alias_float (__rint, rint) diff --git a/sysdeps/powerpc/fpu/s_sinf.c b/sysdeps/powerpc/fpu/s_sinf.c index 54a428e68a..5ecb0dd3a2 100644 --- a/sysdeps/powerpc/fpu/s_sinf.c +++ b/sysdeps/powerpc/fpu/s_sinf.c @@ -20,6 +20,7 @@ #include <errno.h> #include <math.h> #include <math_private.h> +#include <libm-alias-float.h> static const float pio4 = 7.8539801e-1; @@ -66,4 +67,4 @@ __sinf (float x) } } -weak_alias (__sinf, sinf) +libm_alias_float (__sin, sin) |