summaryrefslogtreecommitdiff
path: root/sysdeps/i386/i686/fpu/multiarch/s_cosf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/i386/i686/fpu/multiarch/s_cosf.c')
-rw-r--r--sysdeps/i386/i686/fpu/multiarch/s_cosf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/i386/i686/fpu/multiarch/s_cosf.c b/sysdeps/i386/i686/fpu/multiarch/s_cosf.c
index f46695a2e7..a4556a478d 100644
--- a/sysdeps/i386/i686/fpu/multiarch/s_cosf.c
+++ b/sysdeps/i386/i686/fpu/multiarch/s_cosf.c
@@ -1,5 +1,5 @@
/* Multiple versions of cosf
- Copyright (C) 2012-2016 Free Software Foundation, Inc.
+ Copyright (C) 2012-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,13 +17,14 @@
<http://www.gnu.org/licenses/>. */
#include <init-arch.h>
+#include <libm-alias-float.h>
extern float __cosf_sse2 (float);
extern float __cosf_ia32 (float);
float __cosf (float);
libm_ifunc (__cosf, HAS_CPU_FEATURE (SSE2) ? __cosf_sse2 : __cosf_ia32);
-weak_alias (__cosf, cosf);
+libm_alias_float (__cos, cos);
#define COSF __cosf_ia32
#include <sysdeps/ieee754/flt-32/s_cosf.c>