5de29b
# commit 32c301dfc9b786453e59b61fe4a821a89e1a206b
5de29b
# Author: Alan Modra <amodra@gmail.com>
5de29b
# Date:   Sat Aug 17 18:26:39 2013 +0930
5de29b
# 
5de29b
#     PowerPC floating point little-endian [5 of 15]
5de29b
#     http://sourceware.org/ml/libc-alpha/2013-08/msg00085.html
5de29b
#     
5de29b
#     Rid ourselves of ieee854.
5de29b
#     
5de29b
#         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
5de29b
#         Delete.
5de29b
#         (IEEE854_LONG_DOUBLE_BIAS): Delete.
5de29b
#         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
5de29b
#         version of math_ldbl.h.
5de29b
# 
12745e
diff -urN glibc-2.17-c758a686/sysdeps/ieee754/ldbl-128ibm/ieee754.h glibc-2.17-c758a686/sysdeps/ieee754/ldbl-128ibm/ieee754.h
12745e
--- glibc-2.17-c758a686/sysdeps/ieee754/ldbl-128ibm/ieee754.h	2014-05-27 22:10:43.000000000 -0500
12745e
+++ glibc-2.17-c758a686/sysdeps/ieee754/ldbl-128ibm/ieee754.h	2014-05-27 22:11:10.000000000 -0500
5de29b
@@ -112,61 +112,6 @@
5de29b
 #define IEEE754_DOUBLE_BIAS	0x3ff /* Added to exponent.  */
5de29b
 
5de29b
 
5de29b
-union ieee854_long_double
5de29b
-  {
5de29b
-    long double d;
5de29b
-
5de29b
-    /* This is the IEEE 854 quad-precision format.  */
5de29b
-    struct
5de29b
-      {
5de29b
-#if	__BYTE_ORDER == __BIG_ENDIAN
5de29b
-	unsigned int negative:1;
5de29b
-	unsigned int exponent:15;
5de29b
-	/* Together these comprise the mantissa.  */
5de29b
-	unsigned int mantissa0:16;
5de29b
-	unsigned int mantissa1:32;
5de29b
-	unsigned int mantissa2:32;
5de29b
-	unsigned int mantissa3:32;
5de29b
-#endif				/* Big endian.  */
5de29b
-#if	__BYTE_ORDER == __LITTLE_ENDIAN
5de29b
-	/* Together these comprise the mantissa.  */
5de29b
-	unsigned int mantissa3:32;
5de29b
-	unsigned int mantissa2:32;
5de29b
-	unsigned int mantissa1:32;
5de29b
-	unsigned int mantissa0:16;
5de29b
-	unsigned int exponent:15;
5de29b
-	unsigned int negative:1;
5de29b
-#endif				/* Little endian.  */
5de29b
-      } ieee;
5de29b
-
5de29b
-    /* This format makes it easier to see if a NaN is a signalling NaN.  */
5de29b
-    struct
5de29b
-      {
5de29b
-#if	__BYTE_ORDER == __BIG_ENDIAN
5de29b
-	unsigned int negative:1;
5de29b
-	unsigned int exponent:15;
5de29b
-	unsigned int quiet_nan:1;
5de29b
-	/* Together these comprise the mantissa.  */
5de29b
-	unsigned int mantissa0:15;
5de29b
-	unsigned int mantissa1:32;
5de29b
-	unsigned int mantissa2:32;
5de29b
-	unsigned int mantissa3:32;
5de29b
-#else
5de29b
-	/* Together these comprise the mantissa.  */
5de29b
-	unsigned int mantissa3:32;
5de29b
-	unsigned int mantissa2:32;
5de29b
-	unsigned int mantissa1:32;
5de29b
-	unsigned int mantissa0:15;
5de29b
-	unsigned int quiet_nan:1;
5de29b
-	unsigned int exponent:15;
5de29b
-	unsigned int negative:1;
5de29b
-#endif
5de29b
-      } ieee_nan;
5de29b
-  };
5de29b
-
5de29b
-#define IEEE854_LONG_DOUBLE_BIAS 0x3fff /* Added to exponent.  */
5de29b
-
5de29b
-
5de29b
 /* IBM extended format for long double.
5de29b
 
5de29b
    Each long double is made up of two IEEE doubles.  The value of the
12745e
diff -urN glibc-2.17-c758a686/sysdeps/ieee754/ldbl-128ibm/math_ldbl.h glibc-2.17-c758a686/sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
12745e
--- glibc-2.17-c758a686/sysdeps/ieee754/ldbl-128ibm/math_ldbl.h	2014-05-27 22:10:43.000000000 -0500
12745e
+++ glibc-2.17-c758a686/sysdeps/ieee754/ldbl-128ibm/math_ldbl.h	2014-05-27 22:11:10.000000000 -0500
5de29b
@@ -2,7 +2,6 @@
5de29b
 #error "Never use <math_ldbl.h> directly; include <math_private.h> instead."
5de29b
 #endif
5de29b
 
5de29b
-#include <sysdeps/ieee754/ldbl-128/math_ldbl.h>
5de29b
 #include <ieee754.h>
5de29b
   
5de29b
 static inline void