about summary refs log tree commit diff
path: root/nptl/Versions
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2021-05-03 09:10:57 +0200
committerFlorian Weimer <fweimer@redhat.com>2021-05-03 09:17:59 +0200
commit63627246f3e0aae274e04a8ef1edcd05a11afa65 (patch)
tree750eb0c67d5e9d1ee9680d36b6c0f0d946ad5c13 /nptl/Versions
parent504ac633b0213b917a17a4aa98766154a1141925 (diff)
downloadglibc-63627246f3e0aae274e04a8ef1edcd05a11afa65.tar.gz
glibc-63627246f3e0aae274e04a8ef1edcd05a11afa65.tar.xz
glibc-63627246f3e0aae274e04a8ef1edcd05a11afa65.zip
nptl: Move pthread_rwlock_init into libc
And __pthread_rwlock_init as a compatibility symbol.

__libc_rwlock_init is changed to call __pthread_rwlock_init directly.

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 'nptl/Versions')
-rw-r--r--nptl/Versions4
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl/Versions b/nptl/Versions
index 65e94def6f..0e9e3326eb 100644
--- a/nptl/Versions
+++ b/nptl/Versions
@@ -67,12 +67,14 @@ libc {
     pthread_mutexattr_gettype;
     pthread_mutexattr_settype;
     pthread_rwlock_destroy;
+    pthread_rwlock_init;
     pthread_rwlock_rdlock;
     pthread_rwlock_unlock;
     pthread_rwlock_wrlock;
   }
   GLIBC_2.2 {
     __pthread_rwlock_destroy;
+    __pthread_rwlock_init;
     __pthread_rwlock_rdlock;
     __pthread_rwlock_unlock;
     __pthread_rwlock_wrlock;
@@ -300,7 +302,6 @@ libpthread {
     pthread_attr_setstacksize;
     pthread_create;
     pthread_getconcurrency;
-    pthread_rwlock_init;
     pthread_rwlock_tryrdlock;
     pthread_rwlock_trywrlock;
     pthread_rwlockattr_destroy;
@@ -329,7 +330,6 @@ libpthread {
   }
 
   GLIBC_2.2 {
-    __pthread_rwlock_init;
     __pthread_rwlock_tryrdlock;
     __pthread_rwlock_trywrlock;
     pthread_attr_getstack;