]> git.ipfire.org Git - thirdparty/glibc.git/blame - mach/Versions
* sysdeps/mach/configure.in: New file.
[thirdparty/glibc.git] / mach / Versions
CommitLineData
c2c67d14 1%define SHARED
693ef46b
RM
2%include <shlib-compat.h>
3
3c068816
RM
4libc {
5 GLIBC_2.0 {
693ef46b 6%if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)
aab217f3
RM
7 # This symbol is here only for binary compatibility with the
8 # pre-versioning libc.so.0.2 ABI. When the soname changes,
9 # it can be removed.
10 __vm_allocate;
693ef46b 11%endif
aab217f3 12
a825f8e8
RM
13 # variables used in Mach-specific macros
14 __mach_task_self_;
15 __vm_page_size;
3c068816 16
42ee0538
RM
17 # functions used in inline functions and macros
18 __mach_port_deallocate; __mach_thread_self;
693ef46b 19%if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)
42ee0538
RM
20 __mutex_init; __mutex_lock; __mutex_lock_solid; __mutex_trylock;
21 __mutex_unlock; __mutex_unlock_solid;
22 __spin_lock; __spin_lock_init; __spin_lock_solid; __spin_try_lock;
23 __spin_unlock;
693ef46b 24%endif
a825f8e8
RM
25
26 # functions used by RPC stubs
27 __mach_msg;
c2ef7930 28 __mig_allocate; __mig_deallocate; __mig_dealloc_reply_port;
a825f8e8 29 __mig_get_reply_port; __mig_put_reply_port;
684908c5 30 __mig_strncpy;
a825f8e8
RM
31
32 # variables in normal name space
33 vm_page_size;
34
35 # functions in normal name space
36
37 # e*
38 evc_wait;
39
a825f8e8
RM
40 # m*
41 mach_error; mach_error_string; mach_error_type;
42 mach_host_self;
43 mach_msg; mach_msg_destroy;
edbe9101 44 mach_msg_send; mach_msg_receive;
a825f8e8
RM
45 mach_msg_server; mach_msg_server_timeout;
46 mach_open_devstream;
47 mach_port_allocate; mach_port_allocate_name; mach_port_deallocate;
48 mach_port_insert_right; mach_reply_port;
49 mach_setup_thread;
50 mach_task_self;
51 mach_thread_self;
52 mig_allocate; mig_dealloc_reply_port; mig_deallocate;
53 mig_get_reply_port; mig_init; mig_put_reply_port;
54
55 # v*
56 vm_allocate; vm_deallocate; vm_map;
57
58 # s*
59 swtch; swtch_pri;
60
61 # t*
62 task_create; task_set_special_port; task_suspend; task_terminate;
63 thread_depress_abort; thread_switch;
3c068816 64 }
d7b73474
RM
65 GLIBC_2.2.5 {
66 # internal functions used by other libraries (e.g. librt)
67 __mach_msg_destroy; __mach_reply_port;
bb266007
RM
68
69 # This was always there, but not exported as it should have been.
70 mig_strncpy;
d7b73474 71 }
693ef46b
RM
72
73%if !SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)
74 HURD_CTHREADS_0.3 {
75 __mutex_init; __mutex_lock; __mutex_lock_solid; __mutex_trylock;
76 __mutex_unlock; __mutex_unlock_solid;
77 __spin_lock; __spin_lock_init; __spin_lock_solid; __spin_try_lock;
78 __spin_unlock;
79 }
80%endif
3c068816 81}