Specifications
9
Linking a Device Driver
Use the following LINK command line as the model for the command line to link
your OpenVMS AXP device driver. Brief descriptions of each qualifier used in
this command follow. See the OpenVMS Linker Utility Manual for more detailed
information.
$ LINK/ALPHA/NATIVE_ONLY/BPAGE=14-
/SECTION_BINDING/NOTRACEBACK -
/NODEMAND_ZERO/SHAREABLE=xxDRIVER -
/SYSEXE=SELECTIVE/NOSYSSHR/DSF=xxDRIVER -
/MAP=xxDRIVER /FULL /CROSS_REFERENCE -
xxDRIVER_LNK/OPTION
/ALPHA
Directs the linker to create an Alpha image. This is the default on Alpha
systems.
/NATIVE_ONLY
Indicates that there will be no calls to translated shareable images from this
image. This is the default qualifier.
/BPAGE=14
Specifies the page size the linker should use when it creates the image sections
that make up the image. The value 14 is usually specified for executive images
and indicates that the linker should lay out image sections on 16KB boundaries.
The driver-loading procedure ignores the image section boundaries defined by the
linker if the image is being loaded as a sliced executive image.
/SECTION_BINDING
Directs the linker to activate section binding for both code and data image
sections in the driver. Upon successful binding of code sections and data sections,
the linker sets bits EIHD$V_BIND_CODE and EIHD$V_BIND_DATA in the
image’s header. If either of these bits is not set, the driver-loading procedure
does not load the driver image as a sliced executive image, but rather, performs a
normal load of the image.
See the OpenVMS Linker Utility Manual for more detailed information.
/NOTRACEBACK
Directs the linker to omit traceback information from the image.
/NODEMAND_ZERO
Directs the linker to inhibit generation of demand-zero sections in a driver
executive image.
/SHAREABLE=xxDRIVER
Directs the linker to create a shareable image named xxDRIVER.EXE.
9–1










