Relocatable Libraries [ HP Link Editor/XL Reference Manual ] MPE/iX 5.0 Documentation
HP Link Editor/XL Reference Manual
Relocatable Libraries
Relocatable libraries on both MPE V and MPE XL systems let you
efficiently organize code units. They are similar in that they contain a
collection of relocatable code units that are used during linking to
resolve external references.
The commands used to manipulate relocatable libraries under MPE V and MPE
XL have the following similarities:
* The ADDRL command adds code units to a relocatable library.
* The BUILDRL command creates a relocatable library.
* The LISTRL command lists the contents of a relocatable library.
* The PURGERL command deletes code units from a relocatable library.
* The HIDERL and the MPE V HIDE commands hide procedures.
Although HP Link Editor/XL and MPE V Segmenter manage libraries in a
similar fashion, they differ in noticeable ways. The following list
summarizes the differences:
MPE V Segmenter HP Link Editor/XL
* You specify the size of the * You specify the size of the
relocatable library by the file size relocatable library by the LIMIT
parameter of the BUILDRL command. parameter of the BUILDRL command.
* You can selectively add RBMs * You can add only relocatable object
(procedures) from a USL file to a modules (compilation units) to a
relocatable library. relocatable library. Procedures in
the same compilation unit cannot be
added individually.
* You cannot copy RBMs from one * You can copy relocatable object
relocatable library to another and modules from one relocatable library
you cannot copy RBMs from a to another. You can also extract
relocatable library back to a USL relocatable object modules from a
file. relocatable library creating one or
more relocatable object files.
* You can specify only one relocatable * You can specify several relocatable
library in the PREP command. libraries in one LINK command.
* Procedures in a relocatable library * Relocatable object modules have no
produce a single code segment which size limitations.
has size limitations.
* You cannot partially-link a * You can partially-link a relocatable
relocatable library. library using the ADDRL command with
its RL and MERGE parameters.
MPE/iX 5.0 Documentation