diff options
Diffstat (limited to 'sysdeps/powerpc/powerpc64/fpu/multiarch')
11 files changed, 24 insertions, 13 deletions
diff --git a/sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c b/sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c index 7d4a028fe5..e885f512bf 100644 --- a/sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c +++ b/sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c @@ -20,6 +20,7 @@ #include <math_ldbl_opt.h> #include <shlib-compat.h> #include "init-arch.h" +#include <libm-alias-float.h> extern __typeof (__ceilf) __ceilf_ppc64 attribute_hidden; extern __typeof (__ceilf) __ceilf_power5plus attribute_hidden; @@ -29,4 +30,4 @@ libc_ifunc (__ceilf, ? __ceilf_power5plus : __ceilf_ppc64); -weak_alias (__ceilf, ceilf) +libm_alias_float (__ceil, ceil) diff --git a/sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c b/sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c index c9be2b6811..ebeaf881ed 100644 --- a/sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c +++ b/sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c @@ -19,6 +19,7 @@ #include <math.h> #include <shlib-compat.h> #include "init-arch.h" +#include <libm-alias-float.h> /* It's safe to use double-precision implementation for single-precision. */ extern __typeof (__copysignf) __copysign_ppc64 attribute_hidden; @@ -29,4 +30,4 @@ libc_ifunc (__copysignf, ? __copysign_power6 : __copysign_ppc64); -weak_alias (__copysignf, copysignf) +libm_alias_float (__copysign, copysign) diff --git a/sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c b/sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c index acf2a59d69..c9bff2e2b3 100644 --- a/sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c +++ b/sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c @@ -19,6 +19,7 @@ #include <math.h> #include <shlib-compat.h> #include "init-arch.h" +#include <libm-alias-float.h> extern __typeof (__cosf) __cosf_ppc64 attribute_hidden; extern __typeof (__cosf) __cosf_power8 attribute_hidden; @@ -28,4 +29,4 @@ libc_ifunc (__cosf, ? __cosf_power8 : __cosf_ppc64); -weak_alias (__cosf, cosf) +libm_alias_float (__cos, cos) diff --git a/sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c b/sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c index ee96536247..fa4bbbedbe 100644 --- a/sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c +++ b/sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c @@ -20,6 +20,7 @@ #include <math_ldbl_opt.h> #include <shlib-compat.h> #include "init-arch.h" +#include <libm-alias-float.h> extern __typeof (__floorf) __floorf_ppc64 attribute_hidden; extern __typeof (__floorf) __floorf_power5plus attribute_hidden; @@ -29,4 +30,4 @@ libc_ifunc (__floorf, ? __floorf_power5plus : __floorf_ppc64); -weak_alias (__floorf, floorf) +libm_alias_float (__floor, floor) diff --git a/sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c b/sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c index 330fe965a6..305d12caae 100644 --- a/sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c +++ b/sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c @@ -24,6 +24,7 @@ #undef lrintf #undef __lrintf #include "init-arch.h" +#include <libm-alias-float.h> extern __typeof (__llrintf) __llrint_ppc64 attribute_hidden; extern __typeof (__llrintf) __llrint_power6x attribute_hidden; @@ -41,6 +42,6 @@ libc_ifunc (__llrintf, ? __llrint_power6x : __llrint_ppc64); -weak_alias (__llrintf, llrintf) +libm_alias_float (__llrint, llrint) strong_alias (__llrintf, __lrintf) -weak_alias (__lrintf, lrintf) +libm_alias_float (__lrint, lrint) diff --git a/sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c b/sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c index 1e34b5dbc8..89edd4391f 100644 --- a/sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c +++ b/sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c @@ -24,6 +24,7 @@ #undef lroundf #undef __lroundf #include "init-arch.h" +#include <libm-alias-float.h> extern __typeof (__llroundf) __llroundf_ppc64 attribute_hidden; extern __typeof (__llroundf) __llround_power6x attribute_hidden; @@ -41,6 +42,6 @@ libc_ifunc (__llroundf, ? __llround_power6x : __llroundf_ppc64); -weak_alias (__llroundf, llroundf) +libm_alias_float (__llround, llround) strong_alias (__llroundf, __lroundf) -weak_alias (__lroundf, lroundf) +libm_alias_float (__lround, lround) diff --git a/sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c b/sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c index 1cacc8a950..fbbf8fa2a1 100644 --- a/sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c +++ b/sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c @@ -20,6 +20,7 @@ #include <math_ldbl_opt.h> #include <shlib-compat.h> #include "init-arch.h" +#include <libm-alias-float.h> extern __typeof (__logbf) __logbf_ppc64 attribute_hidden; extern __typeof (__logbf) __logbf_power7 attribute_hidden; @@ -29,4 +30,4 @@ libc_ifunc (__logbf, ? __logbf_power7 : __logbf_ppc64); -weak_alias (__logbf, logbf) +libm_alias_float (__logb, logb) diff --git a/sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c b/sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c index f57939cc66..62bd3a41e5 100644 --- a/sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c +++ b/sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c @@ -18,6 +18,7 @@ #include <math.h> #include "init-arch.h" +#include <libm-alias-float.h> extern __typeof (__modff) __modff_ppc64 attribute_hidden; extern __typeof (__modff) __modff_power5plus attribute_hidden; @@ -27,4 +28,4 @@ libc_ifunc (__modff, ? __modff_power5plus : __modff_ppc64); -weak_alias (__modff, modff) +libm_alias_float (__modf, modf) diff --git a/sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c b/sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c index 09609d3e91..2c3f4fc3b3 100644 --- a/sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c +++ b/sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c @@ -20,6 +20,7 @@ #include <math_ldbl_opt.h> #include <shlib-compat.h> #include "init-arch.h" +#include <libm-alias-float.h> extern __typeof (__roundf) __roundf_ppc64 attribute_hidden; extern __typeof (__roundf) __roundf_power5plus attribute_hidden; @@ -29,4 +30,4 @@ libc_ifunc (__roundf, ? __roundf_power5plus : __roundf_ppc64); -weak_alias (__roundf, roundf) +libm_alias_float (__round, round) diff --git a/sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c b/sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c index 6d7d6ce50d..0821cf4121 100644 --- a/sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c +++ b/sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c @@ -19,6 +19,7 @@ #include <math.h> #include <shlib-compat.h> #include "init-arch.h" +#include <libm-alias-float.h> extern __typeof (__sinf) __sinf_ppc64 attribute_hidden; extern __typeof (__sinf) __sinf_power8 attribute_hidden; @@ -28,4 +29,4 @@ libc_ifunc (__sinf, ? __sinf_power8 : __sinf_ppc64); -weak_alias (__sinf, sinf) +libm_alias_float (__sin, sin) diff --git a/sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c b/sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c index 2c46525235..ab607e1a46 100644 --- a/sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c +++ b/sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c @@ -20,6 +20,7 @@ #include <math_ldbl_opt.h> #include <shlib-compat.h> #include "init-arch.h" +#include <libm-alias-float.h> extern __typeof (__truncf) __truncf_ppc64 attribute_hidden; extern __typeof (__truncf) __truncf_power5plus attribute_hidden; @@ -29,4 +30,4 @@ libc_ifunc (__truncf, ? __truncf_power5plus : __truncf_ppc64); -weak_alias (__truncf, truncf) +libm_alias_float (__trunc, trunc) |