« Building toolchain | Main | 一个真的很赞的cooking主页 »

December 06, 2004

C startup and exit codes

Read csu/elf-init.c, sysdeps/i386/elf/start.S, && sysdeps/generic/libc-start.c of glibc.
You'll know more!!
Also some important cleanup codes are in
libio/genops.c and stdlib/exit.c

Also there're some nice references:
http://linuxassembly.org/articles/startup.html
On http://linuxassembly.org/resources.htm there's a collection of cool resources, including ABI specs, etc.

Posted by Roy at December 6, 2004 12:09 AM

Comments