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:17:36 +0200 |
commit | 504ac633b0213b917a17a4aa98766154a1141925 (patch) | |
tree | c4934ce48a1b7786f603718c76885fdc036ec1cd /sysdeps/unix/sysv/linux/riscv/rv64 | |
parent | 2cf5b43bcb392af5f056250560d5711b8ba802c4 (diff) | |
download | glibc-504ac633b0213b917a17a4aa98766154a1141925.tar.gz glibc-504ac633b0213b917a17a4aa98766154a1141925.tar.xz glibc-504ac633b0213b917a17a4aa98766154a1141925.zip |
nptl: Move pthread_rwlock_destroy into libc
And __pthread_rwlock_destroy as a compatibility symbol. rwlocks do not need finalization, so change __libc_rwlock_fini to do nothing. 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/rv64')
-rw-r--r-- | sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist | 3 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist b/sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist index 9e3e91a9d0..f3d20a4fc8 100644 --- a/sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist +++ b/sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist @@ -347,6 +347,7 @@ 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_destroy F GLIBC_2.27 __pthread_rwlock_rdlock F GLIBC_2.27 __pthread_rwlock_unlock F GLIBC_2.27 __pthread_rwlock_wrlock F @@ -1490,6 +1491,7 @@ 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_destroy F GLIBC_2.27 pthread_rwlock_rdlock F GLIBC_2.27 pthread_rwlock_unlock F GLIBC_2.27 pthread_rwlock_wrlock F @@ -2266,6 +2268,7 @@ GLIBC_2.34 pthread_mutexattr_settype F GLIBC_2.34 pthread_once F GLIBC_2.34 pthread_rwlock_clockrdlock F GLIBC_2.34 pthread_rwlock_clockwrlock F +GLIBC_2.34 pthread_rwlock_destroy F GLIBC_2.34 pthread_rwlock_rdlock F GLIBC_2.34 pthread_rwlock_unlock F GLIBC_2.34 pthread_rwlock_wrlock F diff --git a/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist b/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist index aaea3c4cf9..822d4f0598 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_destroy F GLIBC_2.27 __pthread_rwlock_init F GLIBC_2.27 __pthread_rwlock_tryrdlock F GLIBC_2.27 __pthread_rwlock_trywrlock F @@ -37,7 +36,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_destroy F GLIBC_2.27 pthread_rwlock_init F GLIBC_2.27 pthread_rwlock_timedrdlock F GLIBC_2.27 pthread_rwlock_timedwrlock F |