Output Section Type




Output Section Type - Untitled














Next: Output Section LMA,
Up: Output Section Attributes



3.6.8.1 Output Section Type

Each output section may have a type. The type is a keyword in
parentheses. The following types are defined:


NOLOADThe section should be marked as not loadable, so that it will not be
loaded into memory when the program is run.
DSECTCOPYINFOOVERLAYThese type names are supported for backward compatibility, and are
rarely used. They all have the same effect: the section should be
marked as not allocatable, so that no memory is allocated for the
section when the program is run.


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. The contents of the
ROM section will appear in the linker output file as usual.
SECTIONS {
ROM 0 (NOLOAD) : { ... }
...
}





Wyszukiwarka

Podobne podstrony:
Output Section Description
Output Section LMA
Output Section Data
Output Section Discarding
Output Section Attributes
Output Section Attributes
Output Section Fill
Output Section Phdr
Output Section Name
Output Section Region
Output Section Keywords
Output Section Address
Section Output
function ingres field type
outputformat
programowanie kluczyka Jaguar x type

więcej podobnych podstron