]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(__jmp_buf): Remove floating-point support.
authorUlrich Drepper <drepper@redhat.com>
Mon, 1 Jun 1998 13:39:22 +0000 (13:39 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 1 Jun 1998 13:39:22 +0000 (13:39 +0000)
(_JMPBUF_UNWINDS): Added.

sysdeps/arm/bits/setjmp.h

index ea25a9ba8733f9ff63a82e94ed28eb989be24ecf..6d8737970b8cea4ed5be4dd0e27b14b25d8d772d 100644 (file)
 #endif
 
 #ifndef _ASM
-/* Jump buffer contains v1-v6, sl, fp, sp, pc and (f4-f7) if we do FP. */
-# if __ARM_USES_FP
-typedef int __jmp_buf[22];
-# else
+/* Jump buffer contains v1-v6, sl, fp, sp and pc.  Other registers are not
+   saved.  */
 typedef int __jmp_buf[10];
-# 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]))