This is the mail archive of the
glibc-cvs@sourceware.cygnus.com
mailing list for the glibc project.
libc/ lf/Versions ysdeps/i386/dl-machine.h ysd ...
- To: glibc-cvs at sourceware dot cygnus dot com
- Subject: libc/ lf/Versions ysdeps/i386/dl-machine.h ysd ...
- From: roland at sourceware dot cygnus dot com
- Date: 2 Apr 2000 22:01:05 -0000
CVSROOT: /cvs/glibc
Module name: libc
Changes by: roland@sourceware.cygnus.com 00/04/02 15:01:05
Modified files:
elf : Versions
sysdeps/i386 : dl-machine.h
sysdeps/mach/hurd/i386: init-first.c
sysdeps/mach/hurd: dl-sysdep.c
Added files:
sysdeps/mach/hurd/i386: dl-machine.h
Log message:
2000-04-02 Roland McGrath <roland@baalperazim.frob.com>
* 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.