Section Control Directives
These directives identify the different sections of an assembly file:
text
Specifies an executable code section; must be in front of the actual code in a file.
data
Specifies an initialized read-write data section.
rodata
Specifies an initialized read-only data section.
bss
Specifies an uninitialized read-write data section.
sdata
Specifies a small data section as initialized and read-write.
sdata2
Specifies a small data section as initialized and read-only.
sbss
Specifies a small data section as uninitialized and read-write.
text_vle
Specifies a Variable length encoded section as read/execute.
debug
Specifies a debug section.
previous
Reverts to the previous section; toggles between the current section and the previous section.
offset
Starts a record definition, which extends to the start of the next section.
section
Defines a section of an ELF (Executable and Linkable Format) object file.