about summary refs log tree commit diff
path: root/linuxthreads/libpthread.map
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/libpthread.map')
-rw-r--r--linuxthreads/libpthread.map62
1 files changed, 62 insertions, 0 deletions
diff --git a/linuxthreads/libpthread.map b/linuxthreads/libpthread.map
new file mode 100644
index 0000000000..36767af3ed
--- /dev/null
+++ b/linuxthreads/libpthread.map
@@ -0,0 +1,62 @@
+GLIBC_2.0 {
+  global:
+    # Hidden entry point (through macros).
+    _pthread_cleanup_pop; _pthread_cleanup_pop_restore; _pthread_cleanup_push;
+    _pthread_cleanup_push_defer;
+
+    # Overwritten libc functions.
+    close; fcntl; fork; fsync; lseek; msync; nanosleep; open; pause; raise;
+    read; system; tcdrain; wait; waitpid; write;
+
+    # POSIX.1c extensions to libc.
+    flockfile; funlockfile; ftrylockfile;
+
+    # Non-standard POSIX1.x functions.
+    pthread_kill_other_threads_np; pthread_mutexattr_getkind_np;
+    pthread_mutexattr_setkind_np;
+
+    # Real POSIX.1c functions.
+    pthread_atfork; 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_cancel; pthread_cond_broadcast;
+    pthread_cond_destroy; pthread_cond_init; pthread_cond_signal;
+    pthread_cond_timedwait; pthread_cond_wait; pthread_condattr_destroy;
+    pthread_condattr_init; pthread_create; pthread_detach; pthread_equal;
+    pthread_exit; pthread_getschedparam; pthread_getspecific; pthread_join;
+    pthread_key_create; pthread_key_delete; pthread_kill;
+    pthread_mutex_destroy; pthread_mutex_init; pthread_mutex_lock;
+    pthread_mutex_trylock; pthread_mutex_unlock; pthread_mutexattr_destroy;
+    pthread_mutexattr_init; pthread_once; pthread_self; pthread_setcancelstate;
+    pthread_setcanceltype; pthread_setschedparam; pthread_setspecific;
+    pthread_sigmask; pthread_testcancel;
+
+    sem_destroy; sem_getvalue; sem_init; sem_post; sem_trywait; sem_wait;
+    sigwait;
+
+    # Protected names for functions used in other shared objects.
+    __pthread_getspecific; __pthread_initialize; __pthread_mutex_destroy;
+    __pthread_mutex_init; __pthread_mutex_lock; __pthread_mutex_trylock;
+    __pthread_mutex_unlock; __pthread_mutexattr_destroy;
+    __pthread_mutexattr_init; __pthread_mutexattr_setkind_np;
+    __pthread_setspecific;
+
+    # The error functions.
+    __errno_location; __h_errno_location;
+
+  local:
+    *;
+};
+
+
+GLIBC_2.1 {
+  global:
+    # Unix98 extensions.
+    pthread_rwlock_init; pthread_rwlock_destroy; pthread_rwlock_rdlock;
+    pthread_rwlock_tryrdlock; pthread_rwlock_wrlock; pthread_rwlock_trywrlock;
+    pthread_rwlock_unlock; pthread_rwlockattr_init; pthread_rwlockattr_destroy;
+    pthread_rwlockattr_getpshared; pthread_rwlockattr_setpshared;
+    pthread_rwlockattr_getkind_np; pthread_rwlockattr_setkind_np;
+} GLIBC_2.0;