Hi
I'm having an issue with the Cortex-M3 ELF-linker, the one supplied with the 5.1.0.06 version of CCS.
My goal is to skip zero:ing of uninitialized sections, i.e. zero:ing of global buffers in memory. If I use linker flag --zero_init=off, I see that the linker removes the zero_init blocks present in .cinit, and my program starts up much faster once loaded, so far so good.
Unfortunately, --zero_init seems to have no effect on the ELF-binary itself . The program headers in the output ELF-file is identical with --zero_init=off and --zero_init=on, so my loader still zeros uninitialized data.
Is this a bug in the linker?, if not, is there another why to skip loading uninitialized sections?
BR
Niklas