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/sparc/sparc64 | |
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/sparc/sparc64')
-rw-r--r-- | sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist | 3 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist b/sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist index 17cc43bfef..8780298f94 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist +++ b/sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist @@ -410,6 +410,7 @@ GLIBC_2.2 __pthread_mutexattr_destroy F GLIBC_2.2 __pthread_mutexattr_init F GLIBC_2.2 __pthread_mutexattr_settype F GLIBC_2.2 __pthread_once F +GLIBC_2.2 __pthread_rwlock_destroy F GLIBC_2.2 __pthread_rwlock_rdlock F GLIBC_2.2 __pthread_rwlock_unlock F GLIBC_2.2 __pthread_rwlock_wrlock F @@ -1358,6 +1359,7 @@ GLIBC_2.2 pthread_mutexattr_setkind_np F GLIBC_2.2 pthread_mutexattr_setpshared F GLIBC_2.2 pthread_mutexattr_settype F GLIBC_2.2 pthread_once F +GLIBC_2.2 pthread_rwlock_destroy F GLIBC_2.2 pthread_rwlock_rdlock F GLIBC_2.2 pthread_rwlock_unlock F GLIBC_2.2 pthread_rwlock_wrlock F @@ -2254,6 +2256,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/sparc/sparc64/libpthread.abilist b/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist index fb858efe43..3001b492f0 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist @@ -7,7 +7,6 @@ GLIBC_2.2 _IO_flockfile F GLIBC_2.2 _IO_ftrylockfile F GLIBC_2.2 _IO_funlockfile F GLIBC_2.2 __errno_location F -GLIBC_2.2 __pthread_rwlock_destroy F GLIBC_2.2 __pthread_rwlock_init F GLIBC_2.2 __pthread_rwlock_tryrdlock F GLIBC_2.2 __pthread_rwlock_trywrlock F @@ -34,7 +33,6 @@ GLIBC_2.2 pthread_detach F GLIBC_2.2 pthread_getconcurrency F GLIBC_2.2 pthread_getcpuclockid F GLIBC_2.2 pthread_join F -GLIBC_2.2 pthread_rwlock_destroy F GLIBC_2.2 pthread_rwlock_init F GLIBC_2.2 pthread_rwlock_timedrdlock F GLIBC_2.2 pthread_rwlock_timedwrlock F |