Altera_Forum
Honored Contributor
20 years agoGlobal pointer _gp
Dear Forum
I'm trying to allocate some data in a new section to avoid having them zeroed during a boot. I use __attribute__ ((section (".nv_sram"))) after the declaration of the variable and then add the following lines in the linker script to have the section output in the binary too. .nv_sram : { . = ALIGN(32 / 8)%3