4 messages, Cross reference file – Epson S5U1C63000A User Manual

Page 108

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
Created absolute list file
Created map file
Created symbol file
Created cross reference file
Created error log file

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]
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 Specify output file name
-s Output symbol file (.SYM)
-x Output cross reference file (.XRF)
-code

Specify CODE start address
-data
Specify DATA start address
-bss
Specify BSS start address
-rcode =
Specify CODE start address of the file
-rdata =
Specify DATA start address of the file
-rbss =
Specify BSS start address of the file
-defsym =
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".