aboutsummaryrefslogtreecommitdiff
path: root/nptl/pthread_mutex_lock.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2021-07-07 08:40:41 +0200
committerFlorian Weimer <fweimer@redhat.com>2021-07-07 08:41:17 +0200
commit8ec022a037788cc540c5670b0c9b1aa137bfbf97 (patch)
tree400064397851b16fc54b18da837e2a0c969b3e3e /nptl/pthread_mutex_lock.c
parent1f9c804fbd699104adefbce9e56d2c8aa711b6b9 (diff)
downloadglibc-8ec022a037788cc540c5670b0c9b1aa137bfbf97.tar
glibc-8ec022a037788cc540c5670b0c9b1aa137bfbf97.tar.gz
glibc-8ec022a037788cc540c5670b0c9b1aa137bfbf97.tar.bz2
glibc-8ec022a037788cc540c5670b0c9b1aa137bfbf97.zip
nptl: Remove GLIBC_2.34 versions of __pthread_mutex_lock, __pthread_mutex_unlock
Now that there are no internal users anymore, these new symbol versions can be removed from the public ABI. The compatibility symbols remain. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'nptl/pthread_mutex_lock.c')
-rw-r--r--nptl/pthread_mutex_lock.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/nptl/pthread_mutex_lock.c b/nptl/pthread_mutex_lock.c
index c9e438ef37..da624f322d 100644
--- a/nptl/pthread_mutex_lock.c
+++ b/nptl/pthread_mutex_lock.c
@@ -609,9 +609,10 @@ __pthread_mutex_lock_full (pthread_mutex_t *mutex)
}
#if PTHREAD_MUTEX_VERSIONS
-versioned_symbol (libpthread, ___pthread_mutex_lock, __pthread_mutex_lock,
- GLIBC_2_34);
libc_hidden_ver (___pthread_mutex_lock, __pthread_mutex_lock)
+# ifndef SHARED
+strong_alias (___pthread_mutex_lock, __pthread_mutex_lock)
+# endif
versioned_symbol (libpthread, ___pthread_mutex_lock, pthread_mutex_lock,
GLIBC_2_0);