diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-05-03 08:12:12 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-05-03 08:17:29 +0200 |
commit | e4036b1ce9fa2f4086b050eb946f169c11efad08 (patch) | |
tree | 25d5a0be4781c845ea666591677d5d2a462da65b /nptl | |
parent | 96e61709b49c3ebe4fa49c235ddafaad1f1dfc84 (diff) | |
download | glibc-e4036b1ce9fa2f4086b050eb946f169c11efad08.zip glibc-e4036b1ce9fa2f4086b050eb946f169c11efad08.tar.gz glibc-e4036b1ce9fa2f4086b050eb946f169c11efad08.tar.bz2 |
nptl: Move tss_create into libc
The symbol was moved using scripts/move-symbol-to-libc.py.
__pthread_key_create@@GLIBC_2.34 is no longer needed by glibc
itself with this change, but __pthread_key_create is used by
libstdc++, so it still has to be exported as a public symbol.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Tested-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'nptl')
-rw-r--r-- | nptl/Versions | 3 | ||||
-rw-r--r-- | nptl/pthreadP.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/nptl/Versions b/nptl/Versions index 834fdbb..f267d4d 100644 --- a/nptl/Versions +++ b/nptl/Versions @@ -144,6 +144,7 @@ libc { thrd_exit; thrd_sleep; thrd_yield; + tss_create; } GLIBC_2.30 { pthread_cond_clockwait; @@ -212,6 +213,7 @@ libc { pthread_spin_trylock; pthread_spin_unlock; thrd_exit; + tss_create; } GLIBC_PRIVATE { __futex_abstimed_wait64; @@ -391,7 +393,6 @@ libpthread { thrd_create; thrd_detach; thrd_join; - tss_create; tss_delete; tss_get; tss_set; diff --git a/nptl/pthreadP.h b/nptl/pthreadP.h index 3b070ee..d98bd11 100644 --- a/nptl/pthreadP.h +++ b/nptl/pthreadP.h @@ -547,6 +547,7 @@ libc_hidden_proto (__pthread_mutex_timedlock) extern int __pthread_condattr_destroy (pthread_condattr_t *attr); extern int __pthread_condattr_init (pthread_condattr_t *attr); extern int __pthread_key_create (pthread_key_t *key, void (*destr) (void *)); +libc_hidden_proto (__pthread_key_create) extern int __pthread_key_delete (pthread_key_t key); libc_hidden_proto (__pthread_key_delete) extern void *__pthread_getspecific (pthread_key_t key); |