need for __gccmain in arm?

sivashankar nagappan sivashankar.naga@wipro.com
Mon Dec 17 18:33:00 GMT 2001


Hi,
             In machine description macros the macro
NAME_MAIN and SYMBOL_MAIN have been
defined for arm in file unknown-elf.h gcc-2.95.3.
It is defined and given a name as __gccmain. When
compiling for arm-elf this function is getting called
after function prologue in the "main" function. Could
anyone tell me the cause of calling / not calling this
function.
-regards
    N.Siva

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: InterScan_Disclaimer.txt
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20011217/72237044/attachment.txt>


More information about the Gcc mailing list