about summary refs log tree commit diff
path: root/nptl/Versions
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/Versions')
-rw-r--r--nptl/Versions24
1 files changed, 24 insertions, 0 deletions
diff --git a/nptl/Versions b/nptl/Versions
index 4e134fa42e..d80c6bd130 100644
--- a/nptl/Versions
+++ b/nptl/Versions
@@ -16,10 +16,26 @@ libc {
     pthread_mutex_lock; pthread_mutex_unlock;
     pthread_self;
     pthread_setcancelstate; pthread_setcanceltype;
+#if HAVE_ASM_SECONDARY_DIRECTIVE
+    # Provide additional secondary pthread functions.
+    _pthread_cleanup_pop_restore; _pthread_cleanup_push_defer;
+    __pthread_getspecific; __pthread_setspecific;
+    __pthread_key_create;
+    pthread_once;
+    __pthread_once;
+    __pthread_mutex_lock; __pthread_mutex_unlock;
+#endif
   }
   GLIBC_2.1 {
     pthread_attr_init;
   }
+#if HAVE_ASM_SECONDARY_DIRECTIVE
+  GLIBC_2.2 {
+    # Provide additional secondary pthread functions.
+    __pthread_rwlock_rdlock; __pthread_rwlock_wrlock;
+    __pthread_rwlock_unlock;
+  }
+#endif
   GLIBC_2.3.2 {
     __register_atfork;
 
@@ -36,6 +52,11 @@ libc {
     __libc_pthread_init;
     __libc_current_sigrtmin_private; __libc_current_sigrtmax_private;
     __libc_allocate_rtsig_private;
+#if HAVE_ASM_SECONDARY_DIRECTIVE
+    # Provide additional secondary pthread function.
+    __pthread_unwind;
+    __pthread_setcancelstate;
+#endif
   }
 }
 
@@ -270,6 +291,9 @@ libpthread {
     __pthread_initialize_minimal;
     __pthread_clock_gettime; __pthread_clock_settime;
     __pthread_unwind; __pthread_get_minstack;
+#if HAVE_ASM_SECONDARY_DIRECTIVE
+    __pthread_setcancelstate;
+#endif
     __shm_directory;
   }
 }