about summary refs log tree commit diff
path: root/nptl/Versions
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2021-05-11 11:08:00 +0200
committerFlorian Weimer <fweimer@redhat.com>2021-05-11 11:10:03 +0200
commit249bd833a08e2689e28ff9a094730f0b048a8442 (patch)
tree2106800f8ef1cfc6bfb73e7391400b7cb2b06ae2 /nptl/Versions
parentd2af73a348c4a230792d190c774a431fe5c31515 (diff)
downloadglibc-249bd833a08e2689e28ff9a094730f0b048a8442.tar.gz
glibc-249bd833a08e2689e28ff9a094730f0b048a8442.tar.xz
glibc-249bd833a08e2689e28ff9a094730f0b048a8442.zip
nptl: Move pthread_setattr_default_np into libc
The symbol was moved using scripts/move-symbol-to-libc.py.

The export of  __default_pthread_attr_freeres is temporary.  There
is a minor regression in freeres coverage because in the dynamic case,
__default_pthread_attr_freeres is no longer called if libpthread is
not linked in.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
Diffstat (limited to 'nptl/Versions')
-rw-r--r--nptl/Versions8
1 files changed, 6 insertions, 2 deletions
diff --git a/nptl/Versions b/nptl/Versions
index 4c1c4ee0a7..de025e179c 100644
--- a/nptl/Versions
+++ b/nptl/Versions
@@ -167,6 +167,9 @@ libc {
     pthread_mutexattr_getrobust;
     pthread_mutexattr_setrobust;
   }
+  GLIBC_2.18 {
+    pthread_setattr_default_np;
+  }
   # C11 thread symbols.
   GLIBC_2.28 {
     call_once;
@@ -230,8 +233,8 @@ libc {
     pthread_barrier_wait;
     pthread_barrierattr_destroy;
     pthread_barrierattr_getpshared;
-    pthread_barrierattr_setpshared;
     pthread_barrierattr_init;
+    pthread_barrierattr_setpshared;
     pthread_cond_clockwait;
     pthread_condattr_getclock;
     pthread_condattr_getpshared;
@@ -273,6 +276,7 @@ libc {
     pthread_rwlockattr_init;
     pthread_rwlockattr_setkind_np;
     pthread_rwlockattr_setpshared;
+    pthread_setattr_default_np;
     pthread_setspecific;
     pthread_spin_destroy;
     pthread_spin_init;
@@ -299,6 +303,7 @@ libc {
   }
   GLIBC_PRIVATE {
     __default_pthread_attr;
+    __default_pthread_attr_freeres;
     __default_pthread_attr_lock;
     __futex_abstimed_wait64;
     __futex_abstimed_wait_cancelable64;
@@ -436,7 +441,6 @@ libpthread {
 
   GLIBC_2.18 {
     pthread_getattr_default_np;
-    pthread_setattr_default_np;
   }
 
   # C11 thread symbols.