[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commits] r8488 - in /trunk/ports: ChangeLog.eglibc sysdeps/powerpc/powerpc32/e500/fpu/__longjmp-common.S
- To: commits@xxxxxxxxxx
- Subject: [commits] r8488 - in /trunk/ports: ChangeLog.eglibc sysdeps/powerpc/powerpc32/e500/fpu/__longjmp-common.S
- From: joseph@xxxxxxxxxx
- Date: Fri, 22 May 2009 22:22:43 -0000
Author: joseph
Date: Fri May 22 15:22:43 2009
New Revision: 8488
Log:
* sysdeps/powerpc/powerpc32/e500/fpu/__longjmp-common.S: Use
CHECK_SP if defined.
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 Fri May 22 15:22:43 2009
@@ -1,3 +1,8 @@
+2009-05-22 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ * sysdeps/powerpc/powerpc32/e500/fpu/__longjmp-common.S: Use
+ CHECK_SP if defined.
+
2009-05-12 Maxim Kuvyrkov <maxim@xxxxxxxxxxxxxxxx>
* sysdeps/arm/eabi/Makefile (aeabi_localeconv): Don't build without
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 Fri May 22 15:22:43 2009
@@ -1,5 +1,5 @@
/* longjmp for PowerPC E500.
- Copyright (C) 2004, 2006 Free Software Foundation, Inc.
+ Copyright (C) 2004, 2006, 2009 Free Software Foundation, Inc.
Contributed by Aldy Hernandez <aldyh@xxxxxxxxxx>.
The GNU C Library is free software; you can redistribute it and/or
@@ -31,7 +31,7 @@
ENTRY (BP_SYM (__longjmp))
CHECK_BOUNDS_BOTH_WIDE_LIT (r3, r8, r9, JB_SIZE)
-#ifdef PTR_DEMANGLE
+#if defined PTR_DEMANGLE || defined CHECK_SP
lwz r24,(JB_GPR1*4)(r3)
#else
lwz r1,(JB_GPR1*4)(r3)
@@ -59,8 +59,16 @@
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
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)*/