]> git.ipfire.org Git - thirdparty/glibc.git/commit
nptl: Move __nptl_initial_report_events into ld.so/startup code
authorFlorian Weimer <fweimer@redhat.com>
Mon, 17 May 2021 07:59:14 +0000 (09:59 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 17 May 2021 08:04:06 +0000 (10:04 +0200)
commita78e5979a92c7985eadad7246740f3874271303f
tree7f81163f014fa77b5270950f1679e4a188cdf92a
parentc1760eaf3b575ad174fd88b252fd16bd525fa818
nptl: Move __nptl_initial_report_events into ld.so/startup code

The initialization of the report_events TCB field is now performed
in __tls_init_tp instead of __pthread_initialize_minimal_internal
(in libpthread).

The events interface is difficult to test because GDB stopped using it
in 2015.  The td_thr_get_info change to ignore lookup issues is enough
to support GDB with this change.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
nptl/Versions
nptl/nptl-init.c
nptl/pthreadP.h
nptl_db/db_info.c
nptl_db/structs.def
nptl_db/td_thr_get_info.c
sysdeps/nptl/dl-tls_init_tp.c