On Thu, 9 Sep 1999, Lokesh Setia wrote:

: 
: 
: [please CC: to [EMAIL PROTECTED] as i'm not a member - thanks]
: 
: Hi,
: 
: I want to know how an executable loads up, what all is initialized before
: the control is passed onto main() function, and all this stuff. In
: particular:
: 
: 1. What's the role of crt0.o crtn.o etc. ??
: 2. How are the arguments and environment variables passed?
: 3. What all initializations/static variables are made by glibc, and how do
:    I control these?
: 
: I don't need an exact binary specification of these things, just the
: concept, with some detail.
: 
: Any pointers will be helpful (and please cc: a reply!).
: 

Some of them at :

        http://lightning.voshod.com/asm/startup.html

others in gcc/glibc sources.

: 
: 

                Rus

Reply via email to