4 messages, Cross reference file – Epson S5U1C63000A User Manual

Page 108

Advertising
background image

CHAPTER 5: LINKER

94

EPSON

S5U1C63000A MANUAL

(S1C63 FAMILY ASSEMBLER PACKAGE)

5.4 Messages

The linker delivers all its messages to the Standard Output (stdout).

Start-up message

The linker outputs only the following message when it starts up.

Linker 63 Ver x.xx
Copyright (C) SEIKO EPSON CORP. 1998-2001

End message

The linker outputs the following messages to indicate which files has been created when it ends
normally.

Created absolute object file <FILENAME.ABS>
Created absolute list file <FILENAME.ALS>
Created map file <FILENAME.MAP>
Created symbol file <FILENAME.SYM>
Created cross reference file <FILENAME.XRF>
Created error log file <FILENAME.ERR>

Link 0 error(s) 0 warning(s)

Usage output

If no file name was specified or an option was not specified correctly, the linker ends after delivering
the following message concerning the usage:

Usage: lk63 [options] <file names>
Options: -d Disable full branch optimization
-dr Disable removal branch optimization
-e Output error log file (.ERR)
-g Add source debug information
-l Output absolute list file (.ALS)
-m Output map file (.MAP)
-o <file name> Specify output file name
-s Output symbol file (.SYM)
-x Output cross reference file (.XRF)
-code <address> Specify CODE start address
-data <address> Specify DATA start address
-bss <address> Specify BSS start address
-rcode <file name>=<address> Specify CODE start address of the file
-rdata <file name>=<address> Specify DATA start address of the file
-rbss <file name>=<address> Specify BSS start address of the file
-defsym <symbol>=<address> Define symbol address
File names: Relocatable object file (.O)
Command parameter file (.CM)
ICE parameter file (.PAR)

When error/warning occurs

If an error takes place, an error message will appear before the end message shows up.

Example:

Error: Cannot create absolute list file TEST.ABS
Link 1 error(s) 0 warning(s)

In the case of an error, the linker ends without creating an output file.

If a warning is issued, a warning message will appear before the end message shows up.

Example:

Warning: No debug information in TEST.O
Link 0 error(s) 1 warning(s)

In the case of a warning, the linker ends after creating an output file, but the result cannot be guaran-
teed.

For details on errors and warnings, refer to Section 5.12, "Error/Warning Messages".

Advertising