summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mdk-stage1/dietlibc/include/setjmp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/mdk-stage1/dietlibc/include/setjmp.h b/mdk-stage1/dietlibc/include/setjmp.h
index 64091ebee..6af7b7a6c 100644
--- a/mdk-stage1/dietlibc/include/setjmp.h
+++ b/mdk-stage1/dietlibc/include/setjmp.h
@@ -175,7 +175,11 @@ typedef int __jmp_buf[24];
# define JB_GPRS 3 /* GPRs 14 through 31 are saved, 18 in total */
# define JB_CR 21 /* Condition code registers. */
# define JB_FPRS 22 /* FPRs 14 through 31 are saved, 18*2 words total */
+# if defined(powerpc)
# define JB_SIZE (58*4)
+# else
+# define JB_SIZE (58*8)
+# endif
#ifndef __ASSEMBLER__
typedef long int __jmp_buf[58];
#endif