Chapter
12
/
Link
Technical Reference
Relocation
Fixups
The linker performs relocation fixups (or resolves)
on
four types
of references
in
object modules: Short, Near self-relative, Near
segment-relative, and Long.
•
Short References: Short references
are
all self-relative.
The implication is
that
the
frame address of
the
target
and
source frames
are
the
same. The linker generates
the
fixup error message:
F1XUP
off5et
exceed5
fleld
wldth
under
either
of
the
following conditions:
I i
w
I :
! '
I :
LJ
The
target
and
source
frame
addresses
are
different.
I i
The
target
is more
than
128 bytes before or after
~
the
source frame address.
254
•
The
resulting
value of
the
short reference
must
fit into
one signed byte.
Near Self-Relative References: When
near
self-relative
references
are
used,
the
frame address of
the
target
and
source frames
are
the
same. The linker generates
the
fixup error message under either of the following
conditions:
The
target
and
source
frame
addresses
are
different.
The
target
is more
than
32K before or after
the
source frame address.
The
resulting
value of
the
near
self-relative reference
must
fit into one signed word (16 bits).
, .
U
I )
i I
U
, 1
LJ
i )
I :
I
i
\.....-.J
, I
U
I I
---.J
I i
~