This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
> Guys: > > > I noticed the other day that gcc-3.2.3 for arm doesn't call __gccmain > or __main inside of main() anymore. I don't know when this change > went into affect, but I think I recall seeing a 3.0 doing the call as > expected. > > Anyone else see this? Why the change? > > I used to hook __main to handle initdata in ROM'ed applications. > Guess I'll have to start providing my own _start functions instead... > __[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. R. ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |