VMS Help
LINK, COLLECT
*Conan The Librarian
|
Directs the linker to place the specified program section (or
program sections) into the specified cluster.
Format
COLLECT=cluster-name[/ATTRIBUTES=(RESIDENT,INITIALIZATION_CODE)],psect-name[,...]
cluster-name
Name of the cluster.
psect-name
Name of the program sections (psects) you want placed in the
cluster.
2.1 - /ATTRIBUTES
For I64 and Alpha linking, directs the linker to mark the cluster
'cluster-name' with the indicated qualifier keyword value.
Attributes set by this qualifier are only evaluated by the
loader. This qualifier is used to build OpenVMS drivers. See
Writing OpenVMS Alpha Device Drivers in C for guidelines for
using this qualifier.
Qualifier Values
RESIDENT
Marks the cluster 'cluster-name' as RESIDENT so that the
segment (I64) or image section (Alpha) created from that
cluster has the RESIDENT flag set. This will cause the loader
to map the segment or image section into non-paged memory.
INITIALIZATION_CODE
Marks the cluster 'cluster-name' as INITIALIZATION_CODE so
that the segment (I64) or image section (Alpha) created from
that cluster has the INITALCOD flag set. The initialization
code will be executed by the loader. This keyword is
specifically intended for use with program sections from
modules SYS$DOINIT and SYS$DRIVER_INIT in STARLET.OLB.