Kenwood HP 9000 Personal Computer User Manual


 
Appendix A 307
Using Mapfiles
Defining Mapfile Section Mapping Directives
Defining Mapfile Section Mapping
Directives
A section mapping directive specifies how the linker should map the
input section onto output segments. This directive tells the linker what
attributes of a section must be matched in order to map that section into
the named segment. The set of attribute values that a section must have
to map into a specific segment is called the entrance criteria.
segment_name : {section_attribute_value}* ;
The section attributes and their valid values are as follows:
At most one section_type can be specified in a mapping directive.
Section
Attribute
Value
section_name Any valid section name
section_type $PROGBITS, $NOBITS, $UNWIND, $NOTE, $REL,
$RELA
section_flags ?[[!]A][[!]W][[!]X][[!][S]][[!][T][[!][R]
Flag Value
A Allocatable (takes up virtual memory)
W Writable
X Executable
S Short data
T TLS (thread local storage)
R Static branch prediction