Table of Contents        Previous topic       Next topic       

LINKER->Linker Scripts->Linker Script Language->Type Specification

The type of an output section is optional and is specified using one of:

(BSS), (DATA) or (TEXT)

If no type specification is present, then the output section will be typed in accordance with the input sections that it contains.

Sections of type BSS contain uninitialised data space which is typically initialised to zero, sections of type DATA contain initialising data which is typicially copied from ROM to RAM, sections of type TEXT contain code or constants.

The Crossware linker does not make any use of the type of an output section.