Linker symbols – Zilog EZ80F916 User Manual
Page 180

UM014423-0607
Using the ANSI C-Compiler
ZiLOG Developer Studio II
eZ80Acclaim!
®
User Manual
160
Linker Symbols
The default linker command file defines some system symbols, which are used by the C
startup file to initialize the stack pointer, clear the uninitialized variables to zero, set the
initialized variables to their initial value, set the heap base, and so on. The following table
shows the list of symbols that might be defined in the linker command file, depending on
the compilation memory model selected by the user. In this table, <CSx> denotes a partic-
ular chip select and can be any of the strings
CS1
,
CS2
,
CS3
, or
CS4
.
uart<CPU>simD.lib
CPU-specific library for UART devices to be run on the
simulator, with debug information; part of ZSL
crt.lib
C run-time library, no debug information
crtd.lib
C run-time library, with debug information
chelp.lib
Library of C-Compiler helper functions, no debug information
chelpD.lib
Library of C-Compiler helper functions, with debug information
fplib.lib
Real floating-point library, no debug information
fplibd.lib
Real floating-point library, with debug information
fpdumy.lib
Floating-point do-nothing stubs
crt190.lib
C run-time library specialized to eZ80190, no debug
information
crt190d.lib
C run-time library specialized to eZ80190, with debug
information
Table 6. Linker Symbols
Symbol Description
__low_data
Base of DATA segment after linking
__len_data
Length of DATA segment after linking
__low_romdata
Base of the ROM copy of DATA segment after linking
__low_bss
Base of BSS segment after linking
__len_bss
Length of BSS segment after linking
__low_code
Base of CODE segment after linking
__len_code
Length of CODE segment after linking
__low_romcode
Base address of the ROM copy of CODE segment
Table 5. Linker Referenced Files (Continued)
File Description