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

no-image

s5u1c33000c

Manufacturer Part Number
s5u1c33000c
Description
Cmos 32-bit Single Chip Microcomputer S5u1c33000c Manual
Manufacturer
Epson Electronics America, Inc.
Datasheet
12.7 Resolving Symbols
Procedure for resolving global symbols
(1) The lk33 adds global symbol information to the internal table sequentially in the order of the input object
(2) If two or more global symbols of the same name are defined, a warning is output. The lk33 uses the first
(3) Only when an unresolved external reference is found after searching all input object files, the lk33 searches
(4) If an unresolved external reference in the library module to be linked is defined in one of the input object
(5) If an undefined external reference still exists after all library files are searched, a warning is output, and the
Global symbols defined twice or more in the BSS section
S5U1C33000C MANUAL
(C COMPILER PACKAGE FOR S1C33 FAMILY) (Ver. 4)
The lk33 follows the procedure described below to resolve symbols:
files specified. If an undefined symbol is referenced, the lk33 searches the table and when the matching
symbol information is found, applies the content of that information. If no information is found in the table,
the symbol is kept pending until it is defined in a subsequent input file.
symbol information encountered when searched in order of input files as the valid symbol, and continues
processing. (This does not apply to the global symbols defined in the BSS section.)
library files in the order in which they are entered. When the desired symbol definition is found, the lk33
links that module. If a symbol of the same name is defined in a multiple library module, a warning is
generated, in which case the first encountered module is linked.
files or in the currently processed library file, this definition is applied. If it is not defined, the unresolved
external reference is kept pending until it is defined in a subsequent library file.
An external reference between library files can be resolved only in the currently processed file or in the
library files to be searched next. External references defined in an already searched library file are not
resolved.
lk33 does not relocate the instructions which reference the symbol. The bits in the instruction codes that
require modification become 0x0.
If two or more global symbols of the same name are defined by the .comm pseudo-instruction, the symbol
definition with the largest size is assumed to be the valid symbol. If there are two or more symbol
definitions with the largest size, the definition first encountered during the search in the order of input files
is assumed to be the valid symbol. The lk33 outputs a warning and continues processing. No warning is
output if the -w command is specified.
The -d command deletes the areas of the symbols that have been invalidated by the above processing. The
deleted areas in the BSS section are closed up before sections are relocated.
The -d command is valid only in the BSS section, and does not delete invalid symbol areas in any other
section.
EPSON
(Common explanation for all versions)
CHAPTER 12: LINKER
227

Related parts for s5u1c33000c