Method of controlling a data processing system
AssigneeFujitsu Siemens Computers GmbH
InventorChristian Weber
Life of this patent
Estimating the term…
Abstract
An object program is produced in a data processing system by linking a plurality of program modules. Internal program modules, which have been produced by means of a high-level language translator, and external program modules, are provided with names from mutually exclusive name classes. A matching routine of a first type is produced for each of the internal program modules, and a matching routine of a second type is produced for each of the program modules that are called by the internal program modules. The matching routines bridge different linking declarations.
Claims8
A method of controlling a data processing system for producing an object program by linking a plurality of program modules, which comprises:
- naming internal program modules produced by means of a high-level language translator and subject to an efficient declaration statement of linking declarations with names selected from an internal name class;
- naming external program modules subject to an original declaration statement of linking declarations with names selected from an external name class, whereby the name classes associated with the respective declaration statements are mutually exclusive;
- producing a matching routine of a first type for each of the internal program modules, naming the matching routine of the first type with a name from the external name class corresponding to the name of the associated internal program module and, before calling the associated internal program module, matching with the matching routine of the first type an original declaration statement of the calling external program module to the efficient declaration statement of the internal program module to be called;
- calling program modules to be called by the internal program modules with names from the internal name class;
- producing a matching routine of a second type for each of the program modules to be called by the internal program modules, naming the matching routine of the second type with a name from the internal name class corresponding to the name of the associated program module, and, before jumping to an external program module, matching the efficient declaration statement with the matching routine of the second type to the original declaration statement of the external program module to be called, whereby the matching routine of the second type is provided with a linking attribute preventing a linking thereof to an object program only when no internal program module exists with the same name;
- and
- linking the internal program modules, the external program modules, and the required matching routines of the first type and the second type to one another to form an object program.
Dependencies are inferred from the claim text.