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

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. 2.1 or earlier)
Allocate library module to the address appointed
Notes:
Location of library modules in the U section
204
Library modules can be allocated to the address appointed by command -code {}, -data {}, and -bss {}.
Assign "library name : module name" as a file name. This file name must be same as the name displayed in
the "File" column of the Link map file.
The following is a sample which allocates strcpy.o in string.lib from address 0xca0000.
Sample command file
Sample link map file
Sample command file (wrong)
No library file can be specified in the -ucode { }, -udata { }, and -ubss { } commands.
If you want to use a library file in a U section, restore the desired library module to the relocatable object
file before linking.
Address
00c00000
00ca0000
-l c:\cc33\lib
-code 0xc00000
-code 0xca0000 {c:\cc33\lib\string.lib}
test.o
string.lib
-l c:\cc33\lib
-code 0xc00000
-code 0xca0000 {c:\cc33\lib\string.lib:strcpy.o}
test.o
string.lib
Code Section mapping
If you have any trouble with this function, restore the library module to the relocatable object
file and then execute the link command.
The library file in itself can not be allocated to the address pointed. The following sample
presents this error:
Vaddress Size
--------
--------
00000010 test.o
0000000c c:\cc33\lib\string.lib:strcpy.o
File
EPSON
(C COMPILER PACKAGE FOR S1C33 FAMILY) (Ver. 4)
Library cannot be assigned directly.
ID
0
0
S5U1C33000C MANUAL
Attr
REL
REL

Related parts for s5u1c33000c