summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2011-07-06 16:51:41 +0000
committerjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2011-07-06 16:51:41 +0000
commit53a51f52cda4c0389436ba6408d094c756edcf95 (patch)
tree320c9dc340542413f389572e174c9209b42bd54a /libc
parentb10424bc82f875da5f33928b47ace9232d4cb33f (diff)
downloadeglibc2-53a51f52cda4c0389436ba6408d094c756edcf95.tar.gz
2011-07-06 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
* sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around floating point opcodes. git-svn-id: svn://svn.eglibc.org/trunk@14458 7b3dc134-2b1b-0410-93df-9e9f96275f8d
Diffstat (limited to 'libc')
-rw-r--r--libc/ChangeLog.eglibc5
-rw-r--r--libc/sysdeps/powerpc/powerpc32/dl-trampoline.S4
2 files changed, 9 insertions, 0 deletions
diff --git a/libc/ChangeLog.eglibc b/libc/ChangeLog.eglibc
index 381baa339..670beedc7 100644
--- a/libc/ChangeLog.eglibc
+++ b/libc/ChangeLog.eglibc
@@ -1,3 +1,8 @@
+2011-07-06 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
+
+ * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__
+ around floating point opcodes.
+
2011-06-23 Paul Pluzhnikov <ppluzhnikov@google.com>
* resolv/res_libc.c (__res_initstamp): Declare unconditionally.
diff --git a/libc/sysdeps/powerpc/powerpc32/dl-trampoline.S b/libc/sysdeps/powerpc/powerpc32/dl-trampoline.S
index 6a158c3ff..bd815c7e9 100644
--- a/libc/sysdeps/powerpc/powerpc32/dl-trampoline.S
+++ b/libc/sysdeps/powerpc/powerpc32/dl-trampoline.S
@@ -137,6 +137,7 @@ _dl_prof_resolve:
stw r9,40(r1)
stw r10,44(r1)
stw r0,8(r1)
+#ifndef __NO_FPRS__
# Save the floating point registers
stfd fp1,48(r1)
stfd fp2,56(r1)
@@ -146,6 +147,7 @@ _dl_prof_resolve:
stfd fp6,88(r1)
stfd fp7,96(r1)
stfd fp8,104(r1)
+#endif
# XXX TODO: store vmx registers
# Load the extra parameters.
addi r6,r1,16
@@ -169,6 +171,7 @@ _dl_prof_resolve:
lwz r4,20(r1)
lwz r3,16(r1)
lwz r0,12(r1)
+#ifndef __NO_FPRS__
# Load the floating point registers.
lfd fp1,48(r1)
lfd fp2,56(r1)
@@ -178,6 +181,7 @@ _dl_prof_resolve:
lfd fp6,88(r1)
lfd fp7,96(r1)
lfd fp8,104(r1)
+#endif
# ...unwind the stack frame, and jump to the PLT entry we updated.
addi r1,r1,320
bctr