This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Main in Lib
- From: Bharathi S <bharathi at lantana dot tenet dot res dot in>
- To: GNU GCC <gcc-help at gcc dot gnu dot org>
- Date: Tue, 22 Apr 2003 17:40:07 +0530 (IST)
- Subject: Re: Main in Lib
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. (_/\