[PATCH] Add _dl_init_first to elf/Versions

Roland McGrath roland@frob.com
Sun Apr 7 15:34:00 GMT 2002


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.



More information about the Libc-alpha mailing list