2018-11-12 Joseph Myers <joseph@codesourcery.com>
+ * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
+ with __hidden_ver1 call.
+ * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
+ * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
+ * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
+ (__cosf): Do not declare here.
+ * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
+ (__sincosf): Do not declare here.
+ * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
+ (__sinf): Do not declare here.
+
* sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
(__BIG_ENDIAN): Likewise.
(__BYTE_ORDER): Likewise.
#include <libm-alias-float.h>
#ifdef SHARED
__hidden_ver1 (__expf_ia32, __GI___expf, __redirect_expf)
- __attribute__ ((visibility ("hidden")));
+ __attribute__ ((visibility ("hidden"))) __THROW;
# include <shlib-compat.h>
versioned_symbol (libm, __expf, expf, GLIBC_2_27);
#include <libm-alias-float.h>
#ifdef SHARED
__hidden_ver1 (__log2f_ia32, __GI___log2f, __redirect_log2f)
- __attribute__ ((visibility ("hidden")));
+ __attribute__ ((visibility ("hidden"))) __THROW;
# include <shlib-compat.h>
versioned_symbol (libm, __log2f, log2f, GLIBC_2_27);
#include <libm-alias-float.h>
#ifdef SHARED
__hidden_ver1 (__logf_ia32, __GI___logf, __redirect_logf)
- __attribute__ ((visibility ("hidden")));
+ __attribute__ ((visibility ("hidden"))) __THROW;
# include <shlib-compat.h>
versioned_symbol (libm, __logf, logf, GLIBC_2_27);
#include <init-arch.h>
#include <libm-alias-float.h>
+#include <math.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);
libm_alias_float (__cos, cos);
#include <init-arch.h>
#include <libm-alias-float.h>
+#include <math.h>
extern void __sincosf_sse2 (float, float *, float *);
extern void __sincosf_ia32 (float, float *, float *);
-void __sincosf (float, float *, float *);
libm_ifunc (__sincosf,
HAS_CPU_FEATURE (SSE2) ? __sincosf_sse2 : __sincosf_ia32);
#include <init-arch.h>
#include <libm-alias-float.h>
+#include <math.h>
extern float __sinf_sse2 (float);
extern float __sinf_ia32 (float);
-float __sinf (float);
libm_ifunc (__sinf, HAS_CPU_FEATURE (SSE2) ? __sinf_sse2 : __sinf_ia32);
libm_alias_float (__sin, sin);