Epson S5U1C63000A Computer Accessories User Manual


 
CHAPTER 5: LINKER
96 EPSON S5U1C63000A MANUAL
(S1C63 FAMILY ASSEMBLER PACKAGE)
5.6 Link Map File
The link map file serves to refer to the mapping information for the modules of each section. It is output
if the -m option is specified.
The file format is a text file, and its file name is "<File name>.map". (<File name> is the same as that of
the output object file.)
Sample link map file
Linker 63 ver x.xx Link map file TEST.MAP Mon Jan 15 12:40:41 2001
CODE section map of TEST.ABS
Index Start End Size Opt Type File SecNbr
0: 0x0000 0x000d 0x000e +0 Rel SUB.S 1
1: 0x000e 0x00ff 0x00f2 --- --- ------------ ---
2: 0x0100 0x0102 0x0003 +1 Abs MAIN.S 1
3: 0x0103 0x010f 0x000d --- --- ------------ ---
4: 0x0110 0x0118 0x0009 +2 Abs MAIN.S 2
5: 0x0119 0x1fff 0x1ee7 --- --- ------------ ---
Total: 0x1a occupied, 0x1fe6 blank
BSS section map of TEST.ABS
Index Start End Size Type File SecNbr
0: 0x0000 0x0007 0x0008 Rel MAIN.S 3
1: 0x0008 0xf2bf ------ --- ------------ ---
2: 0xf800 0xf8ff ------ --- ------------ ---
3: 0xff00 0xffff ------ --- ------------ ---
Total: 0x8 occupied, 0xf4b8 blank
Contents of link map file
Index Indicates the index number of the section.
Start Indicates the start address of the section.
End Indicates the end address of the section.
Size Indicates the size of the section.
Opt Indicates the number of extension codes that are inserted or removed.
Type Indicates the section type: Rel = relocatable section and Abs = absolute section.
File Indicates the file names of the linked module.
SecNbr Indicates the section number.
Total Indicates the total map size and the unused area size.
"---" in the Size, Opt, Type, File and SecNbr columns indicate that no section is allocated.