User`s guide

LINK
The default file types are as follows.
File Type Description
SAV, REL (/FOREGROUND), LDA (/LDA) Load Module
MAP Map Output
OBJ Object Module
STB Symbol Table File
Separate multiple file specifications with commas. The linker creates an
executable file with the same name as the first file in the input list (unless
you use /EXECUTE to change it).
Description
The linker can:
Process a program’s object modules and its subroutines to relocate each module
and assign absolute addresses.
RT–11 lets you separately assemble a main program and each of its subroutines
without assigning an absolute load address at assembly time.
Link the modules by correlating global symbols that are defined in one module
and referenced in another.
Create the initial control block for the linked program.
Create an overlay structure (if you specify the /PROMPT option) and include the
necessary overlay commands.
Allow multiple passes for linking SAV image programs with separate Instruction
and Data Space.
Search first any libraries you specify and then the default system subroutine
library SYSLIB.OBJ to locate unresolved global symbols.
Produce a load map (if you specify /MAP) that shows the layout of the executable
module.
Produce a symbol-table file (if you specify /SYMBOLTABLE) that contains the
definition of all the global symbols in the image.
Prompting Sequence for LINK Options
The following table summarizes the LINK prompting sequence for commands that
combine two or more LINK options. If you issue the /IDSPACE option, you can get
the double prompts for the indicated options.
164 RT–11 Command Descriptions