Unresolved is fatal, Warn, Unresolved is fatal warn – Zilog EZ80F916 User Manual
Page 277

UM014423-0607
Using the Linker/Locator
ZiLOG Developer Studio II
eZ80Acclaim!
®
User Manual
257
if a noncontiguous segment is copied from one space to another using the
COPY
command.
The linker issues a warning if it is asked to
COPY
any noncontiguous segment.
If
SPLITTABLE
is not specified for a given segment, the linker allocates the entire seg-
ment contiguously.
The SPLITTABLE command takes precedence over the ORDER and SEQUENCE com-
mands.
By default, ZDS II segments are nonsplittable. When multiple segments are made splitta-
ble, the linker might re-order segments regardless of what is specified in the ORDER (or
SEQUENCE) command. In this case, you need to take one of the following actions:
•
modify the memory map of the system so there is only one discontinuity and only one
splittable segment in which case the ORDER command is followed
•
modify the project so a specific ordering of segments is not needed in which case
multiple segments can be marked splittable
Syntax
SPLITTABLE
segment_list
Example
SPLITTABLE DATA, TEXT
UNRESOLVED IS FATAL
The
UNRESOLVED IS FATAL
command causes the linker to treat “undefined external
symbol” warnings as fatal errors. The linker quits generating output files immediately if
the linker cannot resolve any undefined symbol. By default, the linker proceeds with gen-
erating output files if there are any undefined symbols.
Syntax
[-] < UNRESOLVED > < IS | = >
Examples
-unresolved=fatal
or
UNRESOLVED IS FATAL
WARN
The
WARN
command specifies that warning messages are to be generated. An optional
warning file can be specified to redirect messages. The default setting is to generate warn-
ing messages on the screen and in the map file.