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

[commits] r8875 - in /trunk/ports: ChangeLog.eglibc sysdeps/powerpc/powerpc32/e500/fpu/__longjmp-common.S



Author: joseph
Date: Tue Aug 25 19:13:27 2009
New Revision: 8875

Log:
	* sysdeps/powerpc/powerpc32/e500/fpu/__longjmp-common.S: Move
	CHECK_SP earlier.

Modified:
    trunk/ports/ChangeLog.eglibc
    trunk/ports/sysdeps/powerpc/powerpc32/e500/fpu/__longjmp-common.S

Modified: trunk/ports/ChangeLog.eglibc
==============================================================================
--- trunk/ports/ChangeLog.eglibc (original)
+++ trunk/ports/ChangeLog.eglibc Tue Aug 25 19:13:27 2009
@@ -1,3 +1,8 @@
+2009-08-25  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
+
+	* sysdeps/powerpc/powerpc32/e500/fpu/__longjmp-common.S: Move
+	CHECK_SP earlier.
+
 2009-08-20  Maxim Kuvyrkov  <maxim@xxxxxxxxxxxxxxxx>
 	    Carlos O'Donell  <carlos@xxxxxxxxxxxxxxxx>
 

Modified: trunk/ports/sysdeps/powerpc/powerpc32/e500/fpu/__longjmp-common.S
==============================================================================
--- trunk/ports/sysdeps/powerpc/powerpc32/e500/fpu/__longjmp-common.S (original)
+++ trunk/ports/sysdeps/powerpc/powerpc32/e500/fpu/__longjmp-common.S Tue Aug 25 19:13:27 2009
@@ -33,6 +33,13 @@
 
 #if defined PTR_DEMANGLE || defined CHECK_SP
 	lwz r24,(JB_GPR1*4)(r3)
+# ifdef CHECK_SP
+#  ifdef PTR_DEMANGLE
+	PTR_DEMANGLE3 (r24, r24, r25)
+#  endif
+	CHECK_SP (r24)
+	mr r1,r24
+# endif
 #else
 	lwz r1,(JB_GPR1*4)(r3)
 #endif
@@ -59,16 +66,10 @@
 	evldd r20,((JB_FPRS+6*2)*4)(r3)
 	lwz r20,((JB_GPRS+6)*4)(r3)
 #ifdef PTR_DEMANGLE
-# ifdef CHECK_SP
-	PTR_DEMANGLE3 (r24, r24, r25)
-# else
+# ifndef CHECK_SP
 	PTR_DEMANGLE3 (r1, r24, r25)
 # endif
 	PTR_DEMANGLE2 (r0, r25)
-#endif
-#ifdef CHECK_SP
-	CHECK_SP (r24)
-	mr r1,r24
 #endif
 	mtlr r0
 	/*lfd fp21,((JB_FPRS+7*2)*4)(r3)*/