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/x86_64/x32 | |
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/x86_64/x32')
-rw-r--r-- | sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist | 9 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist | 6 |
2 files changed, 9 insertions, 6 deletions
diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist b/sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist index d5b78b83cc..fb659ae2c4 100644 --- a/sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist +++ b/sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist @@ -343,6 +343,9 @@ GLIBC_2.16 __pthread_cleanup_routine F GLIBC_2.16 __pthread_getspecific F GLIBC_2.16 __pthread_key_create F GLIBC_2.16 __pthread_once F +GLIBC_2.16 __pthread_rwlock_rdlock F +GLIBC_2.16 __pthread_rwlock_unlock F +GLIBC_2.16 __pthread_rwlock_wrlock F GLIBC_2.16 __pthread_setspecific F GLIBC_2.16 __pthread_unwind_next F GLIBC_2.16 __ptsname_r_chk F @@ -1471,6 +1474,9 @@ GLIBC_2.16 pthread_mutex_init F GLIBC_2.16 pthread_mutex_lock F GLIBC_2.16 pthread_mutex_unlock F GLIBC_2.16 pthread_once F +GLIBC_2.16 pthread_rwlock_rdlock F +GLIBC_2.16 pthread_rwlock_unlock F +GLIBC_2.16 pthread_rwlock_wrlock F GLIBC_2.16 pthread_self F GLIBC_2.16 pthread_setcancelstate F GLIBC_2.16 pthread_setcanceltype F @@ -2218,4 +2224,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/x86_64/x32/libpthread.abilist b/sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist index 5e57a2202d..5a7c70f589 100644 --- a/sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist @@ -15,11 +15,8 @@ GLIBC_2.16 __pthread_register_cancel F GLIBC_2.16 __pthread_register_cancel_defer F GLIBC_2.16 __pthread_rwlock_destroy F GLIBC_2.16 __pthread_rwlock_init F -GLIBC_2.16 __pthread_rwlock_rdlock F GLIBC_2.16 __pthread_rwlock_tryrdlock F GLIBC_2.16 __pthread_rwlock_trywrlock F -GLIBC_2.16 __pthread_rwlock_unlock F -GLIBC_2.16 __pthread_rwlock_wrlock F GLIBC_2.16 __pthread_unregister_cancel F GLIBC_2.16 __pthread_unregister_cancel_restore F GLIBC_2.16 __res_state F @@ -84,13 +81,10 @@ GLIBC_2.16 pthread_mutexattr_setrobust_np F GLIBC_2.16 pthread_mutexattr_settype F GLIBC_2.16 pthread_rwlock_destroy F GLIBC_2.16 pthread_rwlock_init F -GLIBC_2.16 pthread_rwlock_rdlock F GLIBC_2.16 pthread_rwlock_timedrdlock F GLIBC_2.16 pthread_rwlock_timedwrlock F GLIBC_2.16 pthread_rwlock_tryrdlock F GLIBC_2.16 pthread_rwlock_trywrlock F -GLIBC_2.16 pthread_rwlock_unlock F -GLIBC_2.16 pthread_rwlock_wrlock F GLIBC_2.16 pthread_rwlockattr_destroy F GLIBC_2.16 pthread_rwlockattr_getkind_np F GLIBC_2.16 pthread_rwlockattr_getpshared F |