Update.
authorUlrich Drepper <drepper@redhat.com>
Tue, 1 Jul 2003 03:33:06 +0000 (03:33 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 1 Jul 2003 03:33:06 +0000 (03:33 +0000)
* sysdeps/unix/sysv/linux/unwindbuf.sym: New file.
* sysdeps/unix/sysv/linux/Makefile: Add rule to build unwindbuf.h.

nptl/ChangeLog
nptl/Makefile
nptl/sysdeps/unix/sysv/linux/Makefile
nptl/sysdeps/unix/sysv/linux/unwindbuf.sym [new file with mode: 0644]

index 11071d68c3b5393fe25964f5b8795afc8ce686be..a739fe1db74da1c86d0558e9d3c96fe885acdcc4 100644 (file)
@@ -2,6 +2,8 @@
 
        * sysdeps/unix/sysv/linux/i386/pthread_once.S (__pthread_once):
        Use correct cleanup handler registration.  Add unwind info.
+       * sysdeps/unix/sysv/linux/unwindbuf.sym: New file.
+       * sysdeps/unix/sysv/linux/Makefile: Add rule to build unwindbuf.h.
        * tst-once3.c: Add cleanup handler and check it is called.
        * tst-once4.c: Likewise.
        * tst-oncex3.c: New file.
index 09a7ecc1b25b653ee561623f3c99d2f3316ddf9e..a261efbb6d5dec55ac68a597adb0c63951c5327b 100644 (file)
@@ -244,7 +244,8 @@ tests += tst-cancelx2 tst-cancelx3 tst-cancelx4 tst-cancelx5 \
         tst-cancelx6 tst-cancelx7 tst-cancelx8 tst-cancelx9 tst-cancelx10 \
         tst-cancelx11 tst-cancelx12 tst-cancelx13 tst-cancelx14 tst-cancelx15\
         tst-cancelx16 tst-cancelx17 tst-cancelx18 \
-        tst-cleanupx0 tst-cleanupx1 tst-cleanupx2 tst-cleanupx3
+        tst-cleanupx0 tst-cleanupx1 tst-cleanupx2 tst-cleanupx3 \
+        tst-oncex3 tst-oncex4
 endif
 ifeq ($(build-shared),yes)
 tests += tst-atfork2 tst-tls3
@@ -369,6 +370,8 @@ CFLAGS-tst-cleanupx0.c += -fexceptions -fasynchronous-unwind-tables
 CFLAGS-tst-cleanupx1.c += -fexceptions -fasynchronous-unwind-tables
 CFLAGS-tst-cleanupx2.c += -fexceptions
 CFLAGS-tst-cleanupx3.c += -fexceptions
+CFLAGS-tst-oncex3.c += -fexceptions
+CFLAGS-tst-oncex4.c += -fexceptions
 
 tst-cancel7-ARGS = --command "$(built-program-cmd)"
 tst-umask1-ARGS = $(objpfx)tst-umask1.temp
index 510232c9c6b4fa0dc62e4de6d17a2490ea3714e1..c2988bc9026a1bbba6dd08099ddc040857af4a7c 100644 (file)
@@ -23,7 +23,8 @@ sysdep_routines += register-atfork unregister-atfork libc_pthread_init \
 
 libpthread-sysdep_routines += pt-fork pthread_mutex_cond_lock
 
-gen-as-const-headers += lowlevelcond.sym lowlevelrwlock.sym lowlevelbarrier.sym
+gen-as-const-headers += lowlevelcond.sym lowlevelrwlock.sym \
+                       lowlevelbarrier.sym unwindbuf.sym
 endif
 
 ifeq ($(subdir),posix)
diff --git a/nptl/sysdeps/unix/sysv/linux/unwindbuf.sym b/nptl/sysdeps/unix/sysv/linux/unwindbuf.sym
new file mode 100644 (file)
index 0000000..8044b40
--- /dev/null
@@ -0,0 +1,7 @@
+#include <pthread.h>
+#include <stddef.h>
+
+--
+
+UNWINDBUFSIZE  sizeof (__pthread_unwind_buf_t)
+UWJMPBUF       offsetof (__pthread_unwind_buf_t, __cancel_jmp_buf)