diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-04-23 09:49:00 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-04-23 09:51:57 +0200 |
commit | b76c066d092d78124deeba9b687f5b10924e97de (patch) | |
tree | f08d660e36637680cf8fd9bdada0263c94e54185 /sysdeps/unix/sysv/linux/riscv | |
parent | 1ec4cd5ab42d6b16a81176b7051384a2221159e3 (diff) | |
download | glibc-b76c066d092d78124deeba9b687f5b10924e97de.tar.gz glibc-b76c066d092d78124deeba9b687f5b10924e97de.tar.xz glibc-b76c066d092d78124deeba9b687f5b10924e97de.zip |
nptl: Move pthread_mutexattr_settype, __pthread_mutexattr_settype into libc
And pthread_mutexattr_setkind_np as a compatibility symbol. __pthread_mutexattr_settype is used in mtx_init from libpthread, so this commit adds a GLIBC_2.34 symbol version for it. The symbols were moved using scripts/move-symbol-to-libc.py.
Diffstat (limited to 'sysdeps/unix/sysv/linux/riscv')
4 files changed, 10 insertions, 6 deletions
diff --git a/sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist b/sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist index c8dedda140..5a364b2a64 100644 --- a/sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist +++ b/sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist @@ -334,6 +334,7 @@ GLIBC_2.33 __pthread_mutex_trylock F GLIBC_2.33 __pthread_mutex_unlock F GLIBC_2.33 __pthread_mutexattr_destroy F GLIBC_2.33 __pthread_mutexattr_init F +GLIBC_2.33 __pthread_mutexattr_settype F GLIBC_2.33 __pthread_once F GLIBC_2.33 __pthread_rwlock_rdlock F GLIBC_2.33 __pthread_rwlock_unlock F @@ -1417,11 +1418,13 @@ GLIBC_2.33 pthread_mutexattr_getrobust F GLIBC_2.33 pthread_mutexattr_getrobust_np F GLIBC_2.33 pthread_mutexattr_gettype F GLIBC_2.33 pthread_mutexattr_init F +GLIBC_2.33 pthread_mutexattr_setkind_np F GLIBC_2.33 pthread_mutexattr_setprioceiling F GLIBC_2.33 pthread_mutexattr_setprotocol F GLIBC_2.33 pthread_mutexattr_setpshared F GLIBC_2.33 pthread_mutexattr_setrobust F GLIBC_2.33 pthread_mutexattr_setrobust_np F +GLIBC_2.33 pthread_mutexattr_settype F GLIBC_2.33 pthread_once F GLIBC_2.33 pthread_rwlock_rdlock F GLIBC_2.33 pthread_rwlock_unlock F @@ -1995,6 +1998,7 @@ GLIBC_2.34 __pthread_mutex_lock F GLIBC_2.34 __pthread_mutex_trylock F GLIBC_2.34 __pthread_mutex_unlock F GLIBC_2.34 __pthread_mutexattr_init F +GLIBC_2.34 __pthread_mutexattr_settype F GLIBC_2.34 __pthread_once F GLIBC_2.34 __pthread_setspecific F GLIBC_2.34 __pthread_unwind_next F @@ -2020,6 +2024,7 @@ GLIBC_2.34 pthread_mutexattr_setprioceiling F GLIBC_2.34 pthread_mutexattr_setprotocol F GLIBC_2.34 pthread_mutexattr_setpshared F GLIBC_2.34 pthread_mutexattr_setrobust F +GLIBC_2.34 pthread_mutexattr_settype F GLIBC_2.34 pthread_once F GLIBC_2.34 pthread_rwlock_rdlock F GLIBC_2.34 pthread_rwlock_unlock F diff --git a/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist b/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist index 59bcd43c56..384988b8c7 100644 --- a/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist @@ -3,7 +3,6 @@ GLIBC_2.33 _IO_ftrylockfile F GLIBC_2.33 _IO_funlockfile F GLIBC_2.33 __errno_location F GLIBC_2.33 __h_errno_location F -GLIBC_2.33 __pthread_mutexattr_settype F GLIBC_2.33 __pthread_register_cancel F GLIBC_2.33 __pthread_register_cancel_defer F GLIBC_2.33 __pthread_rwlock_destroy F @@ -58,8 +57,6 @@ GLIBC_2.33 pthread_getconcurrency F GLIBC_2.33 pthread_getcpuclockid F GLIBC_2.33 pthread_getname_np F GLIBC_2.33 pthread_join F -GLIBC_2.33 pthread_mutexattr_setkind_np F -GLIBC_2.33 pthread_mutexattr_settype F GLIBC_2.33 pthread_rwlock_clockrdlock F GLIBC_2.33 pthread_rwlock_clockwrlock F GLIBC_2.33 pthread_rwlock_destroy F diff --git a/sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist b/sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist index 8d46e29e1e..5c43ef5633 100644 --- a/sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist +++ b/sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist @@ -345,6 +345,7 @@ GLIBC_2.27 __pthread_mutex_trylock F GLIBC_2.27 __pthread_mutex_unlock F GLIBC_2.27 __pthread_mutexattr_destroy F GLIBC_2.27 __pthread_mutexattr_init F +GLIBC_2.27 __pthread_mutexattr_settype F GLIBC_2.27 __pthread_once F GLIBC_2.27 __pthread_rwlock_rdlock F GLIBC_2.27 __pthread_rwlock_unlock F @@ -1477,11 +1478,13 @@ GLIBC_2.27 pthread_mutexattr_getrobust F GLIBC_2.27 pthread_mutexattr_getrobust_np F GLIBC_2.27 pthread_mutexattr_gettype F GLIBC_2.27 pthread_mutexattr_init F +GLIBC_2.27 pthread_mutexattr_setkind_np F GLIBC_2.27 pthread_mutexattr_setprioceiling F GLIBC_2.27 pthread_mutexattr_setprotocol F GLIBC_2.27 pthread_mutexattr_setpshared F GLIBC_2.27 pthread_mutexattr_setrobust F GLIBC_2.27 pthread_mutexattr_setrobust_np F +GLIBC_2.27 pthread_mutexattr_settype F GLIBC_2.27 pthread_once F GLIBC_2.27 pthread_rwlock_rdlock F GLIBC_2.27 pthread_rwlock_unlock F @@ -2195,6 +2198,7 @@ GLIBC_2.34 __pthread_mutex_lock F GLIBC_2.34 __pthread_mutex_trylock F GLIBC_2.34 __pthread_mutex_unlock F GLIBC_2.34 __pthread_mutexattr_init F +GLIBC_2.34 __pthread_mutexattr_settype F GLIBC_2.34 __pthread_once F GLIBC_2.34 __pthread_setspecific F GLIBC_2.34 __pthread_unwind_next F @@ -2220,6 +2224,7 @@ GLIBC_2.34 pthread_mutexattr_setprioceiling F GLIBC_2.34 pthread_mutexattr_setprotocol F GLIBC_2.34 pthread_mutexattr_setpshared F GLIBC_2.34 pthread_mutexattr_setrobust F +GLIBC_2.34 pthread_mutexattr_settype F GLIBC_2.34 pthread_once F GLIBC_2.34 pthread_rwlock_rdlock F GLIBC_2.34 pthread_rwlock_unlock F diff --git a/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist b/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist index 48309f7c85..70f1d5d774 100644 --- a/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist @@ -3,7 +3,6 @@ GLIBC_2.27 _IO_ftrylockfile F GLIBC_2.27 _IO_funlockfile F GLIBC_2.27 __errno_location F GLIBC_2.27 __h_errno_location F -GLIBC_2.27 __pthread_mutexattr_settype F GLIBC_2.27 __pthread_register_cancel F GLIBC_2.27 __pthread_register_cancel_defer F GLIBC_2.27 __pthread_rwlock_destroy F @@ -44,8 +43,6 @@ GLIBC_2.27 pthread_getconcurrency F GLIBC_2.27 pthread_getcpuclockid F GLIBC_2.27 pthread_getname_np F GLIBC_2.27 pthread_join F -GLIBC_2.27 pthread_mutexattr_setkind_np F -GLIBC_2.27 pthread_mutexattr_settype F GLIBC_2.27 pthread_rwlock_destroy F GLIBC_2.27 pthread_rwlock_init F GLIBC_2.27 pthread_rwlock_timedrdlock F |