CHAPTER 5: LINKER

5.7 Symbol File

The symbol file serves to refer to the symbols defined in all the modules and their address information. It is delivered if the -s start-up option is specified.

The file format is a text file, and its file name is "<File name>.sym". (<File name> is the same as that of the output object file.)

Sample symbol file

Linker 63 ver x.xx Symbol file TEST.SYM Mon Jan 15 12:40:41 2001

CODE section labels of TEST.ABS

Address

Type

File

Symbol

0x0110

Local

"MAIN.O" .... BOOT

0x0007

Global

"SUB.O" ..... INC_RAM_BLK1

0x0000

Global

"SUB.O" ..... INIT_RAM_BLK1

0x0116

Local

"MAIN.O" .... LOOP

0x0100

Local

"MAIN.O" .... NMI

BSS section labels of TEST.ABS

Address

Type

File

Symbol

0x0000

Global

"MAIN.O" .... RAM_BLK0

0x0004

Global

"MAIN.O" .... RAM_BLK1

Contents of symbol file

Symbol Indicates all the defined symbols in alphabetical order.

Address Indicates the absolute address defined for the symbol.

Type Indicates the scope of the symbol: Global or Local.

File Indicates the object file in which the symbol has been defined.

S5U1C63000A MANUAL

EPSON

97

(S1C63 FAMILY ASSEMBLER PACKAGE)