
UM017105-0511 Linker Commands
Zilog Developer Studio II – ZNEO™
User Manual
267
Example
LOCATE ROM AT $1000
Refer to the Linker Expressions section on page 273 for the format to write an expression.
MAP
The MAP command causes the linker to create a link map file. The link map file contains
the location of address spaces, segments, and symbols. The default is to create a link map
file.
NOMAP suppresses the generation of a link map file.
For the ZNEO link map file, the C prefix indicates EROM, the T prefix indicates ROM,
the E prefix indicates ERAM, and the R prefix indicates RAM.
Syntax
-MAP = [<mapfile>]
mapfile has the same name as the executable file with the
.map extension unless an
optional <mapfile> is specified.
Example
MAP = myfile.map
Link Map File
A sample map file is shown in the Sample Linker Map File – see page 280.
MAXHEXLEN
The MAXHEXLEN command causes the linker to fix the maximum data record size for the
Intel hex output. The default is 64 bytes.
Syntax
[-]MAXHEXLEN < IS | = > < 16 | 32 | 64 | 128 | 255 >
Examples
-maxhexlen=16
or
MAXHEXLEN IS 16
Comentários a estes Manuais