about summary refs log tree commit diff
path: root/linuxthreads
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/Versions (renamed from linuxthreads/libpthread.map)35
1 files changed, 24 insertions, 11 deletions
diff --git a/linuxthreads/libpthread.map b/linuxthreads/Versions
index 8174f7d95d..4c36f2c393 100644
--- a/linuxthreads/libpthread.map
+++ b/linuxthreads/Versions
@@ -1,5 +1,23 @@
-GLIBC_2.0 {
-  global:
+libc {
+  GLIBC_2.0 {
+    pthread_attr_destroy; pthread_attr_getdetachstate;
+    pthread_attr_getinheritsched; pthread_attr_getschedparam;
+    pthread_attr_getschedpolicy; pthread_attr_getscope; pthread_attr_init;
+    pthread_attr_setdetachstate; pthread_attr_setinheritsched;
+    pthread_attr_setschedparam; pthread_attr_setschedpolicy;
+    pthread_attr_setscope; pthread_cond_broadcast; pthread_cond_destroy;
+    pthread_cond_init; pthread_cond_signal; pthread_cond_wait;
+    pthread_condattr_destroy; pthread_condattr_init; pthread_equal;
+    pthread_exit; pthread_getschedparam; pthread_mutex_destroy;
+    pthread_mutex_init; pthread_mutex_lock; pthread_mutex_unlock;
+    pthread_mutexattr_getkind_np; pthread_mutexattr_setkind_np;
+    pthread_self; pthread_setcancelstate; pthread_setcanceltype;
+    pthread_setschedparam;
+  }
+}
+
+libpthread {
+  GLIBC_2.0 {
     # Hidden entry point (through macros).
     _pthread_cleanup_pop; _pthread_cleanup_pop_restore; _pthread_cleanup_push;
     _pthread_cleanup_push_defer;
@@ -53,14 +71,8 @@ GLIBC_2.0 {
 
     # The error functions.
     __errno_location; __h_errno_location;
-
-  local:
-    *;
-};
-
-
-GLIBC_2.1 {
-  global:
+  }
+  GLIBC_2.1 {
     # Functions with changed interface.
     pthread_attr_init; pthread_create;
 
@@ -76,4 +88,5 @@ GLIBC_2.1 {
     pthread_attr_getstacksize; pthread_attr_setstacksize;
 
     pthread_getconcurrency; pthread_setconcurrency;
-} GLIBC_2.0;
+  }
+}