beautypg.com

4 messages – Epson S5U1C62000A User Manual

Page 106

background image

94

EPSON

S5U1C62000A MANUAL

(S1C60/62 FAMILY ASSEMBLER PACKAGE)

CHAPTER 6: LINKER

6.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 62 Ver x.xx
Copyright (C) SEIKO EPSON CORP. 199x

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: lk62 [options]
Options: -d Disable all branch optimizations
-di Disable insertion of branch extension
-dr Disable removal of branch extension
-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
-bss
Specify BSS start address
-rcode =
Specify CODE start address of the file
-rbss =
Specify BSS start address of the file

When error/warning occurs

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

Example:

Error: Cannot open file TEST.CM
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 symbols found
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 6.12, "Error/Warning Messages".