summary refs log tree commit diff
path: root/nptl/unwind.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-09-02 22:47:23 +0000
committerUlrich Drepper <drepper@redhat.com>2004-09-02 22:47:23 +0000
commitf76c8499101d2826013989954dcbccf5fb8321be (patch)
tree594ecc513964a1d071f243ad9f6cc4a9f6fcd2e3 /nptl/unwind.c
parent73f7c32c47ab2397935d9fc2aeaa594794b38c7e (diff)
downloadglibc-f76c8499101d2826013989954dcbccf5fb8321be.tar.gz
glibc-f76c8499101d2826013989954dcbccf5fb8321be.tar.xz
glibc-f76c8499101d2826013989954dcbccf5fb8321be.zip
Update.
	* sysdeps/alpha/jmpbuf-unwind.h: Define __libc_unwind_longjmp.
	* sysdeps/i386/jmpbuf-unwind.h: Likewise
	* sysdeps/powerpc/jmpbuf-unwind.h: Likewise.
	* sysdeps/s390/jmpbuf-unwind.h: Likewise.
	* sysdeps/sh/jmpbuf-unwind.h: Likewise.
	* sysdeps/sparc/sparc32/jmpbuf-unwind.h: Likewise.
	* sysdeps/unix/sysv/linux/ia64/jmpbuf-unwind.h: Likewise.
	* sysdeps/x86_64/jmpbuf-unwind.h: Likewise.
	* unwind.c: Use it.
Diffstat (limited to 'nptl/unwind.c')
-rw-r--r--nptl/unwind.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/nptl/unwind.c b/nptl/unwind.c
index f72c33891d..56a4238158 100644
--- a/nptl/unwind.c
+++ b/nptl/unwind.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 Free Software Foundation, Inc.
+/* Copyright (C) 2003, 2004 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@redhat.com>
    and Richard Henderson <rth@redhat.com>, 2003.
@@ -47,7 +47,7 @@ unwind_stop (int version, _Unwind_Action actions,
   struct pthread *self = THREAD_SELF;
   struct _pthread_cleanup_buffer *curp = THREAD_GETMEM (self, cleanup);
   int do_longjump = 0;
-  
+
   /* Adjust all pointers used in comparisons, so that top of thread's
      stack is at the top of address space.  Without that, things break
      if stack is allocated above the main stack.  */
@@ -93,7 +93,7 @@ unwind_stop (int version, _Unwind_Action actions,
     }
 
   if (do_longjump)
-    __libc_longjmp ((struct __jmp_buf_tag *) buf->cancel_jmp_buf, 1);
+    __libc_unwind_longjmp ((struct __jmp_buf_tag *) buf->cancel_jmp_buf, 1);
 
   return _URC_NO_REASON;
 }
@@ -155,7 +155,7 @@ __pthread_unwind (__pthread_unwind_buf_t *buf)
     }
 
   /* We simply jump to the registered setjmp buffer.  */
-  __libc_longjmp ((struct __jmp_buf_tag *) ibuf->cancel_jmp_buf, 1);
+  __libc_unwind_longjmp ((struct __jmp_buf_tag *) ibuf->cancel_jmp_buf, 1);
 #endif
   /* NOTREACHED */