Missing call to __main and/or __gccmain?
Bill Gatliff
bgat@billgatliff.com
Fri May 23 17:28:00 GMT 2003
Richard:
> __[gcc]main was for calling C++ constructors. With ELF we can use the
> .init_vec section for the list of vectors to call and expect the crt0
> module to "do the right thing". So there's no need to call __main any
> more.
Ah, so the comment in sys/arm/crt0.S *is* accurate! :^)
So where is _init defined? A fair amount of grepping in gcc and
newlib hasn't uncovered it for me...
Regards,
b.g.
--
Bill Gatliff
Embedded Linux development and training services.
http://billgatliff.com
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list