diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-04-21 19:49:51 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-04-21 19:49:51 +0200 |
commit | eb29dcde31e7b6f07e7acda161e85d2be69652e4 (patch) | |
tree | 763b41f1d40d74c8ae84d3c2622ef5709644b820 /sysdeps/unix/sysv/linux/powerpc | |
parent | 9ce44f46754cc529d54418615862e7e27cc82f09 (diff) | |
download | glibc-eb29dcde31e7b6f07e7acda161e85d2be69652e4.tar.gz glibc-eb29dcde31e7b6f07e7acda161e85d2be69652e4.tar.xz glibc-eb29dcde31e7b6f07e7acda161e85d2be69652e4.zip |
nptl: Move rwlock functions with forwarders into libc
The forwarders were only used internally, so new symbol versions are needed. All symbols are moved at once because the forwarders are no-ops if libpthread is not loaded, leading to inconsistencies in case of a partial migration. The symbols __pthread_rwlock_rdlock, __pthread_rwlock_unlock, __pthread_rwlock_wrlock, pthread_rwlock_rdlock, pthread_rwlock_unlock, pthread_rwlock_wrlock have been moved using scripts/move-symbol-to-libc.py. The __ symbol variants are turned into compat symbols, which is why they do not receive a GLIBC_2.34 version.
Diffstat (limited to 'sysdeps/unix/sysv/linux/powerpc')
7 files changed, 36 insertions, 18 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist index 3a4b73cb2b..1202487c8e 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist @@ -1561,6 +1561,9 @@ GLIBC_2.1 pread64 F GLIBC_2.1 printf_size F GLIBC_2.1 printf_size_info F GLIBC_2.1 pthread_attr_init F +GLIBC_2.1 pthread_rwlock_rdlock F +GLIBC_2.1 pthread_rwlock_unlock F +GLIBC_2.1 pthread_rwlock_wrlock F GLIBC_2.1 ptsname F GLIBC_2.1 ptsname_r F GLIBC_2.1 putgrent F @@ -1829,6 +1832,9 @@ GLIBC_2.2 __lxstat64 F GLIBC_2.2 __nl_langinfo_l F GLIBC_2.2 __open64 F GLIBC_2.2 __pread64 F +GLIBC_2.2 __pthread_rwlock_rdlock F +GLIBC_2.2 __pthread_rwlock_unlock F +GLIBC_2.2 __pthread_rwlock_wrlock F GLIBC_2.2 __pwrite64 F GLIBC_2.2 __res_init F GLIBC_2.2 __res_nclose F @@ -2251,6 +2257,9 @@ GLIBC_2.34 pthread_key_delete F GLIBC_2.34 pthread_kill F GLIBC_2.34 pthread_mutex_consistent F GLIBC_2.34 pthread_once F +GLIBC_2.34 pthread_rwlock_rdlock F +GLIBC_2.34 pthread_rwlock_unlock F +GLIBC_2.34 pthread_rwlock_wrlock F GLIBC_2.34 pthread_setspecific F GLIBC_2.4 _IO_fprintf F GLIBC_2.4 _IO_printf F diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist index f1387a8150..2486a0d5f2 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist @@ -52,11 +52,8 @@ GLIBC_2.1 pthread_mutexattr_gettype F GLIBC_2.1 pthread_mutexattr_settype F GLIBC_2.1 pthread_rwlock_destroy F GLIBC_2.1 pthread_rwlock_init F -GLIBC_2.1 pthread_rwlock_rdlock F GLIBC_2.1 pthread_rwlock_tryrdlock F GLIBC_2.1 pthread_rwlock_trywrlock F -GLIBC_2.1 pthread_rwlock_unlock F -GLIBC_2.1 pthread_rwlock_wrlock F GLIBC_2.1 pthread_rwlockattr_destroy F GLIBC_2.1 pthread_rwlockattr_getkind_np F GLIBC_2.1 pthread_rwlockattr_getpshared F @@ -83,11 +80,8 @@ GLIBC_2.18 pthread_getattr_default_np F GLIBC_2.18 pthread_setattr_default_np F GLIBC_2.2 __pthread_rwlock_destroy F GLIBC_2.2 __pthread_rwlock_init F -GLIBC_2.2 __pthread_rwlock_rdlock F GLIBC_2.2 __pthread_rwlock_tryrdlock F GLIBC_2.2 __pthread_rwlock_trywrlock F -GLIBC_2.2 __pthread_rwlock_unlock F -GLIBC_2.2 __pthread_rwlock_wrlock F GLIBC_2.2 __res_state F GLIBC_2.2 pthread_attr_getstack F GLIBC_2.2 pthread_attr_setstack F diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist index 98059fe118..3870013f98 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist @@ -1561,6 +1561,9 @@ GLIBC_2.1 pread64 F GLIBC_2.1 printf_size F GLIBC_2.1 printf_size_info F GLIBC_2.1 pthread_attr_init F +GLIBC_2.1 pthread_rwlock_rdlock F +GLIBC_2.1 pthread_rwlock_unlock F +GLIBC_2.1 pthread_rwlock_wrlock F GLIBC_2.1 ptsname F GLIBC_2.1 ptsname_r F GLIBC_2.1 putgrent F @@ -1833,6 +1836,9 @@ GLIBC_2.2 __lxstat64 F GLIBC_2.2 __nl_langinfo_l F GLIBC_2.2 __open64 F GLIBC_2.2 __pread64 F +GLIBC_2.2 __pthread_rwlock_rdlock F +GLIBC_2.2 __pthread_rwlock_unlock F +GLIBC_2.2 __pthread_rwlock_wrlock F GLIBC_2.2 __pwrite64 F GLIBC_2.2 __res_init F GLIBC_2.2 __res_nclose F @@ -2284,6 +2290,9 @@ GLIBC_2.34 pthread_key_delete F GLIBC_2.34 pthread_kill F GLIBC_2.34 pthread_mutex_consistent F GLIBC_2.34 pthread_once F +GLIBC_2.34 pthread_rwlock_rdlock F +GLIBC_2.34 pthread_rwlock_unlock F +GLIBC_2.34 pthread_rwlock_wrlock F GLIBC_2.34 pthread_setspecific F GLIBC_2.4 _IO_fprintf F GLIBC_2.4 _IO_printf F diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist index 3c23fc066c..9fa941ab97 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist @@ -412,6 +412,9 @@ GLIBC_2.3 __progname_full D 0x8 GLIBC_2.3 __pthread_getspecific F GLIBC_2.3 __pthread_key_create F GLIBC_2.3 __pthread_once F +GLIBC_2.3 __pthread_rwlock_rdlock F +GLIBC_2.3 __pthread_rwlock_unlock F +GLIBC_2.3 __pthread_rwlock_wrlock F GLIBC_2.3 __pthread_setspecific F GLIBC_2.3 __pwrite64 F GLIBC_2.3 __rawmemchr F @@ -1391,6 +1394,9 @@ GLIBC_2.3 pthread_mutex_init F GLIBC_2.3 pthread_mutex_lock F GLIBC_2.3 pthread_mutex_unlock F GLIBC_2.3 pthread_once F +GLIBC_2.3 pthread_rwlock_rdlock F +GLIBC_2.3 pthread_rwlock_unlock F +GLIBC_2.3 pthread_rwlock_wrlock F GLIBC_2.3 pthread_self F GLIBC_2.3 pthread_setcancelstate F GLIBC_2.3 pthread_setcanceltype F @@ -2106,6 +2112,9 @@ GLIBC_2.34 pthread_key_delete F GLIBC_2.34 pthread_kill F GLIBC_2.34 pthread_mutex_consistent F GLIBC_2.34 pthread_once F +GLIBC_2.34 pthread_rwlock_rdlock F +GLIBC_2.34 pthread_rwlock_unlock F +GLIBC_2.34 pthread_rwlock_wrlock F GLIBC_2.34 pthread_setspecific F GLIBC_2.4 _IO_fprintf F GLIBC_2.4 _IO_printf F diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist index 80b850ffef..53f92e2c2e 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist @@ -41,11 +41,8 @@ GLIBC_2.3 __pthread_mutexattr_init F GLIBC_2.3 __pthread_mutexattr_settype F GLIBC_2.3 __pthread_rwlock_destroy F GLIBC_2.3 __pthread_rwlock_init F -GLIBC_2.3 __pthread_rwlock_rdlock F GLIBC_2.3 __pthread_rwlock_tryrdlock F GLIBC_2.3 __pthread_rwlock_trywrlock F -GLIBC_2.3 __pthread_rwlock_unlock F -GLIBC_2.3 __pthread_rwlock_wrlock F GLIBC_2.3 __res_state F GLIBC_2.3 flockfile F GLIBC_2.3 ftrylockfile F @@ -93,13 +90,10 @@ GLIBC_2.3 pthread_mutexattr_setpshared F GLIBC_2.3 pthread_mutexattr_settype F GLIBC_2.3 pthread_rwlock_destroy F GLIBC_2.3 pthread_rwlock_init F -GLIBC_2.3 pthread_rwlock_rdlock F GLIBC_2.3 pthread_rwlock_timedrdlock F GLIBC_2.3 pthread_rwlock_timedwrlock F GLIBC_2.3 pthread_rwlock_tryrdlock F GLIBC_2.3 pthread_rwlock_trywrlock F -GLIBC_2.3 pthread_rwlock_unlock F -GLIBC_2.3 pthread_rwlock_wrlock F GLIBC_2.3 pthread_rwlockattr_destroy F GLIBC_2.3 pthread_rwlockattr_getkind_np F GLIBC_2.3 pthread_rwlockattr_getpshared F diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist index e254a0f316..802b409879 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist @@ -428,6 +428,9 @@ GLIBC_2.17 __pthread_cleanup_routine F GLIBC_2.17 __pthread_getspecific F GLIBC_2.17 __pthread_key_create F GLIBC_2.17 __pthread_once F +GLIBC_2.17 __pthread_rwlock_rdlock F +GLIBC_2.17 __pthread_rwlock_unlock F +GLIBC_2.17 __pthread_rwlock_wrlock F GLIBC_2.17 __pthread_setspecific F GLIBC_2.17 __pthread_unwind_next F GLIBC_2.17 __ptsname_r_chk F @@ -1552,6 +1555,9 @@ GLIBC_2.17 pthread_mutex_init F GLIBC_2.17 pthread_mutex_lock F GLIBC_2.17 pthread_mutex_unlock F GLIBC_2.17 pthread_once F +GLIBC_2.17 pthread_rwlock_rdlock F +GLIBC_2.17 pthread_rwlock_unlock F +GLIBC_2.17 pthread_rwlock_wrlock F GLIBC_2.17 pthread_self F GLIBC_2.17 pthread_setcancelstate F GLIBC_2.17 pthread_setcanceltype F @@ -2399,4 +2405,7 @@ GLIBC_2.34 pthread_key_delete F GLIBC_2.34 pthread_kill F GLIBC_2.34 pthread_mutex_consistent F GLIBC_2.34 pthread_once F +GLIBC_2.34 pthread_rwlock_rdlock F +GLIBC_2.34 pthread_rwlock_unlock F +GLIBC_2.34 pthread_rwlock_wrlock F GLIBC_2.34 pthread_setspecific F diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist index 28f454bbf7..3f0247fcec 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist @@ -15,11 +15,8 @@ GLIBC_2.17 __pthread_register_cancel F GLIBC_2.17 __pthread_register_cancel_defer F GLIBC_2.17 __pthread_rwlock_destroy F GLIBC_2.17 __pthread_rwlock_init F -GLIBC_2.17 __pthread_rwlock_rdlock F GLIBC_2.17 __pthread_rwlock_tryrdlock F GLIBC_2.17 __pthread_rwlock_trywrlock F -GLIBC_2.17 __pthread_rwlock_unlock F -GLIBC_2.17 __pthread_rwlock_wrlock F GLIBC_2.17 __pthread_unregister_cancel F GLIBC_2.17 __pthread_unregister_cancel_restore F GLIBC_2.17 __res_state F @@ -84,13 +81,10 @@ GLIBC_2.17 pthread_mutexattr_setrobust_np F GLIBC_2.17 pthread_mutexattr_settype F GLIBC_2.17 pthread_rwlock_destroy F GLIBC_2.17 pthread_rwlock_init F -GLIBC_2.17 pthread_rwlock_rdlock F GLIBC_2.17 pthread_rwlock_timedrdlock F GLIBC_2.17 pthread_rwlock_timedwrlock F GLIBC_2.17 pthread_rwlock_tryrdlock F GLIBC_2.17 pthread_rwlock_trywrlock F -GLIBC_2.17 pthread_rwlock_unlock F -GLIBC_2.17 pthread_rwlock_wrlock F GLIBC_2.17 pthread_rwlockattr_destroy F GLIBC_2.17 pthread_rwlockattr_getkind_np F GLIBC_2.17 pthread_rwlockattr_getpshared F |