summaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd/i386/init-first.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1998-10-25 20:09:00 +0000
committerRoland McGrath <roland@gnu.org>1998-10-25 20:09:00 +0000
commita825f8e844461f21cb891edbdd0e8a22370cd204 (patch)
tree6024756b7c2213bd2f1141e004f4c6029997f45a /sysdeps/mach/hurd/i386/init-first.c
parent07156af2a65c30eb0a5cd7b203a2eca98b2d3489 (diff)
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.
Diffstat (limited to 'sysdeps/mach/hurd/i386/init-first.c')
-rw-r--r--sysdeps/mach/hurd/i386/init-first.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/i386/init-first.c b/sysdeps/mach/hurd/i386/init-first.c
index bfc2ff5b57..6854a1b3dc 100644
--- a/sysdeps/mach/hurd/i386/init-first.c
+++ b/sysdeps/mach/hurd/i386/init-first.c
@@ -35,7 +35,9 @@ unsigned int __hurd_threadvar_max;
unsigned long int __hurd_threadvar_stack_offset;
unsigned long int __hurd_threadvar_stack_mask;
+#ifndef PIC
int __libc_enable_secure;
+#endif
int __libc_multiple_libcs = 1;
extern int __libc_argc;