diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-05-07 21:24:52 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-05-07 21:24:52 +0000 |
commit | ebcd12d4f11fac725e30b49a8dd1635ec0573eb5 (patch) | |
tree | d607f4f7eaac9003f2c87a2167b8537c376a1388 /sysdeps/powerpc/bits/setjmp.h | |
parent | ae9b308c6a4a6c2dc6886723764616f85402480d (diff) | |
download | glibc-ebcd12d4f11fac725e30b49a8dd1635ec0573eb5.zip glibc-ebcd12d4f11fac725e30b49a8dd1635ec0573eb5.tar.gz glibc-ebcd12d4f11fac725e30b49a8dd1635ec0573eb5.tar.bz2 |
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/powerpc/bits/setjmp.h')
-rw-r--r-- | sysdeps/powerpc/bits/setjmp.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/powerpc/bits/setjmp.h b/sysdeps/powerpc/bits/setjmp.h index 65db364..100f1d1 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]) |