about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-05-07 21:24:52 +0000
committerUlrich Drepper <drepper@redhat.com>1998-05-07 21:24:52 +0000
commitebcd12d4f11fac725e30b49a8dd1635ec0573eb5 (patch)
treed607f4f7eaac9003f2c87a2167b8537c376a1388 /sysdeps
parentae9b308c6a4a6c2dc6886723764616f85402480d (diff)
downloadglibc-ebcd12d4f11fac725e30b49a8dd1635ec0573eb5.tar.gz
glibc-ebcd12d4f11fac725e30b49a8dd1635ec0573eb5.tar.xz
glibc-ebcd12d4f11fac725e30b49a8dd1635ec0573eb5.zip
Update.
1998-05-07  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Define.
	Patch by Matt McLean <keys@brio.yikes.com>.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/powerpc/bits/setjmp.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/powerpc/bits/setjmp.h b/sysdeps/powerpc/bits/setjmp.h
index 65db364555..100f1d1a90 100644
--- a/sysdeps/powerpc/bits/setjmp.h
+++ b/sysdeps/powerpc/bits/setjmp.h
@@ -39,3 +39,8 @@
 #ifndef	_ASM
 typedef long int __jmp_buf[58];
 #endif
+
+/* Test if longjmp to JMPBUF would unwind the frame
+   containing a local variable at ADDRESS.  */
+#define _JMPBUF_UNWINDS(jmpbuf, address) \
+  ((void *) (address) < (void *) (jmpbuf)[JB_GPR1])