This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

What controls which data goes in which default sections?

Hi Folks

In CCS projects there are CMD files which command the linker where to place sections within RAM and FLASH, but is there a file which controls what goes into the sections?

For non-default sections the user uses a #pragma DATA_SECTION directive to specify this, is there similar for the default "." sections or is this intrinsic to the C/C++  linker?

For example what tells the linker what to put in .ebss?