1998-10-24 09:36:01 +08:00
|
|
|
libc {
|
|
|
|
GLIBC_2.0 {
|
1998-10-24 Mark Kettenis <kettenis@phys.uva.nl>
* mach/Versions: Add evc_wait, mach_error, mach_error_string,
mach_error_type, mach_msg_destroy, mig_deallocate_reply_port.
Remove __mach_host_self, __mach_reply_port, __mach_setup_thread,
__mach_port_allocate, __mach_port_allocate_name,
__mach_port_deallocate, __mach_port_insert_right, __mutex_init,
__mutex_trylock, __mutex_lock, __mutex_unlock, __swtch, __switch,
__task_create, __task_suspend, __task_set_special_port,
__task_terminate, __thread_depress_abort, __thread_switch,
__vm_allocate, __vm_deallocate, __vm_map. These functions are not
used outside libc.
* sysdeps/mach/hurd/Versions: New file.
[libc, GLIBC_2.0]: Add _cthread_exit_routine and
_cthread_init_routine. These are set by the Hurd cthreads library.
Add __getcwd, __mmap. If we don't add these, the weak definitions in
the dynamic linker will not be replaced by the corresponding shared
library routines once they are loaded.
1998-10-21 Mark Kettenis <kettenis@phys.uva.nl>
* sysdeps/mach/hurd/i386/init-first.c: Only define
__libc_enable_secure if PIC is not defined.
1998-10-25 Roland McGrath <roland@baalperazim.frob.com>
* argp/Versions: Add _argp_unlock_xxx. Lock-savvy functions call this
to recurse into argp.
1998-10-26 04:09:00 +08:00
|
|
|
# variables used in Mach-specific macros
|
|
|
|
__mach_task_self_;
|
|
|
|
__vm_page_size;
|
1998-10-24 09:36:01 +08:00
|
|
|
|
1998-11-30 Mark Kettenis <kettenis@phys.uva.nl>
* mach/Versions [libc, GLIBC_2.0]: Add __spin_lock,
__spin_lock_init, __mutex_lock, __mutex_trylock,
__mutex_unlock.
Remove get_priviliged_ports. Moved to hurd/Versions.
* hurd/Versions [libc, GLIBC_2.0]: Add _end. This makes the Hurd
brk implementation see the end of the data segment of the program
instead of the shared library.
Add __hurd_errno_location. This inline function is used in user
programs.
Add _hurd_critical_section_lock, _hurd_critical_section_unlock,
_hurd_fd_get, _hurd_port_free, _hurd_port_get,
_hurd_port_locked_get. These inline functions are used by macros
used in mail.local in the Hurd distribution.
Add get_privileged_ports. Moved here from mach/Versions.
Remove __hurd_file_name_lookup, __hurd_file_name_lookup_retry,
__hurd_file_name_split, __hurd_file_name_path_lookup. These are
not used outside libc.
1998-11-30 Mark Kettenis <kettenis@phys.uva.nl>
* hurd/hurdstartup.c: Really include set-hooks.h with <> instead
of "".
1998-12-01 02:45:57 +08:00
|
|
|
# functions used in inline functions and macros
|
|
|
|
__mach_port_deallocate; __mach_thread_self;
|
1998-10-24 Mark Kettenis <kettenis@phys.uva.nl>
* mach/Versions: Add evc_wait, mach_error, mach_error_string,
mach_error_type, mach_msg_destroy, mig_deallocate_reply_port.
Remove __mach_host_self, __mach_reply_port, __mach_setup_thread,
__mach_port_allocate, __mach_port_allocate_name,
__mach_port_deallocate, __mach_port_insert_right, __mutex_init,
__mutex_trylock, __mutex_lock, __mutex_unlock, __swtch, __switch,
__task_create, __task_suspend, __task_set_special_port,
__task_terminate, __thread_depress_abort, __thread_switch,
__vm_allocate, __vm_deallocate, __vm_map. These functions are not
used outside libc.
* sysdeps/mach/hurd/Versions: New file.
[libc, GLIBC_2.0]: Add _cthread_exit_routine and
_cthread_init_routine. These are set by the Hurd cthreads library.
Add __getcwd, __mmap. If we don't add these, the weak definitions in
the dynamic linker will not be replaced by the corresponding shared
library routines once they are loaded.
1998-10-21 Mark Kettenis <kettenis@phys.uva.nl>
* sysdeps/mach/hurd/i386/init-first.c: Only define
__libc_enable_secure if PIC is not defined.
1998-10-25 Roland McGrath <roland@baalperazim.frob.com>
* argp/Versions: Add _argp_unlock_xxx. Lock-savvy functions call this
to recurse into argp.
1998-10-26 04:09:00 +08:00
|
|
|
|
|
|
|
# functions used by RPC stubs
|
2002-02-19 08:22:30 +08:00
|
|
|
__mach_msg; __mach_msg_overwrite;
|
1998-10-26 Roland McGrath <roland@baalperazim.frob.com>
* hurd/Versions: Add _hurd_dtable, _hurd_dtablesize,
_hurd_dtable_lock, _hurd_intern_fd.
* sysdeps/mach/hurd/Versions: Add cthread_keycreate,
cthread_getspecific, cthread_setspecific, __libc_getspecific.
* mach/Versions: Fix typo in last change.
__mach_port_insert_right __mutex_trylock, __mutex_lock,
__mutex_unlock, __swtch, __switch, __task_create, __task_suspend,
__task_set_special_port, __task_terminate, __thread_depress_abort,
__thread_switch, __vm_allocate, __vm_deallocate, __vm_map. These
functions are not used outside libc.
1998-10-26 08:11:36 +08:00
|
|
|
__mig_allocate; __mig_deallocate; __mig_dealloc_reply_port;
|
1998-10-24 Mark Kettenis <kettenis@phys.uva.nl>
* mach/Versions: Add evc_wait, mach_error, mach_error_string,
mach_error_type, mach_msg_destroy, mig_deallocate_reply_port.
Remove __mach_host_self, __mach_reply_port, __mach_setup_thread,
__mach_port_allocate, __mach_port_allocate_name,
__mach_port_deallocate, __mach_port_insert_right, __mutex_init,
__mutex_trylock, __mutex_lock, __mutex_unlock, __swtch, __switch,
__task_create, __task_suspend, __task_set_special_port,
__task_terminate, __thread_depress_abort, __thread_switch,
__vm_allocate, __vm_deallocate, __vm_map. These functions are not
used outside libc.
* sysdeps/mach/hurd/Versions: New file.
[libc, GLIBC_2.0]: Add _cthread_exit_routine and
_cthread_init_routine. These are set by the Hurd cthreads library.
Add __getcwd, __mmap. If we don't add these, the weak definitions in
the dynamic linker will not be replaced by the corresponding shared
library routines once they are loaded.
1998-10-21 Mark Kettenis <kettenis@phys.uva.nl>
* sysdeps/mach/hurd/i386/init-first.c: Only define
__libc_enable_secure if PIC is not defined.
1998-10-25 Roland McGrath <roland@baalperazim.frob.com>
* argp/Versions: Add _argp_unlock_xxx. Lock-savvy functions call this
to recurse into argp.
1998-10-26 04:09:00 +08:00
|
|
|
__mig_get_reply_port; __mig_put_reply_port;
|
1999-06-25 21:31:54 +08:00
|
|
|
__mig_strncpy;
|
1998-10-24 Mark Kettenis <kettenis@phys.uva.nl>
* mach/Versions: Add evc_wait, mach_error, mach_error_string,
mach_error_type, mach_msg_destroy, mig_deallocate_reply_port.
Remove __mach_host_self, __mach_reply_port, __mach_setup_thread,
__mach_port_allocate, __mach_port_allocate_name,
__mach_port_deallocate, __mach_port_insert_right, __mutex_init,
__mutex_trylock, __mutex_lock, __mutex_unlock, __swtch, __switch,
__task_create, __task_suspend, __task_set_special_port,
__task_terminate, __thread_depress_abort, __thread_switch,
__vm_allocate, __vm_deallocate, __vm_map. These functions are not
used outside libc.
* sysdeps/mach/hurd/Versions: New file.
[libc, GLIBC_2.0]: Add _cthread_exit_routine and
_cthread_init_routine. These are set by the Hurd cthreads library.
Add __getcwd, __mmap. If we don't add these, the weak definitions in
the dynamic linker will not be replaced by the corresponding shared
library routines once they are loaded.
1998-10-21 Mark Kettenis <kettenis@phys.uva.nl>
* sysdeps/mach/hurd/i386/init-first.c: Only define
__libc_enable_secure if PIC is not defined.
1998-10-25 Roland McGrath <roland@baalperazim.frob.com>
* argp/Versions: Add _argp_unlock_xxx. Lock-savvy functions call this
to recurse into argp.
1998-10-26 04:09:00 +08:00
|
|
|
|
|
|
|
# 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;
|
2002-02-19 08:22:30 +08:00
|
|
|
mach_msg; mach_msg_overwrite;
|
|
|
|
mach_msg_destroy;
|
1998-12-29 01:24:34 +08:00
|
|
|
mach_msg_send; mach_msg_receive;
|
1998-10-24 Mark Kettenis <kettenis@phys.uva.nl>
* mach/Versions: Add evc_wait, mach_error, mach_error_string,
mach_error_type, mach_msg_destroy, mig_deallocate_reply_port.
Remove __mach_host_self, __mach_reply_port, __mach_setup_thread,
__mach_port_allocate, __mach_port_allocate_name,
__mach_port_deallocate, __mach_port_insert_right, __mutex_init,
__mutex_trylock, __mutex_lock, __mutex_unlock, __swtch, __switch,
__task_create, __task_suspend, __task_set_special_port,
__task_terminate, __thread_depress_abort, __thread_switch,
__vm_allocate, __vm_deallocate, __vm_map. These functions are not
used outside libc.
* sysdeps/mach/hurd/Versions: New file.
[libc, GLIBC_2.0]: Add _cthread_exit_routine and
_cthread_init_routine. These are set by the Hurd cthreads library.
Add __getcwd, __mmap. If we don't add these, the weak definitions in
the dynamic linker will not be replaced by the corresponding shared
library routines once they are loaded.
1998-10-21 Mark Kettenis <kettenis@phys.uva.nl>
* sysdeps/mach/hurd/i386/init-first.c: Only define
__libc_enable_secure if PIC is not defined.
1998-10-25 Roland McGrath <roland@baalperazim.frob.com>
* argp/Versions: Add _argp_unlock_xxx. Lock-savvy functions call this
to recurse into argp.
1998-10-26 04:09:00 +08:00
|
|
|
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;
|
2018-08-01 06:10:03 +08:00
|
|
|
mach_setup_tls;
|
1998-10-24 Mark Kettenis <kettenis@phys.uva.nl>
* mach/Versions: Add evc_wait, mach_error, mach_error_string,
mach_error_type, mach_msg_destroy, mig_deallocate_reply_port.
Remove __mach_host_self, __mach_reply_port, __mach_setup_thread,
__mach_port_allocate, __mach_port_allocate_name,
__mach_port_deallocate, __mach_port_insert_right, __mutex_init,
__mutex_trylock, __mutex_lock, __mutex_unlock, __swtch, __switch,
__task_create, __task_suspend, __task_set_special_port,
__task_terminate, __thread_depress_abort, __thread_switch,
__vm_allocate, __vm_deallocate, __vm_map. These functions are not
used outside libc.
* sysdeps/mach/hurd/Versions: New file.
[libc, GLIBC_2.0]: Add _cthread_exit_routine and
_cthread_init_routine. These are set by the Hurd cthreads library.
Add __getcwd, __mmap. If we don't add these, the weak definitions in
the dynamic linker will not be replaced by the corresponding shared
library routines once they are loaded.
1998-10-21 Mark Kettenis <kettenis@phys.uva.nl>
* sysdeps/mach/hurd/i386/init-first.c: Only define
__libc_enable_secure if PIC is not defined.
1998-10-25 Roland McGrath <roland@baalperazim.frob.com>
* argp/Versions: Add _argp_unlock_xxx. Lock-savvy functions call this
to recurse into argp.
1998-10-26 04:09:00 +08:00
|
|
|
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;
|
1998-10-24 09:36:01 +08:00
|
|
|
}
|
2001-08-25 05:47:43 +08:00
|
|
|
GLIBC_2.2.5 {
|
|
|
|
# internal functions used by other libraries (e.g. librt)
|
|
|
|
__mach_msg_destroy; __mach_reply_port;
|
2001-12-23 04:20:57 +08:00
|
|
|
|
|
|
|
# This was always there, but not exported as it should have been.
|
|
|
|
mig_strncpy;
|
2001-08-25 05:47:43 +08:00
|
|
|
}
|
2018-01-29 06:30:15 +08:00
|
|
|
GLIBC_2.21 {
|
2015-09-22 08:02:20 +08:00
|
|
|
__mach_host_self_;
|
|
|
|
}
|
2000-03-30 Roland McGrath <roland@baalperazim.frob.com>
* mach/Versions (libc: GLIBC_2.0)
[SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
__vm_allocate on this.
[SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
mutex- and spinlock-related symbols on this.
[!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
New version set. Lock-related symbols go here instead in this case.
* sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
_cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
cthread_getspecific, cthread_setspecific, __libc_getspecific.
* hurd/Versions
[SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
Put them here instead.
[!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
New version set. Those cthreads symbols go here instead in this case.
* Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
2000-03-31 03:26:35 +08:00
|
|
|
|
|
|
|
HURD_CTHREADS_0.3 {
|
|
|
|
__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;
|
|
|
|
}
|
1998-10-24 09:36:01 +08:00
|
|
|
}
|