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/csky | |
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/csky')
-rw-r--r-- | sysdeps/unix/sysv/linux/csky/libc.abilist | 3 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/csky/libpthread.abilist | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/csky/libc.abilist b/sysdeps/unix/sysv/linux/csky/libc.abilist index 14aab2dc70..62cd429d23 100644 --- a/sysdeps/unix/sysv/linux/csky/libc.abilist +++ b/sysdeps/unix/sysv/linux/csky/libc.abilist @@ -343,6 +343,7 @@ GLIBC_2.29 __pthread_mutexattr_destroy F GLIBC_2.29 __pthread_mutexattr_init F GLIBC_2.29 __pthread_mutexattr_settype F GLIBC_2.29 __pthread_once F +GLIBC_2.29 __pthread_rwlock_destroy F GLIBC_2.29 __pthread_rwlock_rdlock F GLIBC_2.29 __pthread_rwlock_unlock F GLIBC_2.29 __pthread_rwlock_wrlock F @@ -1500,6 +1501,7 @@ GLIBC_2.29 pthread_mutexattr_setrobust F GLIBC_2.29 pthread_mutexattr_setrobust_np F GLIBC_2.29 pthread_mutexattr_settype F GLIBC_2.29 pthread_once F +GLIBC_2.29 pthread_rwlock_destroy F GLIBC_2.29 pthread_rwlock_rdlock F GLIBC_2.29 pthread_rwlock_unlock F GLIBC_2.29 pthread_rwlock_wrlock F @@ -2248,6 +2250,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/csky/libpthread.abilist b/sysdeps/unix/sysv/linux/csky/libpthread.abilist index d8ec027fe2..1b57d0a613 100644 --- a/sysdeps/unix/sysv/linux/csky/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/csky/libpthread.abilist @@ -4,7 +4,6 @@ GLIBC_2.29 _IO_funlockfile F GLIBC_2.29 __errno_location F GLIBC_2.29 __pthread_register_cancel F GLIBC_2.29 __pthread_register_cancel_defer F -GLIBC_2.29 __pthread_rwlock_destroy F GLIBC_2.29 __pthread_rwlock_init F GLIBC_2.29 __pthread_rwlock_tryrdlock F GLIBC_2.29 __pthread_rwlock_trywrlock F @@ -37,7 +36,6 @@ GLIBC_2.29 pthread_getconcurrency F GLIBC_2.29 pthread_getcpuclockid F GLIBC_2.29 pthread_getname_np F GLIBC_2.29 pthread_join F -GLIBC_2.29 pthread_rwlock_destroy F GLIBC_2.29 pthread_rwlock_init F GLIBC_2.29 pthread_rwlock_timedrdlock F GLIBC_2.29 pthread_rwlock_timedwrlock F |