diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-04-21 19:49:51 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-04-21 19:49:51 +0200 |
commit | 27a448223cb2d3bab191c61303db48cee66f871c (patch) | |
tree | e9cb7ab65f5efb5d486c79ee58b4ccadfbe7896c /nptl/Versions | |
parent | 60d5e40ab200033a982a9fd7594a1f83dcdb94a0 (diff) | |
download | glibc-27a448223cb2d3bab191c61303db48cee66f871c.zip glibc-27a448223cb2d3bab191c61303db48cee66f871c.tar.gz glibc-27a448223cb2d3bab191c61303db48cee66f871c.tar.bz2 |
nptl: Move core mutex functions into libc
This is complicated because of a second compilation of
nptl/pthread_mutex_lock.c via nptl/pthread_mutex_cond_lock.c.
PTHREAD_MUTEX_VERSIONS is introduced to suppress symbol versions
in that case.
The symbols __pthread_mutex_lock, __pthread_mutex_unlock,
__pthread_mutex_init, __pthread_mutex_destroy, pthread_mutex_lock,
pthread_mutex_unlock, pthread_mutex_init, pthread_mutex_destroy
have been moved using scripts/move-symbol-to-libc.py.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'nptl/Versions')
-rw-r--r-- | nptl/Versions | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/nptl/Versions b/nptl/Versions index 2748421..7672831 100644 --- a/nptl/Versions +++ b/nptl/Versions @@ -2,6 +2,10 @@ libc { GLIBC_2.0 { __pthread_getspecific; __pthread_key_create; + __pthread_mutex_destroy; + __pthread_mutex_init; + __pthread_mutex_lock; + __pthread_mutex_unlock; __pthread_once; __pthread_setspecific; _pthread_cleanup_pop; @@ -104,6 +108,10 @@ libc { __pthread_cleanup_routine; __pthread_getspecific; __pthread_key_create; + __pthread_mutex_destroy; + __pthread_mutex_init; + __pthread_mutex_lock; + __pthread_mutex_unlock; __pthread_once; __pthread_setspecific; pthread_getspecific; @@ -151,6 +159,7 @@ libc { __pthread_getattr_default_np; __pthread_key_delete; __pthread_keys; + __pthread_mutex_unlock_usercnt; __pthread_setcancelstate; __pthread_tpp_change_priority; __pthread_unwind; @@ -168,11 +177,7 @@ libpthread { __errno_location; __h_errno_location; __pthread_atfork; - __pthread_mutex_destroy; - __pthread_mutex_init; - __pthread_mutex_lock; __pthread_mutex_trylock; - __pthread_mutex_unlock; __pthread_mutexattr_destroy; __pthread_mutexattr_init; __pthread_mutexattr_settype; @@ -190,11 +195,7 @@ libpthread { pthread_detach; pthread_join; pthread_kill_other_threads_np; - pthread_mutex_destroy; - pthread_mutex_init; - pthread_mutex_lock; pthread_mutex_trylock; - pthread_mutex_unlock; pthread_mutexattr_destroy; pthread_mutexattr_getkind_np; pthread_mutexattr_init; |