]> git.ipfire.org Git - thirdparty/glibc.git/commit
htl: Move thread table to ld.so
authorSergey Bugaev <bugaevc@gmail.com>
Wed, 15 Sep 2021 17:11:08 +0000 (20:11 +0300)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Wed, 15 Sep 2021 23:04:05 +0000 (01:04 +0200)
commit166bb3eac351b88191d440b0fe8d5d7b757eaed0
tree2a0366c36387bcee5c4ae2704ccca394cd969f48
parent4b6574a6f63b6c766f27be4a0b4c9376a35a4bd5
htl: Move thread table to ld.so

The next commit is going to introduce a new implementation of
THREAD_GSCOPE_WAIT which needs to access the list of threads.
Since it must be usable from the dynamic laoder, we have to move
the symbols for the list of threads into the loader.

Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
Message-Id: <20210915171110.226187-2-bugaevc@gmail.com>
Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
13 files changed:
htl/Versions
htl/pt-alloc.c
htl/pt-create.c
htl/pt-internal.h
sysdeps/generic/ldsodefs.h
sysdeps/htl/dl-support.c [new file with mode: 0644]
sysdeps/htl/pt-key-delete.c
sysdeps/htl/pthreadP.h
sysdeps/htl/raise.c
sysdeps/htl/thrd_current.c
sysdeps/mach/hurd/htl/pt-sigstate-init.c
sysdeps/mach/hurd/htl/pt-sysdep.c
sysdeps/mach/hurd/htl/pt-sysdep.h