diff options
author | Alan Modra <amodra@gmail.com> | 2014-04-01 14:07:42 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2014-04-01 14:10:22 +1030 |
commit | c859b32e9d76afe8a3f20bb9528961a573c06937 (patch) | |
tree | 354bfa33b842d182ee2e0a4c1452f7651bdee795 | |
parent | 8795b4a443a8f19d279e0c1bc99b73d1f5aec166 (diff) | |
download | glibc-c859b32e9d76afe8a3f20bb9528961a573c06937.tar glibc-c859b32e9d76afe8a3f20bb9528961a573c06937.tar.gz glibc-c859b32e9d76afe8a3f20bb9528961a573c06937.tar.bz2 glibc-c859b32e9d76afe8a3f20bb9528961a573c06937.zip |
Fix s_copysign stack temp for PowerPC64 ELFv2
[BZ #16786]
* sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | sysdeps/powerpc/powerpc64/fpu/s_copysign.S | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -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] diff --git a/sysdeps/powerpc/powerpc64/fpu/s_copysign.S b/sysdeps/powerpc/powerpc64/fpu/s_copysign.S index 51681aa2a8..49c793d386 100644 --- a/sysdeps/powerpc/powerpc64/fpu/s_copysign.S +++ b/sysdeps/powerpc/powerpc64/fpu/s_copysign.S @@ -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 |