about summary refs log tree commit diff
path: root/sysdeps/powerpc/__longjmp.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/powerpc/__longjmp.S')
-rw-r--r--sysdeps/powerpc/__longjmp.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/powerpc/__longjmp.S b/sysdeps/powerpc/__longjmp.S
index 5d6422c500..875bab62fc 100644
--- a/sysdeps/powerpc/__longjmp.S
+++ b/sysdeps/powerpc/__longjmp.S
@@ -45,12 +45,14 @@ ENTRY (__longjmp)
 	lfd %f21,((JB_FPRS+7*2)*4)(%r3)
 	lwz %r22,((JB_GPRS+8)*4)(%r3)
 	lfd %f22,((JB_FPRS+8*2)*4)(%r3)
+	lwz %r0,(JB_CR*4)(%r3)
 	lwz %r23,((JB_GPRS+9)*4)(%r3)
 	lfd %f23,((JB_FPRS+9*2)*4)(%r3)
 	lwz %r24,((JB_GPRS+10)*4)(%r3)
 	lfd %f24,((JB_FPRS+10*2)*4)(%r3)
 	lwz %r25,((JB_GPRS+11)*4)(%r3)
 	lfd %f25,((JB_FPRS+11*2)*4)(%r3)
+	mtcrf 0xFF,%r0
 	lwz %r26,((JB_GPRS+12)*4)(%r3)
 	lfd %f26,((JB_FPRS+12*2)*4)(%r3)
 	lwz %r27,((JB_GPRS+13)*4)(%r3)