This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

init.asm zeo initialization of bss section



Hi,

I use StarterWare and therefore the init.asm file. In this file the .bss section gets initialized to "0" (Clear_Bss_Section). As I use eabi (ELF) I think this is already done in __TI_auto_init.
Is it save to omit Clear_Bss_Section? Is this included in init.asm if someone uses COFF?

Thanks and best regards,
Patrick

  • I can confirm that, under EABI, the .bss section is cleared to all 0 in the boot routine that is in the RTS library supplied with the compiler.  I am not familiar with init.asm from StarterWare, or how it is intended to be combined (or not) with the compiler supplied boot routine.

    Thanks and regards,

    -George