Roland McGrath 5879ee9fa1 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
(init1): Don't initialize __environ here, since init already does it.
	(first_init): New function, broken out of _init.
	(_hurd_stack_setup): Use it.
	[SHARED] (_dl_init_first): New function, renamed from old _init.
	(init1) [SHARED]: Don't call posixland_init here.
	(posixland_init): Take ENVP arg, so signature is usual for initializer.
	[SHARED] (_init): Define as alias for posixland_init.
	[! SHARED] (__libc_first_init): Define as alias for posixland_init.
	* sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
	RTLD_START_SPECIAL_INIT before calling initializers.
	(RTLD_START_SPECIAL_INIT): Define to empty if undefined.
	* sysdeps/mach/hurd/i386/dl-machine.h: New file.
	* sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
	* elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
2000-04-02 22:01:23 +00:00
..
1998-09-23 18:52:55 +00:00
1997-06-23 21:55:26 +00:00
1998-09-23 18:52:55 +00:00
1998-09-23 18:52:55 +00:00
1997-12-28 16:01:53 +00:00
1997-05-26 23:01:17 +00:00
1996-11-06 04:24:40 +00:00
1997-05-26 23:01:17 +00:00
1997-01-20 02:49:49 +00:00
1997-10-15 05:34:02 +00:00
1997-10-15 05:34:02 +00:00
1998-09-23 18:52:55 +00:00
1997-02-15 04:31:36 +00:00
1997-06-23 21:55:26 +00:00
1995-02-18 01:27:10 +00:00
1998-05-29 10:21:16 +00:00
1996-12-20 01:39:50 +00:00
1999-08-18 03:42:39 +00:00