]> git.ipfire.org Git - thirdparty/glibc.git/commit
nptl: Move stack list variables into _rtld_global
authorFlorian Weimer <fweimer@redhat.com>
Mon, 16 Nov 2020 18:33:30 +0000 (19:33 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 16 Nov 2020 18:33:30 +0000 (19:33 +0100)
commit1daccf403b1bd86370eb94edca794dc106d02039
treee54bc8ee71eb92b7114df79e2f378a477c470029
parentaac0f62c47beee5b546bacc330acc2dd21cda0dc
nptl: Move stack list variables into _rtld_global

Now __thread_gscope_wait (the function behind THREAD_GSCOPE_WAIT,
formerly __wait_lookup_done) can be implemented directly in ld.so,
eliminating the unprotected GL (dl_wait_lookup_done) function
pointer.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
37 files changed:
csu/libc-tls.c
elf/Makefile
elf/dl-support.c
elf/dl-thread_gscope_wait.c [new file with mode: 0644]
elf/rtld.c
nptl/allocatestack.c
nptl/descr.h
nptl/nptl-init.c
nptl/pthreadP.h
nptl/pthread_create.c
nptl_db/structs.def
nptl_db/td_init.c
nptl_db/td_ta_map_lwp2thr.c
nptl_db/td_ta_thr_iter.c
nptl_db/td_thr_tlsbase.c
nptl_db/td_thr_validate.c
nptl_db/thread_dbP.h
sysdeps/aarch64/nptl/tls.h
sysdeps/alpha/nptl/tls.h
sysdeps/arc/nptl/tls.h
sysdeps/arm/nptl/tls.h
sysdeps/csky/nptl/tls.h
sysdeps/generic/ldsodefs.h
sysdeps/hppa/nptl/tls.h
sysdeps/i386/nptl/tls.h
sysdeps/ia64/nptl/tls.h
sysdeps/m68k/nptl/tls.h
sysdeps/microblaze/nptl/tls.h
sysdeps/mips/nptl/tls.h
sysdeps/nios2/nptl/tls.h
sysdeps/nptl/dl-thread_gscope_wait.c [new file with mode: 0644]
sysdeps/powerpc/nptl/tls.h
sysdeps/riscv/nptl/tls.h
sysdeps/s390/nptl/tls.h
sysdeps/sh/nptl/tls.h
sysdeps/sparc/nptl/tls.h
sysdeps/x86_64/nptl/tls.h