summaryrefslogtreecommitdiff
path: root/recipes/glibc/glibc-2.2.5/sh-setjmp-fix.patch
blob: fa2f51aab69eb7bc68d5c2d49d9845de835e2ce3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

#
# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
#

--- glibc-2.2.5/sysdeps/sh/bits/setjmp.h~sh-setjmp-fix.patch	2004-09-03 19:00:33.000000000 -0500
+++ glibc-2.2.5/sysdeps/sh/bits/setjmp.h	2004-09-03 19:00:39.000000000 -0500
@@ -42,7 +42,9 @@
   } __jmp_buf[1];
 #endif
 
+#if defined __USE_MISC || defined _ASM
 #define JB_SIZE		(4 * 15)
+#endif
 
 /* Test if longjmp to JMPBUF would unwind the frame
    containing a local variable at ADDRESS.  */