diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-05-03 09:10:57 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-05-03 09:18:20 +0200 |
commit | e8a9597159168db43289da50433af0ba3d8a7f92 (patch) | |
tree | 9669509346b05e4bf95c836faf7b645165bbb292 /sysdeps/unix/sysv/linux/riscv | |
parent | c96dddd7311e7ffa2a7995de5c2560d9979fd962 (diff) | |
download | glibc-e8a9597159168db43289da50433af0ba3d8a7f92.tar glibc-e8a9597159168db43289da50433af0ba3d8a7f92.tar.gz glibc-e8a9597159168db43289da50433af0ba3d8a7f92.tar.bz2 glibc-e8a9597159168db43289da50433af0ba3d8a7f92.zip |
nptl: Move pthread_rwlock_trywrlock into libc
And __pthread_rwlock_trywrlock as a compatibility symbol.
Remove the unused __libc_rwlock_trywrlock macro.
The symbols were moved using scripts/move-symbol-to-libc.py.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Tested-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'sysdeps/unix/sysv/linux/riscv')
4 files changed, 6 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist b/sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist index d0c04cf963..b1f3b5ed76 100644 --- a/sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist +++ b/sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist @@ -340,6 +340,7 @@ GLIBC_2.33 __pthread_rwlock_destroy F GLIBC_2.33 __pthread_rwlock_init F GLIBC_2.33 __pthread_rwlock_rdlock F GLIBC_2.33 __pthread_rwlock_tryrdlock F +GLIBC_2.33 __pthread_rwlock_trywrlock F GLIBC_2.33 __pthread_rwlock_unlock F GLIBC_2.33 __pthread_rwlock_wrlock F GLIBC_2.33 __pthread_setspecific F @@ -1454,6 +1455,7 @@ GLIBC_2.33 pthread_rwlock_rdlock F GLIBC_2.33 pthread_rwlock_timedrdlock F GLIBC_2.33 pthread_rwlock_timedwrlock F GLIBC_2.33 pthread_rwlock_tryrdlock F +GLIBC_2.33 pthread_rwlock_trywrlock F GLIBC_2.33 pthread_rwlock_unlock F GLIBC_2.33 pthread_rwlock_wrlock F GLIBC_2.33 pthread_self F @@ -2080,6 +2082,7 @@ GLIBC_2.34 pthread_rwlock_rdlock F GLIBC_2.34 pthread_rwlock_timedrdlock F GLIBC_2.34 pthread_rwlock_timedwrlock F GLIBC_2.34 pthread_rwlock_tryrdlock F +GLIBC_2.34 pthread_rwlock_trywrlock F GLIBC_2.34 pthread_rwlock_unlock F GLIBC_2.34 pthread_rwlock_wrlock F GLIBC_2.34 pthread_setspecific F diff --git a/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist b/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist index 60a7888fd8..fa2aa5d4ee 100644 --- a/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist @@ -4,7 +4,6 @@ GLIBC_2.33 _IO_funlockfile F GLIBC_2.33 __errno_location F GLIBC_2.33 __pthread_register_cancel F GLIBC_2.33 __pthread_register_cancel_defer F -GLIBC_2.33 __pthread_rwlock_trywrlock F GLIBC_2.33 __pthread_unregister_cancel F GLIBC_2.33 __pthread_unregister_cancel_restore F GLIBC_2.33 flockfile F @@ -35,7 +34,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_rwlock_trywrlock F GLIBC_2.33 pthread_rwlockattr_destroy F GLIBC_2.33 pthread_rwlockattr_getkind_np F GLIBC_2.33 pthread_rwlockattr_getpshared F diff --git a/sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist b/sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist index 19920bf76f..6643c6dd76 100644 --- a/sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist +++ b/sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist @@ -351,6 +351,7 @@ GLIBC_2.27 __pthread_rwlock_destroy F GLIBC_2.27 __pthread_rwlock_init F GLIBC_2.27 __pthread_rwlock_rdlock F GLIBC_2.27 __pthread_rwlock_tryrdlock F +GLIBC_2.27 __pthread_rwlock_trywrlock F GLIBC_2.27 __pthread_rwlock_unlock F GLIBC_2.27 __pthread_rwlock_wrlock F GLIBC_2.27 __pthread_setspecific F @@ -1499,6 +1500,7 @@ GLIBC_2.27 pthread_rwlock_rdlock F GLIBC_2.27 pthread_rwlock_timedrdlock F GLIBC_2.27 pthread_rwlock_timedwrlock F GLIBC_2.27 pthread_rwlock_tryrdlock F +GLIBC_2.27 pthread_rwlock_trywrlock F GLIBC_2.27 pthread_rwlock_unlock F GLIBC_2.27 pthread_rwlock_wrlock F GLIBC_2.27 pthread_self F @@ -2280,6 +2282,7 @@ GLIBC_2.34 pthread_rwlock_rdlock F GLIBC_2.34 pthread_rwlock_timedrdlock F GLIBC_2.34 pthread_rwlock_timedwrlock F GLIBC_2.34 pthread_rwlock_tryrdlock F +GLIBC_2.34 pthread_rwlock_trywrlock F GLIBC_2.34 pthread_rwlock_unlock F GLIBC_2.34 pthread_rwlock_wrlock F GLIBC_2.34 pthread_setspecific F diff --git a/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist b/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist index 12191ed9cc..bce06372af 100644 --- a/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist @@ -4,7 +4,6 @@ GLIBC_2.27 _IO_funlockfile F GLIBC_2.27 __errno_location F GLIBC_2.27 __pthread_register_cancel F GLIBC_2.27 __pthread_register_cancel_defer F -GLIBC_2.27 __pthread_rwlock_trywrlock F GLIBC_2.27 __pthread_unregister_cancel F GLIBC_2.27 __pthread_unregister_cancel_restore F GLIBC_2.27 flockfile F @@ -34,7 +33,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_rwlock_trywrlock F GLIBC_2.27 pthread_rwlockattr_destroy F GLIBC_2.27 pthread_rwlockattr_getkind_np F GLIBC_2.27 pthread_rwlockattr_getpshared F |