Abstract:
An executable program is prepared from a plurality of object code modules, each module including relocation instructions having an instruction format which includes a classification field for holding a relocation class indicator and a set of relocation fields for holding relocation data. The meaning of the relocation data depends on the class indicator. The instruction format is common to first and second classes of relocations. The executable program is prepared by reading the relocation instructions and determining from the relocation class indicator the class of the relocation instruction and executing the relocation operations on section data in dependence on the class of relocation instruction indicated by the relocation class indicator. A linker is provided for preparing the executable program from object code modules containing the relocation instructions. A computer program may be provided to control the linker.
Abstract:
A method of forming an executable program from a plurality of object code modules, each object code module comprising a plurality of relocation instructions including at least one information output relocation having a field indicating information to be output, the method comprising reading a relocation instruction from one of said object code modules, and when said read relocation instruction is an information output relocation, displaying the information indicated in said field in a human readable form.
Abstract:
An executable program is prepared from a plurality of object code modules, each module including relocation instructions having an instruction format which includes a classification field for holding a relocation class indicator and a set of relocation fields for holding relocation data. The meaning of the relocation data depends on the class indicator. The instruction format is common to first and second classes of relocations. The executable program is prepared by reading the relocation instructions and determining from the relocation class indicator the class of the relocation instruction and executing the relocation operations on section data in dependence on the class of relocation instruction indicated by the relocation class indicator. A linker is provided for preparing the executable program from object code modules containing the relocation instructions. A computer program may be provided to control the linker.