2 %include <shlib-compat.h>
6 %if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)
7 # This symbol is here only for binary compatibility with the
8 # pre-versioning libc.so.0.2 ABI. When the soname changes,
13 # variables used in Mach-specific macros
17 # functions used in inline functions and macros
18 __mach_port_deallocate; __mach_thread_self;
19 %if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)
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;
26 # functions used by RPC stubs
27 __mach_msg; __mach_msg_overwrite;
28 __mig_allocate; __mig_deallocate; __mig_dealloc_reply_port;
29 __mig_get_reply_port; __mig_put_reply_port;
32 # variables in normal name space
35 # functions in normal name space
41 mach_error; mach_error_string; mach_error_type;
43 mach_msg; mach_msg_overwrite;
45 mach_msg_send; mach_msg_receive;
46 mach_msg_server; mach_msg_server_timeout;
48 mach_port_allocate; mach_port_allocate_name; mach_port_deallocate;
49 mach_port_insert_right; mach_reply_port;
53 mig_allocate; mig_dealloc_reply_port; mig_deallocate;
54 mig_get_reply_port; mig_init; mig_put_reply_port;
57 vm_allocate; vm_deallocate; vm_map;
63 task_create; task_set_special_port; task_suspend; task_terminate;
64 thread_depress_abort; thread_switch;
67 # internal functions used by other libraries (e.g. librt)
68 __mach_msg_destroy; __mach_reply_port;
70 # This was always there, but not exported as it should have been.
74 %if !SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)
76 __mutex_init; __mutex_lock; __mutex_lock_solid; __mutex_trylock;
77 __mutex_unlock; __mutex_unlock_solid;
78 __spin_lock; __spin_lock_init; __spin_lock_solid; __spin_try_lock;