Sort, Splittable, Sort splittable – Zilog ZUSBOPTS User Manual
Page 299: Syntax, Examples

UM017105-0511
Linker Commands
Zilog Developer Studio II – ZNEO™
User Manual
271
SORT
The
SORT
command sorts the external symbol listing in the map file by name or address
order. The default is to sort in ascending order by name.
Syntax
[-]SORT
[IS | =]DOWN>
NAME
indicates sorting by symbol name.
ADDRESS
indicates sorting by symbol address.
Examples
The following examples show how to sort the symbol listing by the address in ascending
order:
SORT ADDRESS ASCENDING
or
-SORT ADDRESS = UP
SPLITTABLE
The
SPLITTABLE
command allows (but does not force) the linker to split a segment into
noncontiguous pieces to fit into available memory slots. Splitting segments can be helpful
in reducing the overall memory requirements of the project. However, problems can arise
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 must perform one of 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 required, in which case
multiple segments can be marked splittable