Update.
* sysdeps/unix/sysv/linux/unwindbuf.sym: New file. * sysdeps/unix/sysv/linux/Makefile: Add rule to build unwindbuf.h.
This commit is contained in:
parent
3a4d1e1e49
commit
96c814d3d8
@ -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.
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
7
nptl/sysdeps/unix/sysv/linux/unwindbuf.sym
Normal file
7
nptl/sysdeps/unix/sysv/linux/unwindbuf.sym
Normal file
@ -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)
|
Loading…
Reference in New Issue
Block a user