summaryrefslogtreecommitdiff
path: root/sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c')
-rw-r--r--sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c3
1 files changed, 2 insertions, 1 deletions
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)