Fri Jun 14 01:51:47 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
[glibc.git] / sysdeps / sparc / jmp_buf.h
blob43bae1a4968c9ab2e455d22492bce122c74e3ac6
1 /* Define the machine-dependent type `jmp_buf'. SPARC version. */
3 #if defined (__USE_MISC) || defined (_ASM)
4 #define JB_SP 0
5 #define JB_FP 1
6 #define JB_PC 2
7 #endif
9 #ifndef _ASM
10 typedef int __jmp_buf[3];
11 #endif
13 /* Test if longjmp to JMPBUF would unwind the frame
14 containing a local variable at ADDRESS. */
15 #define _JMPBUF_UNWINDS(jmpbuf, address) \
16 ((int) (address) < (jmpbuf)[JB_SP])