summary refs log tree commit diff
path: root/sysdeps/m68k
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>1998-04-22 02:07:41 +0000
committerAndreas Schwab <schwab@suse.de>1998-04-22 02:07:41 +0000
commitcf1b2c7b8cfc22cc298e4746b2b47d7b155b815a (patch)
treebd5e892189e7703ecda528081b9816901a03ecc2 /sysdeps/m68k
parent01cad722667c7b25535b2d248598f3d535e7caa9 (diff)
downloadglibc-cf1b2c7b8cfc22cc298e4746b2b47d7b155b815a.tar.gz
glibc-cf1b2c7b8cfc22cc298e4746b2b47d7b155b815a.tar.xz
glibc-cf1b2c7b8cfc22cc298e4746b2b47d7b155b815a.zip
* sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
Wed Apr 22 11:06:09 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
Diffstat (limited to 'sysdeps/m68k')
-rw-r--r--sysdeps/m68k/bits/setjmp.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/m68k/bits/setjmp.h b/sysdeps/m68k/bits/setjmp.h
index a302b72393..aa376a0925 100644
--- a/sysdeps/m68k/bits/setjmp.h
+++ b/sysdeps/m68k/bits/setjmp.h
@@ -39,3 +39,8 @@ typedef struct
 #endif
 
   } __jmp_buf[1];
+
+/* 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)