Advanced LDF Commands
PLIT{}
The linker resolves function calls and variable accesses (both direct and
indirect) across overlays. This task requires the linker to generate extra
code to transfer control to a user-defined routine (an overlay manager)
that handles the loading of overlays. Linker-generated code goes in a spe-
cial section of the executable file, which has the section name
( procedure linkage table) command in an
The
PLIT{}
assembly instructions that handle calls to functions in overlays. The
assembly instructions are specific to an overlay and are executed each time
a call to a function in that overlay is detected.
The
command provides a template from which the linker generates
PLIT{}
assembly code when a symbol resolves to a function in overlay memory.
The code typically handles a call to a function in overlay memory by
calling an overlay memory manager. Refer to
on page 5-8
for a detailed description of overlay and PLIT functionality.
A
command may appear in the global LDF scope, within
PLIT{}
a
PROCESSOR{}
example of using a PLIT, see
page
5-22.
When you write the
instance of the PLIT, with appropriate values for the parameters involved,
for each symbol defined in overlay code.
PLIT Syntax
Figure 5-9
shows the general syntax of the
how the linker handles a symbol (
5-34
command or within a
"Using PLIT{} and Overlay Manager" on
command in the LDF, the linker generates an
PLIT{}
VisualDSP++ 3.5 Linker and Utilities Manual
"Memory Overlay Support"
command. For an
SECTIONS{}
command and indicates
PLIT{}
) local to an overlay function.
symbol
.
.PLIT
file inserts
.LDF
for 16-Bit Processors
Need help?
Do you have a question about the VisualDSP++ 3.5 and is the answer not in the manual?
Questions and answers