beautypg.com

Searchpath, Sequence, Searchpath sequence – Zilog ZUSBOPTS User Manual

Page 298: Syntax, Example

background image

Linker Commands

UM017105-0511

270

Zilog Developer Studio II – ZNEO™
User Manual

If a

RANGE

is specified for a segment, this range must be within any

RANGE

specified by

that segment’s address space.

Refer to the

Linker Expressions

section on page 273 for the format to write an expression.

SEARCHPATH

The

SEARCHPATH

command establishes an additional search path to be specified in locat-

ing files. The search order is.

1. Current directory

2. Environment path

3. Search path

Syntax

SEARCHPATH ="

"

Example

SEARCHPATH="C:\ZDSII_ZNEO_4.11.0\lib\standard"

SEQUENCE

The

SEQUENCE

command forces the linker to allocate a group, address space, or segment

in the order specified.

Syntax

SEQUENCE

<name>[,<name_list>]

<name> is either a group, address space, or segment.

<name_list> is a comma-separated list of group, address space, or segment names.

Example

SEQUENCE NEAR_DATA,NEAR_TEXT,NEAR_BSS

If the sequenced segments do not all receive space allocation in the first pass through the
available address ranges, then the sequence of segments is not maintained.

Note:

Note:

This manual is related to the following products: