(__jmp_buf): Remove floating-point support.

(_JMPBUF_UNWINDS): Added.
This commit is contained in:
Ulrich Drepper 1998-06-01 13:39:22 +00:00
parent 6298404e7d
commit 6f43b79989

View File

@ -23,10 +23,14 @@
#endif #endif
#ifndef _ASM #ifndef _ASM
/* Jump buffer contains v1-v6, sl, fp, sp, pc and (f4-f7) if we do FP. */ /* Jump buffer contains v1-v6, sl, fp, sp and pc. Other registers are not
# if __ARM_USES_FP saved. */
typedef int __jmp_buf[22];
# else
typedef int __jmp_buf[10]; typedef int __jmp_buf[10];
#endif #endif
#endif
#define __JMP_BUF_SP 8
/* Test if longjmp to JMPBUF would unwind the frame
containing a local variable at ADDRESS. */
#define _JMPBUF_UNWINDS(jmpbuf, address) \
((void *) (address) < (void *) (jmpbuf[__JMP_BUF_SP]))