]> sourceware.org Git - glibc.git/commitdiff
Fix s_copysign stack temp for PowerPC64 ELFv2
authorAlan Modra <amodra@gmail.com>
Tue, 1 Apr 2014 03:37:42 +0000 (14:07 +1030)
committerAlan Modra <amodra@gmail.com>
Tue, 1 Apr 2014 03:40:22 +0000 (14:10 +1030)
[BZ #16786]
* sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.

ChangeLog
sysdeps/powerpc/powerpc64/fpu/s_copysign.S

index 22122b3323acaf195a22c27e891eaf714d5e716d..edb6ec4ecd3d7aa224c634dda51c83f9e3f29b99 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-04-01  Alan Modra  <amodra@gmail.com>
+
+       [BZ #16786]
+       * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
+
 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
 
        [BZ #6803]
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
This page took 0.120232 seconds and 5 git commands to generate.