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:59 +0200 |
commit | 63627246f3e0aae274e04a8ef1edcd05a11afa65 (patch) | |
tree | 750eb0c67d5e9d1ee9680d36b6c0f0d946ad5c13 /sysdeps/unix/sysv/linux/riscv | |
parent | 504ac633b0213b917a17a4aa98766154a1141925 (diff) | |
download | glibc-63627246f3e0aae274e04a8ef1edcd05a11afa65.tar glibc-63627246f3e0aae274e04a8ef1edcd05a11afa65.tar.gz glibc-63627246f3e0aae274e04a8ef1edcd05a11afa65.tar.bz2 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 '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 de0a8a00d8..8779adbddb 100644 --- a/sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist +++ b/sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist @@ -337,6 +337,7 @@ GLIBC_2.33 __pthread_mutexattr_init F GLIBC_2.33 __pthread_mutexattr_settype F GLIBC_2.33 __pthread_once F 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_unlock F GLIBC_2.33 __pthread_rwlock_wrlock F @@ -1447,6 +1448,7 @@ GLIBC_2.33 pthread_once F GLIBC_2.33 pthread_rwlock_clockrdlock F GLIBC_2.33 pthread_rwlock_clockwrlock F 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_unlock F GLIBC_2.33 pthread_rwlock_wrlock F @@ -2069,6 +2071,7 @@ 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_init 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/rv32/libpthread.abilist b/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist index 7a9f852a21..36c4d48d20 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_init F GLIBC_2.33 __pthread_rwlock_tryrdlock F GLIBC_2.33 __pthread_rwlock_trywrlock F GLIBC_2.33 __pthread_unregister_cancel F @@ -37,7 +36,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_init F GLIBC_2.33 pthread_rwlock_timedrdlock F GLIBC_2.33 pthread_rwlock_timedwrlock F GLIBC_2.33 pthread_rwlock_tryrdlock F diff --git a/sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist b/sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist index f3d20a4fc8..010add9931 100644 --- a/sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist +++ b/sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist @@ -348,6 +348,7 @@ 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_init F GLIBC_2.27 __pthread_rwlock_rdlock F GLIBC_2.27 __pthread_rwlock_unlock F GLIBC_2.27 __pthread_rwlock_wrlock F @@ -1492,6 +1493,7 @@ 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_init F GLIBC_2.27 pthread_rwlock_rdlock F GLIBC_2.27 pthread_rwlock_unlock F GLIBC_2.27 pthread_rwlock_wrlock F @@ -2269,6 +2271,7 @@ 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_init 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 822d4f0598..02127b2865 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_init F GLIBC_2.27 __pthread_rwlock_tryrdlock F GLIBC_2.27 __pthread_rwlock_trywrlock F GLIBC_2.27 __pthread_unregister_cancel F @@ -36,7 +35,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_init F GLIBC_2.27 pthread_rwlock_timedrdlock F GLIBC_2.27 pthread_rwlock_timedwrlock F GLIBC_2.27 pthread_rwlock_tryrdlock F |