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.

initializing .bss to zero

I'm using the C55x compiler, large memory model,  and --rom-model with the linker. I refer to the fact that statically allocated variables without explicit initialization, are not automatically initialized to zero. I think a few extra lines at the beginning of _auto_init in autoinit.asm would fix this by zeroing the .bss before data is copied from .cinit. I don't know C55x assembler.

Has someone else already done this, and are they willing to post the patch to autoinit.asm, preferably with a linker file with the definitions of any extra symbols that might be necessary?