beautypg.com

Linker symbols, Table 17 – Zilog ZUSBOPTS User Manual

Page 219

background image

UM017105-0511

Linker Command Files for C Programs

Zilog Developer Studio II – ZNEO™

User Manual

191

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. Table 17 shows the
list of symbols that might be defined in the linker command file, depending on the compi-
lation memory model selected by the user.

Crtld.lib

C run-time library for large model, with debug information

Fpl.lib

Floating-point library for large model, no debug information

Fpld.lib

Floating-point library for large model, with debug information

Crts.lib

C run-time library for small model, no debug information

Crtsd.lib

C run-time library for small model, with debug information

Fps.lib

Floating-point library for small model, no debug information

Fpsd.lib

Floating -point library for small model, with debug information

Chelps.lib

C helper routines for small model, no debug information

Chelpsd.lib

C helper routines for small model, with debug information

Chelpl.lib

C helper routines for large model, no debug information

Chelpld.lib

C helper routines for large model, with debug information

Table 17. Linker Symbols

Symbol Description

_low_neardata

Base of near_data segment after linking.

_len_neardata

Length of near_data segment after linking.

_low_near_romdata

Base of the rom copy of near_data segment after linking.

_low_fardata

Base of far_data segment after linking.

_len_fardata

Length of far_data segment after linking.

_low_far_romdata

Base of the rom copy of far_data segment after linking.

_low_nearbss

Base of near_bss segment after linking.

_len_nearbss

Length of near_bss segment after linking.

_low_farbss

Base of far_bss segment after linking.

_len_farbss

Length of far_bss segment after linking.

Table 16. Linker Referenced Files (Continued)

File Description

This manual is related to the following products: