This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [PATCH] Add _dl_init_first to elf/Versions
- From: Roland McGrath <roland at frob dot com>
- To: Ulrich Drepper <drepper at redhat dot com>
- Cc: Jeroen Dekkers <jeroen at dekkers dot cx>, libc-alpha at sources dot redhat dot com
- Date: Sun, 7 Apr 2002 18:09:40 -0400 (EDT)
- Subject: Re: [PATCH] Add _dl_init_first to elf/Versions
The reason _dl_init_first is special is that our version for cthreads has
to be able to switch stacks and move the arguments from the old stack.
Normal initializers are called from inside a few stack frames that would
make that all screw up. The need for this will go away when we get rid of
cthreads and use the thread register so that the main thread can have its
original stack.