about summary refs log tree commit diff
path: root/nptl
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2021-05-03 08:12:12 +0200
committerFlorian Weimer <fweimer@redhat.com>2021-05-03 08:16:48 +0200
commitae4a5ca07496e8ae8a74924095f0161d4c759328 (patch)
tree8cb36f4aeb5f01d245d6bbaf318171f5c123648b /nptl
parent08970190fc225b319ba456f621a62a50858fa0f6 (diff)
downloadglibc-ae4a5ca07496e8ae8a74924095f0161d4c759328.tar.gz
glibc-ae4a5ca07496e8ae8a74924095f0161d4c759328.tar.xz
glibc-ae4a5ca07496e8ae8a74924095f0161d4c759328.zip
nptl: Move mtx_unlock into libc
The symbol was moved using scripts/move-symbol-to-libc.py.

__pthread_mutex_unlock@GLIBC_2.34 is not removed in this commit
because it is still used from nptl/nptl-init.c.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Tested-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'nptl')
-rw-r--r--nptl/Versions3
1 files changed, 2 insertions, 1 deletions
diff --git a/nptl/Versions b/nptl/Versions
index 9eea4082a0..47704ba4d1 100644
--- a/nptl/Versions
+++ b/nptl/Versions
@@ -138,6 +138,7 @@ libc {
     mtx_lock;
     mtx_timedlock;
     mtx_trylock;
+    mtx_unlock;
     thrd_current;
     thrd_equal;
     thrd_sleep;
@@ -174,6 +175,7 @@ libc {
     mtx_lock;
     mtx_timedlock;
     mtx_trylock;
+    mtx_unlock;
     pthread_cond_clockwait;
     pthread_condattr_getclock;
     pthread_condattr_getpshared;
@@ -385,7 +387,6 @@ libpthread {
 
   # C11 thread symbols.
   GLIBC_2.28 {
-    mtx_unlock;
     thrd_create;
     thrd_detach;
     thrd_exit;