Predefined Sections

Compiler-defined sections describes the sections that the compiler creates.

Note: The Compiler-defined section names are case sensitive. For example, using .binary instead of .BINARY will not give expected results.
Table 1. Compiler-defined sections
Name Description
.bss uninitialized global data
.BINARY Binary files.
.ctors C++ constructors and Altivec vector constructors
.dtors C++ destructors
.data initialized global data
extab C++ exception tables
extabindex C++ exception tables
.init initialization executable code from the runtime library
.init_vle Initialization executable code for VLE compilers
.PPC.EMB.sdata0 Initialized data with addressing relative to address 0
.PPC.EMB.sbss0 Uninitialized data with addressing relative to address 0
.rodata literal values and initialization values in the application's source code
.sdata initialized small global data
.sdata2 initialized global small data defined with the const keyword
.sbss uninitialized global small data
.sbss2 uninitialized global constant small data defined with the const keyword
.text application code
.text_vle application code for VLE compilers
Related information
Additional Small Data Sections
Linker Map File
Deadstripping
CodeWarrior Linker Command File (LCF)
Creating an LCF from Scratch
Relocating Code in ROM
Relocating Code and Data in Internal RAM
Relocating Code and Data in External MRAM
Unique LCF Examples
Linker Command File Commands