This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]