VMS Help
LINK, SYMBOL_VECTOR
*Conan The Librarian
|
I64 and Alpha systems. Declares universal symbols in shareable
images.
Format
SYMBOL_VECTOR=([alias/]name=entry-type[,...])
alias
Optionally specifies an alias name for the symbol you want to
declare universal. When specified, the alias name appears in the
global symbol table (GST) of the image and values associated with
the name specified in the symbol-name parameter appear in the
symbol vector of the image.
Note that you can specify alias names only for symbol vector
entries declared using the DATA or PROCEDURE keywords. For more
information about symbol vector entry types, see the following
table.
name
Specifies the name of the symbol or the name of a program section
in the shareable image that you want to declare universal.
entry-type
Specifies the type of the symbol vector entry. The following
table lists the types of symbol vector entries supported by the
linker along with the keyword you use to specify them:
Keyword Function
DATA Creates a symbol vector entry for data
(relocatable or constant). The linker creates an
entry for the symbol in the GST of the shareable
image.
PROCEDURE Creates a symbol vector entry for a procedure
and creates an entry for the symbol in the GST
of the shareable image.
PRIVATE_DATA Creates a symbol vector entry for data; however,
the linker does not create an entry for the data
in the GST of the shareable image. Thus, the
symbol is not available for other modules to
link against.
PRIVATE_ Creates a symbol vector entry for a procedure;
PROCEDURE however, the linker does not create an entry
for the procedure in the GST of the shareable
image. Thus, the symbol is not available for
other modules to link against.
PSECT Creates a symbol vector entry for a program
section and creates an entry for the program
section in the GST of the shareable image.
SPARE Use this keyword to create a placeholder.
SPARE allows you to preserve the order of the
symbol vector entries when you need to create an
upwardly compatible shareable image. The SPARE
keyword is used alone; it is not preceded by a
symbol name and equal sign.