This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
> From: Ulrich Drepper <drepper@cygnus.com> > Date: 24 Jul 1999 17:28:29 -0700 > But I want to overhaul the init handling anyhow. There is no reason > to do that much in assembly. My suggestion would be to do it in _dl_start. Pass all init functions argc, argv, and envp. This is what dlopen does anyway, so there is no point trying to do anything tricky in the startup code, because it won't work properly when the library is dlopen()ed (and we don't in fact do anything tricky now, anyway). Then you can eliminate init_first.h, which requires assembler on most targets for no particular reason; ld.so has already worked out where argv etc. are before init-first.h is run. -- Geoffrey Keating <geoffk@cygnus.com>
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |