JPH01129326A - Program linkage system - Google Patents

Program linkage system

Info

Publication number
JPH01129326A
JPH01129326A JP62287167A JP28716787A JPH01129326A JP H01129326 A JPH01129326 A JP H01129326A JP 62287167 A JP62287167 A JP 62287167A JP 28716787 A JP28716787 A JP 28716787A JP H01129326 A JPH01129326 A JP H01129326A
Authority
JP
Japan
Prior art keywords
program
module
external
data file
management data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP62287167A
Other languages
Japanese (ja)
Inventor
Kaoru Umezawa
梅沢 薫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP62287167A priority Critical patent/JPH01129326A/en
Publication of JPH01129326A publication Critical patent/JPH01129326A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To only execute of the replacement of the subject program of a changing part even in case of a still linking system and to obtain a high speed by providing a control data file, a control data file maintaining means, a changing influence resolving means and a module part renewing means. CONSTITUTION:The title system includes a control data file 1, a control data file maintaining means 2, a control means 3, a changing influence resolving means 4, a module part renewing means 5, a module renewing means 6, an address resolving means 7, a program input means 8, an external input display device 9, a module library 10 and a program library 11. Thus, even in case of the still linking system, since the replacement of only the subject program of the changing part can be executed, linking edition can be achieved with the replacement of the object of the subject program. Then, the high speed can be obtained.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、コンパイラが独立して翻訳処理を行なって生
成したプログラムオブジェクトに含まれる外部定義識別
子に対しコンピュータ実行上の論理アドレスを割当て、
プログラムオブジェクトに合奏れる外部参照識別子に対
し対応外部定義識別子の論理アドレスで解決することで
コンピュータで実行可能なモジュールを連結編集するプ
ログラム連結方式に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention allocates a logical address for computer execution to an externally defined identifier included in a program object generated by a compiler independently performing translation processing.
The present invention relates to a program linking method that connects and edits computer-executable modules by resolving an external reference identifier that is associated with a program object with a logical address of a corresponding external definition identifier.

〔従来の技術〕[Conventional technology]

一般に、この種のプログラム連結方式には、プログラム
の実行前に連結Wmを行なう静的連結方式と、プログラ
ムの実行時に連結編集を行なう動的連結方式とがある。
In general, this type of program linking method includes a static linking method in which linking Wm is performed before program execution, and a dynamic linking method in which linking and editing are performed during program execution.

静的連結方式における従来技術は、本発明の実施例の構
成図である第1図を借りて説明すると、同図の管理デー
タファイル1.管理データファイル保守手段2.変更影
響解決手段4及びそれらに関連する部分を除いた構成要
素から成っている。
The prior art in the static connection method will be explained with reference to FIG. 1, which is a configuration diagram of an embodiment of the present invention. The management data file 1. Management data file maintenance means 2. It consists of the components excluding the change impact resolution means 4 and their related parts.

即ち、従来技術における静的連結方式は、モジュールの
入口となるプログラムの入口名よりモジュールを構成す
る全プログラムに対しプログラムの外部定義識別子に論
理アドレスを割当て、外部参照識別子をそれぞれ解決す
ることにある。この例を第4図に示す。
In other words, the static linking method in the prior art is to allocate logical addresses to external definition identifiers of programs for all programs that make up the module based on the entrance name of the program that is the entrance to the module, and to resolve each external reference identifier. . An example of this is shown in FIG.

第4図において、例えばC0BOL言語で記述されたプ
ログラムソース26(ID=A)は、C○BOLコンパ
イラによりプログラムオブジェクト化されるが、このプ
ログラムオブジェクト21の内容はオブジェクトのコー
ド化されたオブジェクトスケルトンと、このプログラム
内で定義される外部定義識別子24の集合と外部参照識
別子25の集合である外部定義参照表より構成される。
In FIG. 4, for example, a program source 26 (ID=A) written in the C0BOL language is converted into a program object by the C0BOL compiler, but the contents of this program object 21 are the coded object skeleton of the object. , an external definition reference table that is a set of external definition identifiers 24 and a set of external reference identifiers 25 defined within this program.

モジュールのオブジェクト28は、論理アドレス(ad
deon)を管理するアドレス定数表29と、論理アド
レスによって解決されたオブジェクト30(オブジェク
トA、オブジェクトB)より成る。第4図は、ID−A
、Bのプログラムの論理アドレスを設定する必要がある
ことをSYMDEF−A24゜SYMREF−B25で
表現しており、これをモジュールオブジェクトとして解
決した形式が下段に示されている。
The object 28 of the module has a logical address (ad
deon), and objects 30 (object A, object B) resolved by logical addresses. Figure 4 shows ID-A
, B is expressed as SYMDEF-A24°SYMREF-B25, and the format in which this is resolved as a module object is shown in the lower row.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来の静的連結方式は、以下のような問題点が
あった。
The conventional static connection method described above has the following problems.

近年プログラムの部品化が進み、一つのモジュールが数
多(のプログラム部品から構成される形態が一般的であ
る。しかし従来の静的連結方式においては、モジュール
を構成する一部分のローカルな更新であっても全構成プ
ログラムの再連結処理が必要である。すなわち、更新プ
ログラムの変更影響部分の構成要素を把握する管理機能
がないので、構成要素を全て再連結しないとモジュール
が作成できないという問題点があった。
In recent years, programs have become more modularized, and it is common for one module to consist of many (number of) program parts. However, in the conventional static linking method, it is not possible to locally update a part of a module. However, it is necessary to reconnect all the constituent programs.In other words, since there is no management function to grasp the constituent elements of the part affected by changes in the update program, there is a problem that a module cannot be created unless all the constituent elements are reattached. there were.

上記問題点を解決する従来の代替案は、動的連結方式を
採用することであるが、一般に動的連結方式は、実行時
に連結編集を行なう為に実行時の動的オーバーヘッドを
増大させ、実行性能を低下させるという問題点がある。
A conventional alternative to solve the above problems is to adopt a dynamic concatenation method, but in general, the dynamic concatenation method increases the dynamic overhead at runtime due to the concatenation editing at runtime. There is a problem that performance is degraded.

そこで本発明の目的は、静的連結方式の場合であっても
変更部分の対象プログラムのみのUIAで済むようなプ
ログラム連結方式を提供することにある。
SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide a program linking method that allows only the UIA of the target program to be changed even in the case of a static linking method.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は上記目的を達成するために、コンパイラが独立
に翻訳処理を行なって生成したプログラムオブジェクト
に含まれる外部定義識別子に対しコンピュータでの実行
上の論理アドレスを割当て、プログラムオブジェクトに
含まれる外部参照識別子に対し対応外部定義識別子の論
理アドレスで解決することでコンピュータで実行可能な
モジュールを連結編集するプログラム連結方式において
、プログラムオブジェクトが格納されるライブラリより
プログラムオブジェクトを入力するプログラム入力手段
と、 該プログラム入力手段が入力したプログラムオブジェク
トに含まれる外部定義識別子に実行上の論理アドレスを
割当て且つ外部参照識別子を論理アドレスで解決するア
ドレス解決手段と、モジュールオブジェクトが格納され
るライブラリにモジュールオブジェクトを出力生成する
モジュール更新手段と、 プログラム連結処理に伴って、プログラムに関しては少
なくともそのプログラムが定義する外部定義識別子と該
外部定義識別子のプログラム内相対位置および他プログ
ラムに対する外部参照識別子と該外部参照識別子のプロ
グラム内相対位置を記録し、モジュールに関してはモジ
ュールを構成するプログラムと該プログラムに割当てた
論理アドレスとを記録する管理データファイルと、前記
管理データファイルに対し、記録フィールドの一部をキ
ーとしてその内容を検索し且つ更新する管理データファ
イル保守手段と、 モジュールを構成するプログラムの一部の置換において
対象プログラム集合の置換が及ぼす同モジュール内の他
構成要素を前記管理データファイルの内容から得る変更
影響解決手段と、モジュールオブジェク1−が格納され
るライブラリよりモジュールを入力しその一部を更新す
るモジュール部分更新手段と、 モジュール作成を制御する制御手段とを有している。
In order to achieve the above object, the present invention allocates a logical address for execution on a computer to an externally defined identifier included in a program object generated through independent translation processing by a compiler, and In a program linking method that connects and edits modules executable on a computer by resolving an identifier with a logical address of a corresponding externally defined identifier, the program input means inputs a program object from a library in which the program object is stored; address resolution means for assigning an execution logical address to an externally defined identifier included in a program object inputted by the input means and resolving an external reference identifier with a logical address; and outputting and generating a module object to a library in which the module object is stored. A module update means, and in connection with the program linking process, at least the external definition identifier defined by the program, the relative position within the program of the external definition identifier, the external reference identifier with respect to another program, and the relative position within the program of the external reference identifier. A management data file records the position of the module, and records the program configuring the module and the logical address assigned to the program. and a management data file maintenance means for updating; and a change influence resolving means for obtaining information on other components in the same module caused by replacement of a target program set when replacing a part of a program constituting the module from the contents of the management data file; It has module partial update means for inputting a module from a library in which module object 1- is stored and updating a part of it, and control means for controlling module creation.

〔作用〕[Effect]

管理データファイル、管理データファイル保守手段、変
更影響解決手段およびモジュール部分更新手段を設けた
ことによって、更新プログラムの変更形C部分の構成要
素を把握、管理でき、構成要素を全て再連結しなくても
モジュールの作成が可能となる。
By providing a management data file, a management data file maintenance means, a change impact resolution means, and a module part update means, it is possible to understand and manage the components of the modified C part of the update program, without having to reconnect all the components. It is also possible to create modules.

〔実施例〕〔Example〕

次に本発明の実施例について図面を参照して説明する。 Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の実施例の構成を表す図であり、管理デ
ータファイル1.管理データファイル保守手段2.制御
手段3.変更影響解決手段4.モジュール部分更新手段
5.モジュール更新手段6゜アドレス解決手段7.プロ
グラム入力手段8.外部入力表示装置9.モジュールラ
イブラリ10及びプログラムライブラリ11を含んでい
る。
FIG. 1 is a diagram showing the configuration of an embodiment of the present invention, in which management data files 1. Management data file maintenance means 2. Control means 3. Change impact resolution means 4. Module partial update means 5. Module update means 6゜Address resolution means 7. Program input means 8. External input display device9. It includes a module library 10 and a program library 11.

制御手段3は、外部入力表示袋′119によって利用者
が指定した指示を入力し、それらを解析して次の場合に
分ける。
The control means 3 inputs instructions designated by the user through the external input display bag '119, analyzes them, and divides them into the following cases.

(1)モジュールの新規連結編集を指示(2)特定のプ
ログラムを指定して既存モジュールの部分連結i、g集
を指示 (3)新規モジュールではないが、モジュールの全体連
結編集を指示 制御手段3は、上記(3)の場合はfilと同様の扱い
として制御を行なう。
(1) Instructs to edit a new connected module (2) Specifies a specific program and instructs a collection of partial connections i and g of an existing module (3) Instructs control means 3 to edit a whole connected module, although it is not a new module In the case of (3) above, control is performed in the same way as fil.

先ず、上記の(11,(3)の場合の処理について記述
する。
First, the processing in the case of (11, (3)) above will be described.

制御手段3は、プログラム入力手段8によってプログラ
ムライブラリ11からプログラムオブジェクトの入力を
行なう。
The control means 3 inputs program objects from the program library 11 through the program input means 8 .

次に、人力したプログラムオブジェクトに含まれる外部
定義識別子(以下単に外部定義という)(SYMDEF
)及び外部参照識別子(以下単に外部参照という”)(
SYMREF)を解決する為にアドレス解決手段7に制
御を渡す。
Next, the external definition identifier (hereinafter simply referred to as external definition) (SYMDEF) included in the manually created program object is
) and external reference identifiers (hereinafter simply referred to as "external references") (
SYMREF), control is passed to address resolution means 7.

アドレス解決手段7は、外部定義については新たに論理
アドレス(addcon)を割当て、外部参照について
は対応する外部定義の論理アドレスを参照位置に設定す
ることで、これを解決する。
The address resolution means 7 solves this problem by allocating a new logical address (addcon) for external definitions and setting the logical address of the corresponding external definition to the reference position for external references.

また、上記処理の一貫として、プログラムに関しては少
なくともそのプログラムが定義する外部定義とこの外部
定義のプログラム内相対位置および他プログラムに対す
る外部参照とこの外部参照のプログラム内相対位置を、
モジュールに関してはモジュールを構成するプログラム
とこのプログラムに割当てた論理アドレスとを、それぞ
れ次回の同モジュールの再連結の為に、管理データファ
イル保守手段2によって管理データファイル1に設定し
ておく。
Also, as part of the above processing, for a program, at least the external definition defined by the program, the relative position within the program of this external definition, the external reference to other programs, and the relative position within the program of this external reference,
Regarding the module, the program constituting the module and the logical address assigned to this program are respectively set in the management data file 1 by the management data file maintenance means 2 for the next reconnection of the same module.

上述の処理を、入力するプログラムライブラリ11に存
在し且つ未解決となっている外部参照がなくなる迄繰返
し行なう。そして、このようにして(斗られたモジュー
ルは、モジュール更新手段6によって、モジュールライ
ブラリ10に格納される。
The above process is repeated until there are no unresolved external references in the input program library 11. The module updated in this manner is then stored in the module library 10 by the module updating means 6.

以上の結果、連結編集が行なわれると同時に、管理デー
タファイル1にモジュールを構成する構成要素と要素間
の関係データが設定され保持されることになる。
As a result of the above, the constituent elements constituting the module and the relationship data between the elements are set and held in the management data file 1 at the same time as the connected editing is performed.

次に前記(2ンの場合について記述する。Next, the case of (2) described above will be described.

制御手段3は、既存モジュールにおけるプログラムの部
分更新指定であると認識すると、更新プログラムが対象
モジュールに構成要素として含まれているかどうかを判
定するために、変更影響解決手段4に制御を渡す。
When the control means 3 recognizes that it is a partial update specification for a program in an existing module, it passes control to the change impact resolution means 4 in order to determine whether the updated program is included as a component in the target module.

変更影響解決手段4は、管理データファイル保守手段2
によって対象モジュールの構成プログラムフィールドに
指定プログラムが含まれているか否かを判定し、その結
果を制御手段3へ通知する。
Change impact resolution means 4 is management data file maintenance means 2
It is determined whether or not the designated program is included in the configuration program field of the target module, and the control means 3 is notified of the result.

制御手段3は、前述の判定の結果により指定プログラム
が対象モジュールに含まれていないと分かれば、そのプ
ログラムの処理をスキップして次の処理を行なう0反対
に含まれていれば、指定プログラムの部分更新Wmを行
なわせる為に変更影響解決手段4に再び制御を渡す。
If the control means 3 finds that the designated program is not included in the target module as a result of the above-mentioned determination, it skips the processing of that program and performs the next processing. Control is again passed to the change influence resolution means 4 in order to perform the partial update Wm.

変更影響解決手段4は、指定プログラムの置換の及ぼす
影響範囲を下記の手順で突き止め、関連要素の更新をモ
ジュール部分更新手段5を使用して行なう。この動作を
、プログラムBを更新しこれを置換した場合の影響を受
ける構成要素とそれらを整合する本発明の一実施例の説
明図である第2図を参照して以下説明する。なお、第2
図において、31.36はプログラム名、 32.37
は外部定義。
The change impact resolution means 4 determines the range of influence exerted by the replacement of the specified program using the following procedure, and updates related elements using the module partial update means 5. This operation will be explained below with reference to FIG. 2, which is an explanatory diagram of an embodiment of the present invention that shows components affected when program B is updated and replaced and their matching. In addition, the second
In the figure, 31.36 is the program name, 32.37
is an external definition.

33、38は定義相対位置、34は外部参照、35は参
照相対位置、39はモジュール名、40は構成プログラ
ム、41はアドレス定数、42は構成アドレス定数。
33 and 38 are defined relative positions, 34 is an external reference, 35 is a reference relative position, 39 is a module name, 40 is a configuration program, 41 is an address constant, and 42 is a configuration address constant.

43はアドレス定数表、44はオブジェクトである。43 is an address constant table, and 44 is an object.

(1)形式=プログラムの管理データで対象プログラム
のエントリを検索し、このエントリの情報を新プログラ
ムのそれで更新する。即ち、プログラムBで第2図のプ
ログラム名36のエントリを検索し、その外部定義37
及び定義相対位rI138をB、α2°に更新する。
(1) Search for the entry of the target program using the format=program management data, and update the information in this entry with that of the new program. That is, search for the entry of program name 36 in FIG. 2 in program B, and search for its external definition 37.
And the defined relative position rI138 is updated to B, α2°.

(2)外部定義の管理データに対応するモジュールオブ
ジェクトの更新; モジュールオブジェクトの論理アドレスの管理表である
アドレス定数表43より旧オブジェクトBを求め、これ
を新オブジェクトB“に置換する。
(2) Updating the module object corresponding to externally defined management data; Obtain the old object B from the address constant table 43, which is a management table of logical addresses of module objects, and replace it with the new object B''.

(3)外部定義を参照する外部参照の更新;プログラム
Bの外部定義の置換により、この外部定義を参照してい
る他プログラムの外部参照の整合を行なう必要がある。
(3) Updating external references that refer to external definitions: By replacing the external definition of program B, it is necessary to match the external references of other programs that refer to this external definition.

これば、管理データファイル1の形式#プログラムのデ
ータで外部参照のフィールドの値が置換対象の外部定義
を持つものを検索し、検索された対象の参照相対位置の
フィールドの値が示すオブジェクト内相対位置を新論理
アドレスで更新することにより達成する。すなわち、外
部参照のフィール・−ドがBである外部参照34のエン
トリを検索し、この参照相対位置β1を求め、オブジェ
クトAのβ1の相対位置にBの外部定義の論理アドレス
addcon −B ’ を設定することで達成する。
In this case, the value of the external reference field in the format #program data of management data file 1 is searched for the external definition to be replaced, and the internal relative position indicated by the value of the reference relative position field of the searched target is This is accomplished by updating the location with a new logical address. That is, search for the entry of the external reference 34 whose external reference field field is B, find the reference relative position β1, and add the externally defined logical address addcon-B' of B to the relative position of β1 of object A. This is achieved by setting.

(4)形式−モジュールの管理データの更新;構成プロ
グラム、アドレス定数、構成アドレス定数の各フィール
ドの更新とこれに対応するアドレス定数表43の更新を
行なう。
(4) Format - update of module management data; each field of configuration program, address constant, and configuration address constant is updated, and the address constant table 43 corresponding thereto is updated.

以上、本発明の実施例をその動作順に従って説明したが
、以下、本発明の有効性について第3図を参照して説明
する。なお、第3図においてA〜F、  C’ はプロ
グラムである。
The embodiments of the present invention have been described above according to the order of their operation, and the effectiveness of the present invention will be described below with reference to FIG. 3. In addition, in FIG. 3, A to F and C' are programs.

第3図は、メインのプログラムAを基点としてそのプロ
グラムより出ている外部参照を図示したもので、連結編
集はこの図中の線をたどり全体を一つのモジュールにま
とめる処理である。このモジュールを構成するプログラ
ムの置換の場合による本発明の有効性について、更新前
のモジュール構成が第3図(1)に示すものとして説明
する。
FIG. 3 is a diagram illustrating the external references coming from the main program A as a base point, and link editing is a process of following the lines in this diagram and combining the entire program into one module. The effectiveness of the present invention in the case of replacing the program constituting this module will be explained assuming that the module configuration before update is as shown in FIG. 3(1).

・場合1(C−C’ に置換、他に影響なし;第3図(
2)の場合) この例は、プログラムのコード部分などのローカルな変
更を表す。すなわち、外部定義及び外部参照が以前と変
わらない場合であり、本場合には、対象プログラムの置
換のみで連結編集が行なわれる。従って、置換対象のプ
ログラムのオブジェクトの置換のみで達成可能である。
・Case 1 (substituted C-C', no effect on others; Figure 3 (
Case 2) This example represents a local modification of a code portion of a program. That is, this is a case where the external definitions and external references remain the same as before, and in this case, connected editing is performed only by replacing the target program. Therefore, this can be accomplished only by replacing the object of the program to be replaced.

・場合2(C−C’ に置換、Aの参照位置を更新;第
3図(3)の場合) この例は、外部定義の変更を伴うが、外部参照の変更が
ない場合を示す。この場合には、置換の対象となった外
部定義を参照する外部参照の調整が必要である0例えば
、図ではプログラムCが置換対象となった場合を示して
おり、この場合、プログラム人の参照位置に新たなアド
レスを設定する調整が必要となるが、プログラムへの再
入力を伴うことがない点に注意されたい、従って、場合
1と大差なく置換が可能である。
- Case 2 (replaced with C-C', updated reference position of A; case of FIG. 3 (3)) This example shows a case where the external definition is changed but the external reference is not changed. In this case, it is necessary to adjust the external reference that refers to the external definition that is the target of replacement.0For example, the figure shows a case where program C is the target of replacement, and in this case, It is necessary to make an adjustment to set a new address at the location, but it should be noted that this does not involve re-inputting to the program.Therefore, the replacement is possible without much difference from case 1.

・場合3(C−C”に置換、Fの入力とアドレスの解決
;第3図(4)の場合) この例は、置換対象が外部参照の変更を伴う場合である
。この場合、新たな外部定義を参照しているので、これ
に対しては新規の処理と同じように入力とアドレス解決
処理が適用される。しかしながら、この場合においても
新規の場合以上にオーバーヘッドを要することがないの
で有効であるといえる。
・Case 3 (replacement with "C-C", input of F and address resolution; case of Figure 3 (4)) In this example, the replacement target involves a change in external references. In this case, a new Since it refers to an external definition, the input and address resolution processing is applied to it in the same way as for new processing. However, it is effective in this case as well because it does not require any more overhead than in the case of new processing. You can say that.

(発明の効果〕 以上説明したように、本発明は、静的連結方式の場合に
おいても、変更部分の対象プログラムのみの1ZIAが
可能となるので、以下のような効果がある。
(Effects of the Invention) As explained above, even in the case of the static linking method, the present invention enables 1ZIA of only the target program of the changed portion, and therefore has the following effects.

(1)  通常、プログラムのデバッグ過程においては
、プログラムのバグによる修正はローカルな場合が殆ど
である。従って、連結編集がその対象プログラムのオブ
ジェクトの置換で達成できるので、高速化が可能となる
(1) Normally, in the process of debugging a program, corrections due to bugs in the program are mostly local. Therefore, since connected editing can be achieved by replacing objects in the target program, speeding up is possible.

(2)変更のあった箇所のみの置換であり、全体の連結
編集ではないので、誤ってその過程で更新部分以外の変
更を加えてしまうことが無くなる。
(2) Since only the changed portion is replaced and the entire portion is not connected and edited, it is possible to avoid accidentally making changes other than the updated portion during the process.

従って、その為のチエツクが不要となる。よって、前者
は作成されたモジュールの品質を向上するし、後者は生
産性を向上する。
Therefore, there is no need to check for that purpose. Therefore, the former improves the quality of the created module, and the latter improves productivity.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の実施例の構成図、 第2図は本発明の実施例の動作説明図、第3図は本発明
の詳細な説明する為の図および、 第4図は従来技術の説明図である。 図において、 1・・・管理データファイル 2・・・管理データファイル保守手段 3・・・制御手段 4・・・変更影台解決手段 5・・・モジュール部分更新手段 6・・・モジュール更新手段 7・・・アドレス解決手段 8・・・プログラム入力手段 9・・・外部入力表示装置 10・・・モジュールライブラリ 11・・・プログラムライブラリ
Fig. 1 is a block diagram of an embodiment of the present invention, Fig. 2 is an explanatory diagram of the operation of the embodiment of the present invention, Fig. 3 is a diagram for explaining the present invention in detail, and Fig. 4 is a diagram of the prior art. It is an explanatory diagram. In the figure, 1...Management data file 2...Management data file maintenance means 3...Control means 4...Change shadow resolution means 5...Module partial update means 6...Module update means 7 ... Address resolution means 8 ... Program input means 9 ... External input display device 10 ... Module library 11 ... Program library

Claims (1)

【特許請求の範囲】 コンパイラが独立に翻訳処理を行なって生成したプログ
ラムオブジェクトに含まれる外部定義識別子に対しコン
ピュータでの実行上の論理アドレスを割当て、プログラ
ムオブジェクトに含まれる外部参照識別子に対し対応外
部定義識別子の論理アドレスで解決することでコンピュ
ータで実行可能なモジュールを連結編集するプログラム
連結方式において、 プログラムオブジェクトが格納されるライブラリよりプ
ログラムオブジェクトを入力するプログラム入力手段と
、 該プログラム入力手段が入力したプログラムオブジェク
トに含まれる外部定義識別子に実行上の論理アドレスを
割当て且つ外部参照識別子を論理アドレスで解決するア
ドレス解決手段と、 モジュールオブジェクトが格納されるライブラリにモジ
ュールオブジェクトを出力生成するモジュール更新手段
と、 プログラム連結処理に伴って、プログラムに関しては少
なくともそのプログラムが定義する外部定義識別子と該
外部定義識別子のプログラム内相対位置および他プログ
ラムに対する外部参照識別子と該外部参照識別子のプロ
グラム内相対位置を記録し、モジュールに関してはモジ
ュールを構成するプログラムと該プログラムに割当てた
論理アドレスとを記録する管理データファイルと、前記
管理データファイルに対し、記録フィールドの一部をキ
ーとしてその内容を検索し且つ更新する管理データファ
イル保守手段と、 モジュールを構成するプログラムの一部の置換において
対象プログラム集合の置換が及ぼす同モジュール内の他
構成要素を前記管理データファイルの内容から得る変更
影響解決手段と、 モジュールオブジェクトが格納されるライブラリよりモ
ジュールを入力しその一部を更新するモジュール部分更
新手段と、 モジュール作成を制御する制御手段とを含むことを特徴
とするプログラム連結方式。
[Claims] A compiler independently performs translation processing and assigns a logical address for execution on a computer to an external definition identifier included in a program object generated, and a corresponding external address is assigned to an external reference identifier included in the program object. In a program linking method that connects and edits modules executable on a computer by resolving logical addresses of definition identifiers, the program input means inputs program objects from a library in which the program objects are stored; an address resolution means that assigns an execution logical address to an externally defined identifier included in a program object and resolves an external reference identifier with a logical address; a module update means that outputs and generates a module object to a library in which the module object is stored; Along with the program linking process, for a program, at least an external definition identifier defined by the program, a relative position within the program of the external definition identifier, an external reference identifier with respect to another program, and a relative position within the program of the external reference identifier are recorded; Regarding modules, there is a management data file that records the programs that make up the module and the logical addresses assigned to the programs, and management data that searches and updates the contents of the management data file using part of the recording field as a key. a file maintenance means; a change influence resolving means for obtaining, from the contents of the management data file, information on other components in the same module caused by replacement of a target program set when replacing a part of a program constituting the module; A program linking method comprising a module partial update means for inputting a module from a library and updating a part of the module, and a control means for controlling module creation.
JP62287167A 1987-11-13 1987-11-13 Program linkage system Pending JPH01129326A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62287167A JPH01129326A (en) 1987-11-13 1987-11-13 Program linkage system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62287167A JPH01129326A (en) 1987-11-13 1987-11-13 Program linkage system

Publications (1)

Publication Number Publication Date
JPH01129326A true JPH01129326A (en) 1989-05-22

Family

ID=17713943

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62287167A Pending JPH01129326A (en) 1987-11-13 1987-11-13 Program linkage system

Country Status (1)

Country Link
JP (1) JPH01129326A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0336625A (en) * 1989-07-04 1991-02-18 Toshiba Corp Program developing system
WO2010010597A1 (en) 2008-07-23 2010-01-28 富士通株式会社 Object linkage device for linking objects in statically linked executable format program file, method for linking objects, and program thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0336625A (en) * 1989-07-04 1991-02-18 Toshiba Corp Program developing system
WO2010010597A1 (en) 2008-07-23 2010-01-28 富士通株式会社 Object linkage device for linking objects in statically linked executable format program file, method for linking objects, and program thereof
US8561047B2 (en) 2008-07-23 2013-10-15 Fujitsu Limited Object linkage device for linking objects in statically linked executable program file, method of linking objects, and computer readable storage medium storing program thereof

Similar Documents

Publication Publication Date Title
US6526441B2 (en) Input/output device information management system for multi-computer system
US6754848B1 (en) Method, system and program products for operationally migrating a cluster through emulation
JPH01129326A (en) Program linkage system
JPH06110733A (en) Test case generating device of program
JP2022090770A (en) Generation device and test code generation method
JP3181419B2 (en) Management method of program development products
JPH0793185A (en) Automatic software test system
JP2007242051A (en) Device for mounting/executing business logic program
JPH0256666A (en) System for dynamically updating job network unitary control system generating information
JPS61169936A (en) Automatic generation system of job control language
JPH0512087A (en) System for outputting pre-updating journal
JPH0247719A (en) Customizing system
JPH07219863A (en) Business distribution system
JP3192177B2 (en) Object processing device
JPH03231328A (en) Automatic file production system
JPH09146766A (en) Method for changing class structure
JPH10307719A (en) High-level language patch preparation system
JPH0439734A (en) Program language translation processing system
JPH0496137A (en) Centralized control processing system for common data
JPS61122758A (en) Edit processing system
JPH05108332A (en) Editor
JP2007128343A (en) Information processing apparatus, information processing method, program, and computer readable recording medium
JPH07105014A (en) Symbol processing system for language processing system
JPH03191424A (en) Software parts synthetic system
JPH06290032A (en) Procedure managing system