about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndrew Senkevich <andrew.senkevich@intel.com>2015-06-19 20:42:34 +0300
committerAndrew Senkevich <andrew.senkevich@intel.com>2015-06-19 20:42:34 +0300
commitc34248820017fc9f132965aeb36f795e4298f2c0 (patch)
treee0601a23eca6a0ae2d23e631897420fa2416f99b
parent2419de0720823d74d3f139618bb0321f99e82aaf (diff)
downloadglibc-c34248820017fc9f132965aeb36f795e4298f2c0.tar.gz
glibc-c34248820017fc9f132965aeb36f795e4298f2c0.tar.xz
glibc-c34248820017fc9f132965aeb36f795e4298f2c0.zip
Fixed powerpc64 build.
    * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
    __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
    definitions for proper unfolding of __MATHDECL_VEC.
-rw-r--r--ChangeLog6
-rw-r--r--sysdeps/ieee754/ldbl-opt/s_sin.c4
2 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 7dedfb419a..c308efbf36 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
+
+	* sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
+	__DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
+	definitions for proper unfolding of __MATHDECL_VEC.
+
 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
 
 	* benchtests/bench-strcoll.c:
diff --git a/sysdeps/ieee754/ldbl-opt/s_sin.c b/sysdeps/ieee754/ldbl-opt/s_sin.c
index a11d5a33dc..04e60e2731 100644
--- a/sysdeps/ieee754/ldbl-opt/s_sin.c
+++ b/sysdeps/ieee754/ldbl-opt/s_sin.c
@@ -1,5 +1,9 @@
 /* dbl-64/s_sin.c uses NAN and sincos identifiers internally.  */
 #define sincos sincos_disable
+/* These definitions needed for proper unfolding of __MATHDECL_VEC.  */
+#define __DECL_SIMD_sincos_disable
+#define __DECL_SIMD_sincos_disablef
+#define __DECL_SIMD_sincos_disablel
 #include <math_ldbl_opt.h>
 #undef NAN
 #undef sincos