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 /nptl/nptl-init.c | |
parent | 9ce44f46754cc529d54418615862e7e27cc82f09 (diff) | |
download | glibc-eb29dcde31e7b6f07e7acda161e85d2be69652e4.zip glibc-eb29dcde31e7b6f07e7acda161e85d2be69652e4.tar.gz glibc-eb29dcde31e7b6f07e7acda161e85d2be69652e4.tar.bz2 |
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 'nptl/nptl-init.c')
-rw-r--r-- | nptl/nptl-init.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/nptl/nptl-init.c b/nptl/nptl-init.c index 1e57ff2..fae0db3 100644 --- a/nptl/nptl-init.c +++ b/nptl/nptl-init.c @@ -66,9 +66,6 @@ static const struct pthread_functions pthread_functions = .ptr_pthread_mutex_init = __pthread_mutex_init, .ptr_pthread_mutex_lock = __pthread_mutex_lock, .ptr_pthread_mutex_unlock = __pthread_mutex_unlock, - .ptr___pthread_rwlock_rdlock = __pthread_rwlock_rdlock, - .ptr___pthread_rwlock_wrlock = __pthread_rwlock_wrlock, - .ptr___pthread_rwlock_unlock = __pthread_rwlock_unlock, .ptr__nptl_setxid = __nptl_setxid, }; # define ptr_pthread_functions &pthread_functions |