5ec3dacd3df18709506760a695ca95ac675d1eec
[kopensolaris-gnu/glibc.git] / linuxthreads / Versions
1 libc {
2   GLIBC_2.0 {
3     pthread_attr_destroy; pthread_attr_getdetachstate;
4     pthread_attr_getinheritsched; pthread_attr_getschedparam;
5     pthread_attr_getschedpolicy; pthread_attr_getscope; pthread_attr_init;
6     pthread_attr_setdetachstate; pthread_attr_setinheritsched;
7     pthread_attr_setschedparam; pthread_attr_setschedpolicy;
8     pthread_attr_setscope; pthread_cond_broadcast; pthread_cond_destroy;
9     pthread_cond_init; pthread_cond_signal; pthread_cond_wait;
10     pthread_condattr_destroy; pthread_condattr_init; pthread_equal;
11     pthread_exit; pthread_getschedparam; pthread_mutex_destroy;
12     pthread_mutex_init; pthread_mutex_lock; pthread_mutex_unlock;
13     pthread_mutexattr_getkind_np; pthread_mutexattr_setkind_np;
14     pthread_self; pthread_setcancelstate; pthread_setcanceltype;
15     pthread_setschedparam;
16
17     # Internal libc interface to libpthread
18     __libc_internal_tsd_get; __libc_internal_tsd_set;
19   }
20   GLIBC_2.1 {
21     pthread_attr_init;
22   }
23 }
24
25 ld.so {
26   GLIBC_2.0 {
27     # Internal libc interface to libpthread
28     __libc_internal_tsd_get; __libc_internal_tsd_set;
29   }
30 }
31
32 libpthread {
33   GLIBC_2.0 {
34     # Hidden entry point (through macros).
35     _pthread_cleanup_pop; _pthread_cleanup_pop_restore; _pthread_cleanup_push;
36     _pthread_cleanup_push_defer;
37
38     # Internal libc interface to libpthread
39     __libc_internal_tsd_get; __libc_internal_tsd_set;
40
41     # Overwritten libc functions.
42     accept; close; connect; fcntl; fork; fsync; longjmp; lseek; msync;
43     nanosleep; open; pause; raise; read; recv; recvfrom; recvmsg; send;
44     sendmsg; sendto; sigaction; siglongjmp; system; tcdrain; wait;
45     waitpid; write;
46     __close; __connect; __fcntl; __lseek; __open; __read; __send; __wait;
47     __write;
48     _IO_flockfile; _IO_ftrylockfile; _IO_funlockfile;
49
50     # POSIX.1c extensions to libc.
51     flockfile; funlockfile; ftrylockfile;
52
53     # Non-standard POSIX1.x functions.
54     pthread_kill_other_threads_np; pthread_mutexattr_getkind_np;
55     pthread_mutexattr_setkind_np;
56
57     # Real POSIX.1c functions.
58     pthread_atfork; pthread_attr_destroy; pthread_attr_getdetachstate;
59     pthread_attr_getinheritsched; pthread_attr_getschedparam;
60     pthread_attr_getschedpolicy; pthread_attr_getscope; pthread_attr_init;
61     pthread_attr_setdetachstate; pthread_attr_setinheritsched;
62     pthread_attr_setschedparam; pthread_attr_setschedpolicy;
63     pthread_attr_setscope; pthread_cancel; pthread_cond_broadcast;
64     pthread_cond_destroy; pthread_cond_init; pthread_cond_signal;
65     pthread_cond_timedwait; pthread_cond_wait; pthread_condattr_destroy;
66     pthread_condattr_init; pthread_create; pthread_detach; pthread_equal;
67     pthread_exit; pthread_getschedparam; pthread_getspecific; pthread_join;
68     pthread_key_create; pthread_key_delete; pthread_kill;
69     pthread_mutex_destroy; pthread_mutex_init; pthread_mutex_lock;
70     pthread_mutex_trylock; pthread_mutex_unlock; pthread_mutexattr_destroy;
71     pthread_mutexattr_init; pthread_once; pthread_self; pthread_setcancelstate;
72     pthread_setcanceltype; pthread_setschedparam; pthread_setspecific;
73     pthread_sigmask; pthread_testcancel;
74
75     sem_destroy; sem_getvalue; sem_init; sem_post; sem_trywait; sem_wait;
76     sigwait;
77
78     # Protected names for functions used in other shared objects.
79     __pthread_atfork; __pthread_initialize; __pthread_getspecific;
80     __pthread_key_create; __pthread_mutex_destroy; __pthread_mutex_init;
81     __pthread_mutex_lock; __pthread_mutex_trylock; __pthread_mutex_unlock;
82     __pthread_mutexattr_destroy; __pthread_mutexattr_init;
83     __pthread_mutexattr_settype; __pthread_once; __pthread_setspecific;
84
85     # The error functions.
86     __errno_location; __h_errno_location;
87   }
88   GLIBC_2.1 {
89     # Functions with changed interface.
90     pthread_attr_init; pthread_create;
91
92     # Unix98 extensions.
93     pthread_rwlock_init; pthread_rwlock_destroy; pthread_rwlock_rdlock;
94     pthread_rwlock_tryrdlock; pthread_rwlock_wrlock; pthread_rwlock_trywrlock;
95     pthread_rwlock_unlock; pthread_rwlockattr_init; pthread_rwlockattr_destroy;
96     pthread_rwlockattr_getpshared; pthread_rwlockattr_setpshared;
97     pthread_rwlockattr_getkind_np; pthread_rwlockattr_setkind_np;
98
99     pthread_attr_getguardsize; pthread_attr_setguardsize;
100     pthread_attr_getstackaddr; pthread_attr_setstackaddr;
101     pthread_attr_getstacksize; pthread_attr_setstacksize;
102
103     pthread_getconcurrency; pthread_setconcurrency;
104
105     pthread_mutexattr_gettype; pthread_mutexattr_settype;
106
107     sem_destroy; sem_getvalue; sem_init; sem_post; sem_trywait; sem_wait;
108
109     # helper functions
110     __libc_current_sigrtmin; __libc_current_sigrtmax;
111     __libc_allocate_rtsig;
112   }
113   GLIBC_2.1.1 {
114     sem_close; sem_open; sem_unlink;
115   }
116 }