]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Backport PPC ELFv2 s_copysign stack temp bugfix (PR16786, b/13737066).
authorBrooks Moses <bmoses@google.com>
Mon, 19 May 2014 22:05:10 +0000 (15:05 -0700)
committerBrooks Moses <bmoses@google.com>
Mon, 19 May 2014 22:05:10 +0000 (15:05 -0700)
README.google
sysdeps/powerpc/powerpc64/fpu/s_copysign.S

index 817b933f8377e5b573c755b77f69ec92e2a6d819..661d4140f01480e4e3b1b90de1334441918e2c55 100644 (file)
@@ -323,3 +323,9 @@ libio/wfileops.c
   https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=091eff71a5edacb5a321c6e573f09a5358540675
   https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=d4b17258bba38f206079fbae1e7255779db1b74c
   (bmoses, already upstream)
+
+sysdeps/powerpc/powerpc64/fpu/s_copysign.S
+  For b/13737066, backport upstream patches for PR16786 (s_copysign
+  stack temp bugfix on PPC ELFv2):
+  https://sourceware.org/ml/libc-alpha/2014-04/msg00000.html
+  (bmoses, already upstream)
index 51681aa2a845aaca7af497d7540f71b041918b02..49c793d386986c714dcdc684a45eb78511bf7621 100644 (file)
@@ -27,11 +27,11 @@ ENTRY(__copysign)
 /* double [f1] copysign (double [f1] x, double [f2] y);
    copysign(x,y) returns a value with the magnitude of x and
    with the sign bit of y.  */
-       stfd    fp2,56(r1)
+       stfd    fp2,-8(r1)
        nop
        nop
        nop
-       ld      r3,56(r1)
+       ld      r3,-8(r1)
        cmpdi   r3,0
        blt     L(0)
        fabs    fp1,fp1