ce426f
# commit 76a66d510a3737674563133a420f4fd22da42c1b
ce426f
# Author: Anton Blanchard <anton@au1.ibm.com>
ce426f
# Date:   Sat Aug 17 18:33:02 2013 +0930
ce426f
# 
ce426f
#     PowerPC floating point little-endian [14 of 15]
ce426f
#     http://sourceware.org/ml/libc-alpha/2013-07/msg00205.html
ce426f
#     
ce426f
#     These all wrongly specified float constants in a 64-bit word.
ce426f
#     
ce426f
#         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
ce426f
#         for little-endian.
ce426f
#         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
ce426f
#         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
ce426f
#         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
ce426f
#         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
ce426f
#         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
ce426f
#
ce426f
diff -urN glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/fpu/s_ceilf.S glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/fpu/s_ceilf.S
ce426f
--- glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/fpu/s_ceilf.S	2014-05-27 22:52:12.000000000 -0500
ce426f
+++ glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/fpu/s_ceilf.S	2014-05-27 22:52:18.000000000 -0500
ce426f
@@ -19,8 +19,10 @@
ce426f
 #include <sysdep.h>
ce426f
 
ce426f
 	.section	".toc","aw"
ce426f
+	.p2align 3
ce426f
 .LC0:	/* 2**23 */
ce426f
-	.tc FD_4b000000_0[TC],0x4b00000000000000
ce426f
+	.long 0x4b000000
ce426f
+	.long 0x0
ce426f
 	.section	".text"
ce426f
 
ce426f
 EALIGN (__ceilf, 4, 0)
ce426f
diff -urN glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/fpu/s_floorf.S glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/fpu/s_floorf.S
ce426f
--- glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/fpu/s_floorf.S	2014-05-27 22:52:12.000000000 -0500
ce426f
+++ glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/fpu/s_floorf.S	2014-05-27 22:52:18.000000000 -0500
ce426f
@@ -19,8 +19,10 @@
ce426f
 #include <sysdep.h>
ce426f
 
ce426f
 	.section	".toc","aw"
ce426f
+	.p2align 3
ce426f
 .LC0:	/* 2**23 */
ce426f
-	.tc FD_4b000000_0[TC],0x4b00000000000000
ce426f
+	.long 0x4b000000
ce426f
+	.long 0x0
ce426f
 	.section	".text"
ce426f
 
ce426f
 EALIGN (__floorf, 4, 0)
ce426f
diff -urN glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S
ce426f
--- glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S	2014-05-27 22:52:12.000000000 -0500
ce426f
+++ glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S	2014-05-27 22:52:18.000000000 -0500
ce426f
@@ -26,8 +26,10 @@
ce426f
 /* float [fp1] nearbyintf(float [fp1]) */
ce426f
 
ce426f
 	.section	".toc","aw"
ce426f
+	.p2align 3
ce426f
 .LC0:	/* 2**23 */
ce426f
-	.tc FD_4b000000_0[TC],0x4b00000000000000
ce426f
+	.long 0x4b000000
ce426f
+	.long 0x0
ce426f
 	.section	".text"
ce426f
 
ce426f
 EALIGN (__nearbyintf, 4, 0)
ce426f
diff -urN glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/fpu/s_rintf.S glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/fpu/s_rintf.S
ce426f
--- glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/fpu/s_rintf.S	2014-05-27 22:52:12.000000000 -0500
ce426f
+++ glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/fpu/s_rintf.S	2014-05-27 22:52:18.000000000 -0500
ce426f
@@ -19,8 +19,10 @@
ce426f
 #include <sysdep.h>
ce426f
 
ce426f
 	.section	".toc","aw"
ce426f
+	.p2align 3
ce426f
 .LC0:	/* 2**23 */
ce426f
-	.tc FD_4b000000_0[TC],0x4b00000000000000
ce426f
+	.long 0x4b000000
ce426f
+	.long 0x0
ce426f
 	.section	".text"
ce426f
 
ce426f
 EALIGN (__rintf, 4, 0)
ce426f
diff -urN glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/fpu/s_roundf.S glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/fpu/s_roundf.S
ce426f
--- glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/fpu/s_roundf.S	2014-05-27 22:52:12.000000000 -0500
ce426f
+++ glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/fpu/s_roundf.S	2014-05-27 22:52:18.000000000 -0500
ce426f
@@ -19,10 +19,12 @@
ce426f
 #include <sysdep.h>
ce426f
 
ce426f
 	.section	".toc","aw"
ce426f
+	.p2align 3
ce426f
 .LC0:	/* 2**23 */
ce426f
-	.tc FD_4b000000_0[TC],0x4b00000000000000
ce426f
+	.long 0x4b000000
ce426f
 .LC1:	/* 0.5 */
ce426f
-	.tc FD_3f000000_0[TC],0x3f00000000000000
ce426f
+	.long 0x3f000000
ce426f
+
ce426f
 	.section	".text"
ce426f
 	
ce426f
 /* float [fp1] roundf  (float x [fp1])
ce426f
diff -urN glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/fpu/s_truncf.S glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/fpu/s_truncf.S
ce426f
--- glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/fpu/s_truncf.S	2014-05-27 22:52:12.000000000 -0500
ce426f
+++ glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/fpu/s_truncf.S	2014-05-27 22:52:18.000000000 -0500
ce426f
@@ -19,8 +19,10 @@
ce426f
 #include <sysdep.h>
ce426f
 
ce426f
 	.section	".toc","aw"
ce426f
+	.p2align 3
ce426f
 .LC0:	/* 2**23 */
ce426f
-	.tc FD_4b000000_0[TC],0x4b00000000000000
ce426f
+	.long 0x4b000000
ce426f
+	.long 0x0
ce426f
 	.section	".text"
ce426f
 	
ce426f
 /* float [fp1] truncf (float x [fp1])