diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-05-17 09:59:14 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-05-17 10:06:44 +0200 |
commit | 23ce1cf35a59a4fdb3dabe073e3d1fe2b76fb0ca (patch) | |
tree | 694d5fb5e5dbe1af48f5eda2ec8668d38ffc9668 /nptl/pthreadP.h | |
parent | a78e5979a92c7985eadad7246740f3874271303f (diff) | |
download | glibc-23ce1cf35a59a4fdb3dabe073e3d1fe2b76fb0ca.tar glibc-23ce1cf35a59a4fdb3dabe073e3d1fe2b76fb0ca.tar.gz glibc-23ce1cf35a59a4fdb3dabe073e3d1fe2b76fb0ca.tar.bz2 glibc-23ce1cf35a59a4fdb3dabe073e3d1fe2b76fb0ca.zip |
nptl: Move __nptl_create_event, __nptl_death_event into libc
In libthread_db, use the exported GLIBC_PRIVATE symbols directly
instead of relying on _thread_db_* variables in libpthread
(which used to be created by the DB_FUNCTION macros).
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'nptl/pthreadP.h')
-rw-r--r-- | nptl/pthreadP.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl/pthreadP.h b/nptl/pthreadP.h index dc2aece37e..a4a87cb549 100644 --- a/nptl/pthreadP.h +++ b/nptl/pthreadP.h @@ -337,8 +337,8 @@ rtld_hidden_proto (__nptl_initial_report_events) /* Event handlers for libthread_db interface. */ extern void __nptl_create_event (void); extern void __nptl_death_event (void); -hidden_proto (__nptl_create_event) -hidden_proto (__nptl_death_event) +libc_hidden_proto (__nptl_create_event) +libc_hidden_proto (__nptl_death_event) /* The fork generation counter, defined in libpthread. */ extern unsigned long int __fork_generation attribute_hidden; |