From: <ai...@us...> - 2004-02-26 02:21:56
|
Update of /cvsroot/linux-vax/glibc/sysdeps/vax/bits In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1863/bits Modified Files: setjmp.h Log Message: port over setjmp/longjmp etc from uClibc Index: setjmp.h =================================================================== RCS file: /cvsroot/linux-vax/glibc/sysdeps/vax/bits/setjmp.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- setjmp.h 21 Sep 2001 23:55:10 -0000 1.3 +++ setjmp.h 26 Feb 2004 02:06:31 -0000 1.4 @@ -4,16 +4,19 @@ # error "Never include <bits/setjmp.h> directly; use <setjmp.h> instead." #endif +typedef int __jmp_buf[16]; +#if 0 typedef struct { void * __fp; void * __pc; void * __sp; } __jmp_buf[1]; +#endif -#define JB_SP 2 +#define JB_SP 4 /* Test if longjmp to JMPBUF would unwind the frame containing a local variable at ADDRESS. */ #define _JMPBUF_UNWINDS(jmpbuf, address) \ - ((unsigned long int) (address) < (jmpbuf)->__sp) + ((void *) (address) < (void *)(jmpbuf[4]) |