s5u1c33000c Epson Electronics America, Inc., s5u1c33000c Datasheet - Page 242

no-image

s5u1c33000c

Manufacturer Part Number
s5u1c33000c
Description
Cmos 32-bit Single Chip Microcomputer S5u1c33000c Manual
Manufacturer
Epson Electronics America, Inc.
Datasheet
CHAPTER 12: LINKER
(Link processing in lk33 Ver. 3.0)
12.6.6 Linking Libraries
Libraries are linked after all other input object files are located.
Searching the library module
Location of library modules
226
Only when an unresolved external reference symbol exists in the input object, the lk33 searches library files
in the order that they are written in a command file. It then reads in and links only the first module found
that has the unresolved symbol. When an external reference is resolved, the lk33 stops searching for the
subsequent modules or library files. Consequently, even when a specified library file contains multiple
instances of the symbol to be searched, all but the first-found module are ignored. If the library does not
exist in the current directory, the directory specified by the -l command is searched.
External reference between library files can be resolved only in the currently processed library file or in the
library files to be searched next. External references defined in an already searched library file are not
resolved. Therefore, be careful with the order in which library files are specified.
The library modules which do not have any specific block defined are mapped to a default block.
To locate a specify module in a specific block, specify the file name in the form "library name: module
name" using the -XXXblock or -uXXXblock command. For these names, be sure to use the same names
that are indicated in the File column of the link map file. The defined block can be located at the address
specified by the -addr command.
Example: Command file
-v3
-codeblock OBJL {c:\cc33\lib\string.lib:strcpy.o}
-addr 0xca0000
test.o
string.lib
EPSON
(C COMPILER PACKAGE FOR S1C33 FAMILY) (Ver. 4)
S5U1C33000C MANUAL

Related parts for s5u1c33000c