Linker lk63
Development Tools
Outline
Links the relocatable objects created by the assembler by fixing
the memory locations, and creates executable absolute object
codes. The linker also provides a branch optimization function that
automatically inserts, deletes or corrects extension codes for
branch instructions.
Flowchart
Start-up Command Usage
Usage: lk63 [options] <file names>
Options: -d Disable all branch optimization
-di Disable insertion of branch extension
-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)
Error Messages
Branch destination too far from <address>
The branch destination address is out of range.
CALZ for non zero page at <address>
The specified address is out of the range
(0x0000–0x00ff).
Cannot create absolute object file <FILE NAME> The absolute object file cannot be created.
Cannot open <file kind> file <FILE NAME>
The file cannot be opened.
Cannot read <file kind> file <FILE NAME>
The file cannot be read.
Cannot relocate <section kind> section of
The relocatable section cannot be allocated.
<FILE NAME>
Cannot write <file kind> file <FILE NAME>
Data cannot be written to the file.
Illegal address range <address> for a code at The address specified by TST/SET/CLR is out of the
<address>
range (0x0000–0x003f or 0xffC0–0xffff).
Illegal file name <FILE NAME>
The file name is incorrect.
Illegal file name <FILE NAME> specified with
The file name specified with the option is incorrect.
option <option>
Illegal ICE parameter at line <line number> of The ICE parameter file contains an illegal parameter
<FILE NAME>
setting.
Illegal object <FILE NAME>
The input file is not an object file in IEEE-695 format.
Illegal option <option>
An illegal option is specified.
No address specified with option <option>
Address is not specified with the option.
No code to locate
There is no valid code for mapping.
No ICE parameter file specified
ICE parameter file is not specified.
No name and address specified with option
Name and address are not specified with the option.
<option>
No object file specified
Object files to be linked are not specified.
Out of memory
Cannot secure memory space.
<section kind> section <address>-<address>
The address range of the section overlaps with
overlaps with <section kind> section
another section's address range.
<address>-<address>
<section kind> section <address>-<address>
The address range of the section overlaps with
overlaps with the unavailable memory
the unavailable memory.
Unresolved external <label> in <FILE NAME> Reference was made to an undefined symbol.
Unusable instruction code <instruction code>
The object contains an instruction invalid for the model.
in <FILE NAME>
Warning Messages
Cannot create <file kind file <FILE NAME>
The file cannot be created.
Cannot open <file kind> file <FILE NAME>
The file cannot be opened.
No debug information in <FILE NAME>
Debugging information is not included in the file.
No symbols found
Symbols cannot be found.
Second definition of label <label> in
The label has already been defined.
<FILE NAME>
Second ICE parameter file <FILE NAME>
Two or more ICE parameter files are specified.
ignored
Linker
lk63
file.o
Relocatable
object file(s)
Linker
command file
file.sym
file.xrf
file.cm
ICE
parameter file
file.par
file.abs
Absolute
object file
Cross
reference file
file.als
Absolute
list file
file.map
Link
map file
Symbol
file
Error file
lk63.err
to Debugger
from Assembler
Summary of Contents for S5U1C63000A
Page 4: ......
Page 14: ......
Page 304: ......
Page 305: ...S1C63 Family Assembler Package Quick Reference ...