OSDN Git Service

Fixup JMPBUF_UNWINDS so that is will compile if used :-)
authorDavid McCullough <davidm@snapgear.com>
Tue, 17 Sep 2002 01:41:54 +0000 (01:41 -0000)
committerDavid McCullough <davidm@snapgear.com>
Tue, 17 Sep 2002 01:41:54 +0000 (01:41 -0000)
libc/sysdeps/linux/m68k/bits/setjmp.h

index ea8045d..9969aba 100644 (file)
@@ -40,4 +40,4 @@ typedef struct
 /* Test if longjmp to JMPBUF would unwind the frame
    containing a local variable at ADDRESS.  */
 #define _JMPBUF_UNWINDS(jmpbuf, address) \
-  ((void *) (address) < (void *) (jmpbuf)->__sp)
+  ((void *) (address) < (void *) (jmpbuf)->__aregs[5])