Kenwood HP 9000 Personal Computer User Manual


 
Appendix A 303
Using Mapfiles
Defining Syntax for Mapfile Directives
Defining Syntax for Mapfile Directives
A mapfile can have zero or more mapfile directives. There are two types
of mapfile directives: segment declarations and section mapping
directives. The directives can span across lines and are terminated by a
semicolon.
The following syntax conventions are used to describe the directives:
[...]* means zero or more
[...]+ means one or more
[...] means optional
The section_names and segment_names are the same as a C identifier
except that a period (.) is treated as a letter.
A number can be hexadecimal, following the same syntax as the C
language.
The section, segment, file, and symbol names are case-sensitive.
A string of characters following # and ending at a new-line is
considered a comment.