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 /sysdeps/unix/sysv/linux/arc | |
parent | 60d5e40ab200033a982a9fd7594a1f83dcdb94a0 (diff) | |
download | glibc-27a448223cb2d3bab191c61303db48cee66f871c.tar.gz glibc-27a448223cb2d3bab191c61303db48cee66f871c.tar.xz glibc-27a448223cb2d3bab191c61303db48cee66f871c.zip |
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 'sysdeps/unix/sysv/linux/arc')
-rw-r--r-- | sysdeps/unix/sysv/linux/arc/libc.abilist | 8 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/arc/libpthread.abilist | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/sysdeps/unix/sysv/linux/arc/libc.abilist b/sysdeps/unix/sysv/linux/arc/libc.abilist index cd41615242..54649b7fa0 100644 --- a/sysdeps/unix/sysv/linux/arc/libc.abilist +++ b/sysdeps/unix/sysv/linux/arc/libc.abilist @@ -330,6 +330,10 @@ GLIBC_2.32 __progname_full D 0x4 GLIBC_2.32 __pthread_cleanup_routine F GLIBC_2.32 __pthread_getspecific F GLIBC_2.32 __pthread_key_create F +GLIBC_2.32 __pthread_mutex_destroy F +GLIBC_2.32 __pthread_mutex_init F +GLIBC_2.32 __pthread_mutex_lock F +GLIBC_2.32 __pthread_mutex_unlock F GLIBC_2.32 __pthread_once F GLIBC_2.32 __pthread_rwlock_rdlock F GLIBC_2.32 __pthread_rwlock_unlock F @@ -1959,6 +1963,10 @@ GLIBC_2.34 __libc_start_main F GLIBC_2.34 __pthread_cleanup_routine F GLIBC_2.34 __pthread_getspecific F GLIBC_2.34 __pthread_key_create F +GLIBC_2.34 __pthread_mutex_destroy F +GLIBC_2.34 __pthread_mutex_init F +GLIBC_2.34 __pthread_mutex_lock F +GLIBC_2.34 __pthread_mutex_unlock F GLIBC_2.34 __pthread_once F GLIBC_2.34 __pthread_setspecific F GLIBC_2.34 __pthread_unwind_next F diff --git a/sysdeps/unix/sysv/linux/arc/libpthread.abilist b/sysdeps/unix/sysv/linux/arc/libpthread.abilist index b80e78ab9d..be9849a3ef 100644 --- a/sysdeps/unix/sysv/linux/arc/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/arc/libpthread.abilist @@ -3,11 +3,7 @@ GLIBC_2.32 _IO_ftrylockfile F GLIBC_2.32 _IO_funlockfile F GLIBC_2.32 __errno_location F GLIBC_2.32 __h_errno_location F -GLIBC_2.32 __pthread_mutex_destroy F -GLIBC_2.32 __pthread_mutex_init F -GLIBC_2.32 __pthread_mutex_lock F GLIBC_2.32 __pthread_mutex_trylock F -GLIBC_2.32 __pthread_mutex_unlock F GLIBC_2.32 __pthread_mutexattr_destroy F GLIBC_2.32 __pthread_mutexattr_init F GLIBC_2.32 __pthread_mutexattr_settype F @@ -72,14 +68,10 @@ GLIBC_2.32 pthread_getname_np F GLIBC_2.32 pthread_join F GLIBC_2.32 pthread_kill_other_threads_np F GLIBC_2.32 pthread_mutex_clocklock F -GLIBC_2.32 pthread_mutex_destroy F GLIBC_2.32 pthread_mutex_getprioceiling F -GLIBC_2.32 pthread_mutex_init F -GLIBC_2.32 pthread_mutex_lock F GLIBC_2.32 pthread_mutex_setprioceiling F GLIBC_2.32 pthread_mutex_timedlock F GLIBC_2.32 pthread_mutex_trylock F -GLIBC_2.32 pthread_mutex_unlock F GLIBC_2.32 pthread_mutexattr_destroy F GLIBC_2.32 pthread_mutexattr_getkind_np F GLIBC_2.32 pthread_mutexattr_getprioceiling F |