TGucl
New Contributor
7 years agoCompiler/linker option to skip localisation of .bss section
Hello
I`m using Quartus Lite 17.1 .with nios-elf-gcc version 5.30
We have some static variables which goes to .bss section data segment. When we wanted to increase the size of these static variables we started to get watch dog resets because initialisation of .bss segment started to took longer and there is no piece of code at this level to pad the watch dog.
What I wanted to know is if there is way to tell the compiler/linker skip .bss initalisation ?
Closest I could get is at
https://gcc.gnu.org/onlinedocs/gcc/Nios-II-Options.html
which mentions use of -G num but not exactly what I `m looking for.
Thanks