[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commits] r14459 - in /branches/eglibc-2_14/libc: ChangeLog.eglibc sysdeps/powerpc/powerpc32/dl-trampoline.S



Author: joseph
Date: Wed Jul  6 09:52:53 2011
New Revision: 14459

Log:
2011-07-06  Sebastan Andrzej Siewior  <bigeasy@xxxxxxxxxxxxx>

	* sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__
	around floating point opcodes.

Modified:
    branches/eglibc-2_14/libc/ChangeLog.eglibc
    branches/eglibc-2_14/libc/sysdeps/powerpc/powerpc32/dl-trampoline.S

Modified: branches/eglibc-2_14/libc/ChangeLog.eglibc
==============================================================================
--- branches/eglibc-2_14/libc/ChangeLog.eglibc (original)
+++ branches/eglibc-2_14/libc/ChangeLog.eglibc Wed Jul  6 09:52:53 2011
@@ -1,3 +1,8 @@
+2011-07-06  Sebastan Andrzej Siewior  <bigeasy@xxxxxxxxxxxxx>
+
+	* sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__
+	around floating point opcodes.
+
 2011-06-23  Maxim Kuvyrkov  <maxim@xxxxxxxxxxxxxxxx>
 
 	Backport from trunk:

Modified: branches/eglibc-2_14/libc/sysdeps/powerpc/powerpc32/dl-trampoline.S
==============================================================================
--- branches/eglibc-2_14/libc/sysdeps/powerpc/powerpc32/dl-trampoline.S (original)
+++ branches/eglibc-2_14/libc/sysdeps/powerpc/powerpc32/dl-trampoline.S Wed Jul  6 09:52:53 2011
@@ -137,6 +137,7 @@
 	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 @@
 	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 @@
 	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 @@
 	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