olga / rpms / glibc

Forked from rpms/glibc 5 years ago
Clone
00db10
# commit c859b32e9d76afe8a3f20bb9528961a573c06937
00db10
# Author: Alan Modra <amodra@gmail.com>
00db10
# Date:   Tue Apr 1 14:07:42 2014 +1030
00db10
# 
00db10
#     Fix s_copysign stack temp for PowerPC64 ELFv2
00db10
# 
00db10
#         [BZ #16786]
00db10
#         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
00db10
# 
00db10
diff -urN glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/fpu/s_copysign.S glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/fpu/s_copysign.S
00db10
--- glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/fpu/s_copysign.S	2014-05-29 14:13:47.000000000 -0500
00db10
+++ glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/fpu/s_copysign.S	2014-05-29 14:13:50.000000000 -0500
00db10
@@ -27,11 +27,11 @@
00db10
 /* double [f1] copysign (double [f1] x, double [f2] y);
00db10
    copysign(x,y) returns a value with the magnitude of x and
00db10
    with the sign bit of y.  */
00db10
-	stfd	fp2,56(r1)
00db10
+	stfd	fp2,-8(r1)
00db10
 	nop
00db10
 	nop
00db10
 	nop
00db10
-	ld	r3,56(r1)
00db10
+	ld	r3,-8(r1)
00db10
 	cmpdi   r3,0
00db10
 	blt     L(0)
00db10
 	fabs    fp1,fp1