Next: Output Section LMA, Up: Output Section Attributes
Each output section may have a type. The type is a keyword in parentheses. The following types are defined:
NOLOAD
DSECT
COPY
INFO
OVERLAY
The linker normally sets the attributes of an output section based on the input sections which map into it. You can override this by using the section type. For example, in the script sample below, the `ROM' section is addressed at memory location `0' and does not need to be loaded when the program is run.
SECTIONS { ROM 0 (NOLOAD) : { ... } ... }