version 1.43, 1997/02/01 14:59:30
|
version 1.44, 1997/03/04 17:49:49
|
Line 4444 cannot represent @code{ALLOCATE}d memory
|
Line 4444 cannot represent @code{ALLOCATE}d memory
|
them). And the contents of the stacks are not represented, either. |
them). And the contents of the stacks are not represented, either. |
|
|
@item |
@item |
The only kinds of relocation supported are: the addition of the same |
The only kinds of relocation supported are: adding the same offset to |
offset to all cells that represent data addresses; and the replacement of |
all cells that represent data addresses; and replacing special tokens |
special tokens with code addresses. |
with code addresses or with pieces of machine code. |
|
|
If any complex computations involving addresses are performed, the |
If any complex computations involving addresses are performed, the |
results cannot be represented in the image file. Several applications that |
results cannot be represented in the image file. Several applications that |
Line 4467 startup.@footnote{In my opinion, though,
|
Line 4467 startup.@footnote{In my opinion, though,
|
using a doubly-linked list (whatever implementation).} |
using a doubly-linked list (whatever implementation).} |
|
|
@item |
@item |
|
The code addresses of run-time routines like @code{docol:} cannot be |
|
represented in the image file (because their tokens would be replaced by |
|
machine code in direct threaded implementations). As a workaround, |
|
compute these addresses at run-time with @code{>code-address} from the |
|
executions tokens of selected words (see the definitions of |
|
@code{docol:} and friends in @file{kernel.fs}). |
|
|
|
@item |
On many architectures addresses are represented in machine code in some |
On many architectures addresses are represented in machine code in some |
shifted or mangled form. You cannot put @code{CODE} words that contain |
shifted or mangled form. You cannot put @code{CODE} words that contain |
absolute addresses in this form in a relocatable image file. Workarounds |
absolute addresses in this form in a relocatable image file. Workarounds |