Main in Lib

Bharathi S bharathi@lantana.tenet.res.in
Tue Apr 22 12:10:00 GMT 2003


On Mon, 21 Apr 2003, John Love-Jensen wrote:

> libfoo.so is a shared object library.  
> libfoo.a is an archive library.  

What is need to create this two type of lib formats ?

How to differentiate DSO and SSO ? 
( .so = DSO and .a = SSO  Correct ? )

Objdump libfoo.so gave a start address. If it is ordinary program,
the start address refer to main function. In lib start add refer 
to what ?

what is the use of _fini ,  _init , fini_dummy etc ?

Thanks,
-- 
Bharathi S, IndLinuX Team,  (__)
DON Lab,      TeNeT Group,  oo )
IIT-Madras, Chennai-INDIA.  (_/\



More information about the Gcc-help mailing list