SPRUI03E June 2015 – January 2023
Initialized sections contain executable code or initialized data. The contents of these sections are stored in the object file and placed in TMS320C6000 memory when the program is loaded. Each initialized section is independently relocatable and may reference symbols that are defined in other sections. The linker automatically resolves these references. The following directives tell the assembler to place code or data into a section. The syntaxes for these directives are:
.text | |
.data | |
.sect "section name" |
The .sect directive can also be used to create initialized subsections. See Section 3.5.6, for more information on creating subsections.