mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
aab217f3ee
Provide backwards binary compatibility for the Hurd. * hurd/geteuids.c [PIC && DO_VERSIONING]: Make __getuids a weak alias for geteuids. * hurd/Versions [GLIBC_2.0]: Add __getuids, __hurd_file_name_lookup and _hurd_umask. [GLIBC_2.1]: Add _hurd_proc_init. * hurd/Makefile [versioning] (routines): Add compat-20. (shared-only-routines): Likewise. * hurd/hurdinit.c (_hurd_new_proc_init): Renamed from _hurd_proc_init. Use it as the default _hurd_proc_init version for GLIBC_2.1. * hurd/compat-20.c: New file. * mach/Versions [GLIBC_2.0]: Add __vm_allocate.
57 lines
1.5 KiB
Plaintext
57 lines
1.5 KiB
Plaintext
libc {
|
|
GLIBC_2.0 {
|
|
# This symbol is here only for binary compatibility with the
|
|
# pre-versioning libc.so.0.2 ABI. When the soname changes,
|
|
# it can be removed.
|
|
__vm_allocate;
|
|
|
|
# variables used in Mach-specific macros
|
|
__mach_task_self_;
|
|
__vm_page_size;
|
|
|
|
# functions used in inline functions and macros
|
|
__mach_port_deallocate; __mach_thread_self;
|
|
__mutex_init; __mutex_lock; __mutex_lock_solid; __mutex_trylock;
|
|
__mutex_unlock; __mutex_unlock_solid;
|
|
__spin_lock; __spin_lock_init; __spin_lock_solid; __spin_try_lock;
|
|
__spin_unlock;
|
|
|
|
# functions used by RPC stubs
|
|
__mach_msg;
|
|
__mig_allocate; __mig_deallocate; __mig_dealloc_reply_port;
|
|
__mig_get_reply_port; __mig_put_reply_port;
|
|
|
|
# variables in normal name space
|
|
vm_page_size;
|
|
|
|
# functions in normal name space
|
|
|
|
# e*
|
|
evc_wait;
|
|
|
|
# m*
|
|
mach_error; mach_error_string; mach_error_type;
|
|
mach_host_self;
|
|
mach_msg; mach_msg_destroy;
|
|
mach_msg_server; mach_msg_server_timeout;
|
|
mach_open_devstream;
|
|
mach_port_allocate; mach_port_allocate_name; mach_port_deallocate;
|
|
mach_port_insert_right; mach_reply_port;
|
|
mach_setup_thread;
|
|
mach_task_self;
|
|
mach_thread_self;
|
|
mig_allocate; mig_dealloc_reply_port; mig_deallocate;
|
|
mig_get_reply_port; mig_init; mig_put_reply_port;
|
|
|
|
# v*
|
|
vm_allocate; vm_deallocate; vm_map;
|
|
|
|
# s*
|
|
swtch; swtch_pri;
|
|
|
|
# t*
|
|
task_create; task_set_special_port; task_suspend; task_terminate;
|
|
thread_depress_abort; thread_switch;
|
|
}
|
|
}
|