Hi, Dmitry, I have attached the patched ld script template files. At this moment I use a dedicated ld script for my project (It have some very specific sections), and pass it to ld using --script option.
Files in the attachments contains only patches useful for different projects. By the way the above changes will cause the initial values for the ".noinit" section to be loaded into flash (the .noinit section now has the same behaviour as ".data" section, except that it is not loaded at the startup). So maybe we need something like ".noinitbss" section (which will be like the ".bss" one) ? Anyway please check the above files, since I did not use them now. All the best, Oleg.
elf32msp430_3.sc
Description: Binary data
elf32msp430.sc
Description: Binary data