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/csky | |
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 'sysdeps/unix/sysv/linux/csky')
-rw-r--r-- | sysdeps/unix/sysv/linux/csky/libc.abilist | 8 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/csky/libpthread.abilist | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/sysdeps/unix/sysv/linux/csky/libc.abilist b/sysdeps/unix/sysv/linux/csky/libc.abilist index 67ab243..8035d6f 100644 --- a/sysdeps/unix/sysv/linux/csky/libc.abilist +++ b/sysdeps/unix/sysv/linux/csky/libc.abilist @@ -334,6 +334,10 @@ GLIBC_2.29 __progname_full D 0x4 GLIBC_2.29 __pthread_cleanup_routine F GLIBC_2.29 __pthread_getspecific F GLIBC_2.29 __pthread_key_create F +GLIBC_2.29 __pthread_mutex_destroy F +GLIBC_2.29 __pthread_mutex_init F +GLIBC_2.29 __pthread_mutex_lock F +GLIBC_2.29 __pthread_mutex_unlock F GLIBC_2.29 __pthread_once F GLIBC_2.29 __pthread_rwlock_rdlock F GLIBC_2.29 __pthread_rwlock_unlock F @@ -2143,6 +2147,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/csky/libpthread.abilist b/sysdeps/unix/sysv/linux/csky/libpthread.abilist index dc56638..7bde825 100644 --- a/sysdeps/unix/sysv/linux/csky/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/csky/libpthread.abilist @@ -3,11 +3,7 @@ GLIBC_2.29 _IO_ftrylockfile F GLIBC_2.29 _IO_funlockfile F GLIBC_2.29 __errno_location F GLIBC_2.29 __h_errno_location F -GLIBC_2.29 __pthread_mutex_destroy F -GLIBC_2.29 __pthread_mutex_init F -GLIBC_2.29 __pthread_mutex_lock F GLIBC_2.29 __pthread_mutex_trylock F -GLIBC_2.29 __pthread_mutex_unlock F GLIBC_2.29 __pthread_mutexattr_destroy F GLIBC_2.29 __pthread_mutexattr_init F GLIBC_2.29 __pthread_mutexattr_settype F @@ -69,14 +65,10 @@ GLIBC_2.29 pthread_getcpuclockid F GLIBC_2.29 pthread_getname_np F GLIBC_2.29 pthread_join F GLIBC_2.29 pthread_kill_other_threads_np F -GLIBC_2.29 pthread_mutex_destroy F GLIBC_2.29 pthread_mutex_getprioceiling F -GLIBC_2.29 pthread_mutex_init F -GLIBC_2.29 pthread_mutex_lock F GLIBC_2.29 pthread_mutex_setprioceiling F GLIBC_2.29 pthread_mutex_timedlock F GLIBC_2.29 pthread_mutex_trylock F -GLIBC_2.29 pthread_mutex_unlock F GLIBC_2.29 pthread_mutexattr_destroy F GLIBC_2.29 pthread_mutexattr_getkind_np F GLIBC_2.29 pthread_mutexattr_getprioceiling F |