If --zero_init=off and .data section is placed as input section into output
section with NOLOAD flag then linker does not generate .cinit tables.
.app_user_ram: (NOLOAD)
{
{
....
*(.bss)
*(.data)
....
} > APP_RAM (HIGH)
*(.data)
....
} > APP_RAM (HIGH)
Removing NOLAD from .app_user_ram creates partial .cinit records where other customer
initialized sections (#pragma DATA_SECTION()) in different output sections are not associated with initialization records.
With --zero_int=on no problems are observed.
Can someone help or explain this behavior?
Thanks,
Eugene