JPH04282724A - Address resolving system between programs - Google Patents

Address resolving system between programs

Info

Publication number
JPH04282724A
JPH04282724A JP4702791A JP4702791A JPH04282724A JP H04282724 A JPH04282724 A JP H04282724A JP 4702791 A JP4702791 A JP 4702791A JP 4702791 A JP4702791 A JP 4702791A JP H04282724 A JPH04282724 A JP H04282724A
Authority
JP
Japan
Prior art keywords
load module
control
module
address
load
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
JP4702791A
Other languages
Japanese (ja)
Inventor
Toru Sato
亨 佐藤
Hironori Otani
大谷 裕紀
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.)
N T T SOFTWARE KK
Nippon Telegraph and Telephone Corp
NTT Software Corp
Original Assignee
N T T SOFTWARE KK
Nippon Telegraph and Telephone Corp
NTT Software 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 N T T SOFTWARE KK, Nippon Telegraph and Telephone Corp, NTT Software Corp filed Critical N T T SOFTWARE KK
Priority to JP4702791A priority Critical patent/JPH04282724A/en
Publication of JPH04282724A publication Critical patent/JPH04282724A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PURPOSE:To offer an inter-program address resolving system capable of executing highly efficient system operation even in the case of using a system having severe performance conditions or a system having low processing capacity by removing overhead due to a dynamic link at the time of shifting control between programs. CONSTITUTION:In a state (1) that the address resolution of a load module has been executed and the load module has been loaded to a memory, each load module has a retrieving information table and an object module for executing processing on its leading part, the retrieving information table of a load module to be shifted is retrieved based upon a parameter by a control shifting means for shifting control from a control shifting load module to a load module to which control is to be shifted by using (2) a setting means for setting up the parameter for retrieving the retrieving information table and control is shifted (4) to an object module in the load module to be shifted.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明はプログラム間のアドレス
解決方式に係り、特に、プログラム間の制御移行におい
て異なるプログラム(ロードモジュール)間でのアドレ
ス解決方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an address resolution method between programs, and more particularly to an address resolution method between different programs (load modules) during control transfer between programs.

【0002】0002

【従来の技術】通常、プログラムの実行は、コンパイラ
の出力結果であるオブジェクトモジュールを複数集め、
連結編集プログラム(以下、リンケージエディタ)に入
力し、オブジェクトモジュール間のアドレスが解決され
たロードモジュールを得て実行する。ここでいうアドレ
ス解決とは、プログラムが他のプログラムの情報を参照
したり、他のプログラムへ制御を移行させる場合に参照
先または、移行先のアドレスを参照元または移行元のプ
ログラムに設定しておくことをいう。
[Prior Art] Normally, when executing a program, a plurality of object modules, which are the output results of a compiler, are collected and
This is input into a linkage editing program (hereinafter referred to as a linkage editor) to obtain a load module in which addresses between object modules have been resolved and execute it. Address resolution here means that when a program refers to information in another program or transfers control to another program, the address of the reference destination or transfer destination is set in the reference source or transfer source program. It means to put.

【0003】最近ではプログラム規模の拡大により、プ
ログラムインストール作業の簡易化等を目的にリンケー
ジエディタを介さずに計算機へ登録し、起動(制御移行
)の要求がある都度、移行先のアドレスを付与し、アド
レスを解決するダイナミックリンクの方法によるプログ
ラム走行が一般的に用いられている。
[0003] Recently, due to the expansion of program scale, in order to simplify the program installation work, programs are registered in computers without going through a linkage editor, and a destination address is assigned each time there is a request for startup (control transfer). , program execution using a dynamic link method to resolve addresses is commonly used.

【0004】図6は従来の方式によるアドレス解決方法
を示す。コンパイラが出力したオブジェクトモジュール
中には、一般的には別のプログラムの参照先乃至は移行
先のアドレスが未解決のまま残されている。例えば同図
中、プログラムA,Bをそれぞれ、オブジェクトモジュ
ールに対応付けた場合、プログラムAの「CALLab
c」の要求先(CALL先)「abc」のアドレス(3
600)がプログラムAに設定されていないという状況
がある。このような場合において、リンケージエディタ
は未解決のアドレスを解決する。同図の例ではリンケー
ジエディタはプログラムAの「CALL  abc」の
要求先(CALL先)のアドレス(3600)をプログ
ラムAに設定する。
FIG. 6 shows a conventional address resolution method. In the object module output by the compiler, the address of a reference destination or migration destination of another program is generally left unresolved. For example, in the same figure, if programs A and B are respectively associated with object modules, program A's “CALLLab
address (3) of request destination (CALL destination) “abc” of “c”
600) is not set to program A. In such cases, the linkage editor resolves unresolved addresses. In the example shown in the figure, the linkage editor sets in program A the address (3600) of the request destination (CALL destination) of program A's "CALL abc".

【0005】これに対してダイナミックリンクはプログ
ラム走行前に予め、アドレス解決するリンケージエディ
タと異なり、プログラム走行中にオブジェクトモジュー
ルに跨がる参照先又は、制御移行先(以下、エントリ)
を入力して対応するアドレスを特定し、参照元又は、制
御移行元オブジェクトモジュールに設定するものである
On the other hand, dynamic linking differs from linkage editors in that they resolve addresses in advance before program execution.
is input, the corresponding address is specified, and the address is set in the reference source or control transfer source object module.

【0006】図7は一般的なダイナミックリンク方式で
の制御移行の一例を示す。この例において、ロードモジ
ュールA70は制御移行要求元のロードモジュールとし
、ロードモジュールB72は制御移行先のロードモジュ
ールとする。この制御移行はロードモジュールA70が
ダイナミックリンクプログラム71によりロードモジュ
ールB72をコールした場合について説明する。
FIG. 7 shows an example of control transfer in a general dynamic link system. In this example, load module A70 is the load module that is the source of the control transfer request, and load module B72 is the load module that is the control transfer destination. This control transfer will be explained in the case where the load module A 70 calls the load module B 72 by the dynamic link program 71.

【0007】先ずロードモジュールA70内のオブジェ
クトモジュールA73は制御をロードモジュールB72
に移行するという制御移行要求をダイナミックリンクプ
ログラム71に行う。次にダイナミックリンクプログラ
ム71はロードモジュールA71内のオブジェクトモジ
ュールA73で指定されたエントリ名よりロードモジュ
ール名を特定する。この例の場合はロードモジュールB
72を特定したとする。ダイナミックリンクプログラム
71はロードモジュールB72のオープン処理を行い、
論理空間を決定し、ロードモジュールB72内のオブジ
ェクトモジュールB74のロード処理を行い、制御移行
の処理を実行し、最後にアンロード処理を行う。
First, the object module A73 in the load module A70 transfers control to the load module B72.
A control transition request is made to the dynamic link program 71 to transition to. Next, the dynamic link program 71 identifies the load module name from the entry name specified in the object module A73 in the load module A71. In this example, load module B
72 is specified. The dynamic link program 71 performs open processing for the load module B72,
The logical space is determined, the object module B74 in the load module B72 is loaded, the control transfer process is executed, and finally the unload process is performed.

【0008】このようなダイナミックリンク機能は未だ
アドレスが決定されない外部参照記号を含んだ状態で実
行させて、その実行中にアドレス未決定の外部参照記号
を動的に結合させる機能である。
[0008] Such a dynamic link function is a function that is executed in a state that includes external reference symbols whose addresses have not yet been determined, and dynamically connects external reference symbols whose addresses have not yet been determined during execution.

【0009】[0009]

【発明が解決しようとする課題】しかるに、ロードモジ
ュール内の各オブジェクトモジュールはリンケージエデ
ィタによりリンケージされ、実行時前に制御移行先、デ
ータの参照先のアドレスを解決したロードモジュールと
なり、アドレス解決された単位であるロードモジュール
内での制御移行、データ参照は可能であるが、ロードモ
ジュール間に跨がる制御移行及びデータ参照は不可能で
ある。
[Problem to be solved by the invention] However, each object module in a load module is linked by a linkage editor, and becomes a load module that resolves the address of the control transfer destination and data reference destination before execution, and the address is resolved. Control transfer and data reference within a unit load module is possible, but control transfer and data reference across load modules is not possible.

【0010】また、性能条件の厳しいシステム、処理能
力の低いシステム等ではダイナミックリンク機能を持た
ないオペレーティングシステムであったり、また、ダイ
ナミックリンクプログラムを使用できるオペレーティン
グシステムであったとしても上記処理のオーバヘッドタ
イムが大きいオペレーティングシステムではシステム効
率が悪いという問題がある。
[0010] Furthermore, in systems with strict performance requirements or systems with low processing power, the operating system may not have a dynamic link function, or even if the operating system can use a dynamic link program, the overhead time of the above processing may be high. Operating systems with large numbers have a problem of poor system efficiency.

【0011】本発明は上記の点に鑑みなされたものでダ
イナミックリンクによるオーバヘットをなくし、より効
率のよりシステム運用ができるプログラム間のアドレス
解決方式を提供することを目的とする。
The present invention has been made in view of the above points, and an object of the present invention is to provide an address resolution method between programs that eliminates the overhead caused by dynamic linking and allows more efficient system operation.

【0012】0012

【課題を解決するための手段】図1は本発明の原理を説
明するための図を示す。プログラムの先頭に自ロードモ
ジュール内の制御移行際及びシステム内一意の絶対アド
レスが設定された検索情報テーブルと実際の処理を行う
オブジェクトモジュールを有するロードモジュールを、
プログラム間の連結編集プログラムにより制御移行先の
ロードモジュールのアドレスを制御移行元のロードモジ
ュールに設定し、ロードモジュールをメモリにロードし
ておき(1)、制御移行元のロードモジュールのオブジ
ェクトモジュールの情報により前記検索情報テーブルを
検索するためのパラメータを設定し(2)、パラメータ
をキーとして制御移行先のロードモジュールの検索情報
テーブルを検索し(3)、制御移行元のロードモジュー
ルから検索結果に該当する制御移行先のロードモジュー
ルに制御を移行する(4)。
Means for Solving the Problems FIG. 1 shows a diagram for explaining the principle of the present invention. At the beginning of the program, there is a load module that has a search information table in which a unique absolute address within the system and when control is transferred within the self-load module is set, and an object module that performs actual processing.
Use the link editing program between programs to set the address of the load module to which control is to be transferred to the load module to which control is to be transferred, load the load module into memory (1), and set the object module information of the load module to which control is to be transferred. Set parameters for searching the search information table (2), use the parameters as keys to search the search information table of the load module to which control is to be transferred (3), and search the search results from the load module to which control is to be transferred. The control is transferred to the load module to which the control is transferred (4).

【0013】[0013]

【作用】本発明は一般のオペレーティングシステムによ
りシステムを開始する時にロードモジュールのオープン
処理、論理空間の割り付け、メモリロード等のアドレス
解決機能以外の機能は予め実現しておき、制御移行及び
データ参照時においてメモリ上にロード済みの状態とな
っているロードモジュールにてアドレス解決処理を行う
。ロードモジュールの先頭にロードモジュールの制御移
行先、データ参照先名の一覧表をシステム内の一意のア
ドレスを持たせておくためのエントリテーブルを設け、
さらに、エントリテーブルを用いてパラメータにより検
索し、制御移行先のロードモジュールのアドレスの検索
を行い、制御移行先のアドレスを得る制御移行処理手段
を設ける。
[Operation] The present invention realizes functions other than the address resolution function such as load module open processing, logical space allocation, and memory loading in advance when starting the system using a general operating system, and when controlling transfer and data reference. Address resolution processing is performed using the load module that has already been loaded onto the memory. An entry table is provided at the beginning of the load module to list the names of the load module's control transfer destinations and data references to unique addresses within the system.
Furthermore, a control transfer processing means is provided which searches for the address of the load module to which the control is to be transferred by searching by parameters using the entry table, and obtains the address to which the control is to be transferred.

【0014】また、オブジェクトモジュールがどのロー
ドモジュールに対応しているかを定義しておき、エント
リテーブルのエントリ名称により検索し、制御移行先ア
ドレスを得る。これによりプログラム間に跨がった参照
を移行が可能となり、他のプログラムに対する未解決の
参照アドレス又は、移行アドレスを解決する。
[0014] Furthermore, it is defined which load module the object module corresponds to, and a search is made using the entry name in the entry table to obtain the control transfer destination address. This makes it possible to migrate references across programs, and resolve unresolved reference addresses or migration addresses for other programs.

【0015】[0015]

【実施例】先ず、本発明の構成について説明する。図2
は本発明の構成を示す。同図におてい、ロードモジュー
ル20は制御移行要求元のロードモジュールであり(C
ALLを行う)、ロードモジュール30は移行先のロー
ドモジュールである。これらのロードモジュール20、
30はエントリテーブルとオブジェクトモジュールを備
えている。制御移行処理部40はロードモジュール20
、30のエントリテーブルを検索して、アドレス解決処
理を行うものである。
[Embodiment] First, the configuration of the present invention will be explained. Figure 2
shows the configuration of the present invention. In the figure, the load module 20 is the load module that requests control transfer (C
ALL), the load module 30 is the migration destination load module. These load modules 20,
30 includes an entry table and an object module. The control transfer processing unit 40 is the load module 20
, 30 entry tables are searched to perform address resolution processing.

【0016】ここで従来の方式で行っていたダイナミッ
クリンクの一連の処理であるエントリ名によるロードモ
ジュール名の特定、ロードモジュールオープン処理、論
理空間の決定、モジュール間のアドレス解決、ロード処
理(制御移行処理)及びアンロード処理等はシステム開
始前に実施しておく。これにより、これらの処理はプロ
グラム実行時には削減可能なオーバヘッドとなる。しか
し、アドレス解決された単位であるロードモジュール内
での制御移行やデータ参照は可能であるが、ロードモジ
ュール間に跨がる制御移行及びデータ参照はこの状態で
は不可能である。
[0016] Here, a series of dynamic link processes performed in the conventional method include specifying the load module name by entry name, load module open processing, logical space determination, address resolution between modules, and load processing (control transfer). processing) and unloading processing, etc. should be performed before starting the system. As a result, these processes become overhead that can be reduced during program execution. However, although it is possible to transfer control and refer to data within the load module that is the unit for which the address has been resolved, transfer of control and referencing data across load modules is not possible in this state.

【0017】次に本発明でモジュール間のアドレス解決
する方法について説明する。図3は本発明のロードモジ
ュールの構成の一例を示す。ロードモジュール20の先
頭に自ロードモジュール内の制御移行先、データ参照先
名の一覧表をそのシステム内のアドレスと共に持つエン
トリテーブル21を設け、そのエントリテーブル21は
名称部22とアドレス部23により構成される。名称部
22は参照先及び移行先の名称を設定し、アドレス部2
3はリンケージエディタによりシステム内一意の名称部
22に対する絶対アドレスが設定される。このアドレス
部23には他のロードモジュールから参照、移行される
オブジェクトモジュールを全て登録しておく。
Next, a method for resolving addresses between modules according to the present invention will be explained. FIG. 3 shows an example of the configuration of the load module of the present invention. An entry table 21 is provided at the beginning of the load module 20 that has a list of names of control transfer destinations and data reference destinations within the load module itself, together with addresses within the system, and the entry table 21 is composed of a name section 22 and an address section 23. be done. The name section 22 sets the name of the reference destination and the migration destination, and the address section 2
3, an absolute address for the unique name part 22 within the system is set by the linkage editor. All object modules to be referenced and migrated from other load modules are registered in this address field 23.

【0018】このような方法で、各ロードモジュールが
同等の構造であれば、他のロードモジュールのエントリ
テーブルを参照することで他のロードモジュール内のオ
ブジェクトモジュールのアドレスを取得し、参照及び、
制御移行が可能となる。
With this method, if each load module has an equivalent structure, the address of the object module in the other load module can be obtained by referring to the entry table of the other load module, and the address of the object module in the other load module can be obtained, referenced, and
Control transfer becomes possible.

【0019】次に上記のエントリテーブル21を用いた
制御移行の方法について説明する。本実施例では、説明
のために、1つのオブジェクトモジュールに1つの制御
移行先(エントリ)とする。
Next, a method of control transfer using the above entry table 21 will be explained. In this embodiment, for the sake of explanation, it is assumed that one object module has one control transfer destination (entry).

【0020】図4は本発明の一実施例を説明するための
図示す。本実施例は制御移行要求元ロードモジュール2
0、制御移行処理部40、制御移行先ロードモジュール
30の構成により実行される。ロードモジュール20と
ロードモジュール30はそれぞれ、エントリテーブル2
1、31が設定さている。先ず、エントリ名称“1a”
の指定アドレスによりロードモジュール20のオブジェ
クトモジュールa(エントリ名称1a)に制御移行し、
さらに、オブジェクトモジュールa内よりロードモジュ
ール41内のオブジェクトモジュールβ(エントリ名称
2β)に制御移行する。このとき、制御移行処理部40
は制御移行処理をオブジェクトモジュールaより呼び出
すことにより制御移行を行う。
FIG. 4 is a diagram for explaining one embodiment of the present invention. In this embodiment, control transfer request source load module 2
0, the control transfer processing unit 40 and the control transfer destination load module 30 are configured. The load module 20 and the load module 30 each have an entry table 2
1 and 31 are set. First, entry name “1a”
Control is transferred to object module a (entry name 1a) of load module 20 according to the specified address,
Furthermore, control is transferred from object module a to object module β (entry name 2β) in load module 41. At this time, the control transfer processing unit 40
performs control transfer by calling the control transfer process from object module a.

【0021】制御移行処理部40はロードモジュール2
0内のオブジェクトモジュールaより与えられたパラメ
ータによりオブジェクトモジュールβのエントリ名称(
2β)を検索するが、このとき、オブジェクトモジュー
ルβが同一システム内のどのロードモジュールに存在す
るのかを知る方法として第1の方法を説明する。
The control transfer processing unit 40 is the load module 2
The entry name of object module β (
2β). At this time, the first method will be described as a method for knowing in which load module within the same system the object module β exists.

【0022】制御移行処理部40内ではロードモジュー
ル20内より与えられたパラメータによりロードモジュ
ール30を検索する。ここでのパラメータはロードモジ
ュール名を“LM2”、エントリ名称“2β”とする。 オブジェクトモジュールβのエントリ名称2βを検索す
る際に、オブジェクトモジュールβが同一システム内の
どのロードモジュールに存在するかを知る方法として先
ず、ロードモジュール名をオブジェクトモジュールaで
指定することによりパラメータとして与える方法がある
The control transfer processing section 40 searches for the load module 30 based on the parameters given from within the load module 20. The parameters here include the load module name "LM2" and the entry name "2β". When searching for entry name 2β of object module β, a method for knowing in which load module in the same system object module β exists is to first specify the load module name as object module a and give it as a parameter. There is.

【0023】この方法は、リンクエディタがロードモジ
ュール20内のオブジェクトモジュールaよりロードモ
ジュール名、エントリ名称をパラメータとして与える。 たとえば、パラメータのロードモジュール名を“LM2
”、エントリ名称を“2β”とする。
In this method, the link editor gives the load module name and entry name from object module a in the load module 20 as parameters. For example, change the parameter load module name to “LM2”.
”, and the entry name is “2β”.

【0024】これにより、制御移行処理部40は制御移
行先をロードモジュール30においてエントリ名称の“
2β”を検索する(1)。次にロードモジュール30の
名称部32の中にある“2β”に対応しているアドレス
部33よりシステム内一意のアドレスであるオブジェク
トモジュールβのアドレスを取得する(2)。アドレス
を得た制御移行処理部40はCPU(中央処理装置)の
走行権を制御移行するオブジェクトモジュールβに明け
渡す(3)。これによりオブジェクトモジュールβに制
御を移行する(4)。オブジェクトモジュールβの実行
が終了しらたらロードモジュール20内のオブジェクト
モジュールaに制御を復帰する(5)。
As a result, the control transfer processing unit 40 sets the control transfer destination in the load module 30 with the entry name "
2β" (1). Next, the address of the object module β, which is a unique address within the system, is obtained from the address field 33 corresponding to "2β" in the name field 32 of the load module 30 ( 2).The control transfer processing unit 40 that has obtained the address surrenders the running right of the CPU (central processing unit) to the object module β to which control is transferred (3).Thereby, control is transferred to the object module β (4).Object When the execution of the module β is completed, control is returned to the object module a in the load module 20 (5).

【0025】また、第2の方法として、制御移行処理部
40内に対応表をもち、オブジェクトモジュールβがど
のロードモジュールに存在するかを予め定義して置く方
法がある。図5は本発明の他の実施例を示す図である。 同図中、図4と同一構成部分には同一符号を付しその説
明を省略する。制御移行処理部40はオブジェクトモジ
ュールがどのロードモジュールに存在しているかを予め
定義しておく対応表50を備えている。対象表50には
エントリ名称とそれに対応するロードモジュール名が定
義されている。
A second method is to have a correspondence table in the control transfer processing section 40 and define in advance which load module the object module β exists in. FIG. 5 is a diagram showing another embodiment of the present invention. In the figure, the same components as those in FIG. 4 are given the same reference numerals, and the explanation thereof will be omitted. The control transfer processing unit 40 includes a correspondence table 50 that defines in advance which load module an object module exists in. In the target table 50, entry names and corresponding load module names are defined.

【0026】この方法の場合はロードモジュール名はす
でに定義されているため、ロードモジュール20内のオ
ブジェクトモジュールaにより与えられるエントリ名称
をキーにして制御移行処理部40はロードモジュール3
0を検索する。
In this method, since the load module name has already been defined, the control transfer processing unit 40 uses the entry name given by the object module a in the load module 20 as a key.
Search for 0.

【0027】例えば、ロードモジュール20内のオブジ
ェクトモジュールaによりエントリ名称“2β”のみを
パラメータとして与える。次にそのパラメータで対応表
50内のエントリ名称よりパラメータ“2β”に対応す
るロードモジュール名を検索する。この場合のロードモ
ジュール名は“LM2”となる(1)。従って、制御移
行処理部40はロードモジュール41のエントリテーブ
ル42を検索する(2)。エントリテーブル42のエン
トリ名称に対応するアドレスの検索を行い、予め定義さ
れているシステム内一意のアドレスを見つけ(3)、ア
ドレスを取得した制御移行処理部40はCPU走行権を
オブジェクトモジュールβに移行する(4)。オブジェ
クトモジュールβの実行が終了したら、戻り先アドレス
(制御移行処理部40)に制御が戻る(5)。従って、
制御移行処理部40は制御移行要求元であるロードモジ
ュール20のオブジェクトモジュールaに制御を返す(
6)。
For example, object module a in the load module 20 provides only the entry name "2β" as a parameter. Next, using that parameter, the load module name corresponding to the parameter "2β" is searched from the entry names in the correspondence table 50. The load module name in this case is "LM2" (1). Therefore, the control transfer processing unit 40 searches the entry table 42 of the load module 41 (2). Searches for the address corresponding to the entry name in the entry table 42, finds a predefined unique address within the system (3), and having acquired the address, the control transfer processing unit 40 transfers the CPU running right to the object module β. Do (4). When the execution of the object module β is completed, control returns to the return destination address (control transfer processing unit 40) (5). Therefore,
The control transfer processing unit 40 returns control to the object module a of the load module 20 that is the source of the control transfer request (
6).

【0028】このように自プログラム内で他のプログラ
ムから参照されたり、制御移行されたりする箇所(エン
トリ)をプログラム(ロードモジュール)の先頭にエン
トリテーブルとして定義しておき、エントリテーブルを
覗き、参照及び制御移行先を特定することによりプログ
ラム間に跨がる参照及び制御移行時が実現できる。
In this way, locations (entries) that are referenced from other programs or to which control is transferred within the own program are defined as an entry table at the beginning of the program (load module), and the entries can be referenced by looking into the entry table. By specifying the control transfer destination, reference across programs and control transfer can be realized.

【0029】[0029]

【発明の効果】上記のように本発明によれば、制御移行
処理において、ダイナミックリンクによる制御移行時の
ロードモジュールのオープン(初期化)、論理空間の割
り付け、メモリロードのオーバヘッドを回避することが
できる。また、ダイナミックリンク機能を持たないオペ
レーティングシステムにおいてもダイナミックリンクと
同等の機能により高速な性能を得ることができる。
[Effects of the Invention] As described above, according to the present invention, it is possible to avoid the overhead of opening (initializing) a load module, allocating logical space, and loading memory at the time of control transfer by dynamic linking in control transfer processing. can. Further, even in an operating system that does not have a dynamic link function, high-speed performance can be obtained by using a function equivalent to a dynamic link function.

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

【図1】本発明の原理を説明するための図である。FIG. 1 is a diagram for explaining the principle of the present invention.

【図2】本発明の構成を示す図である。FIG. 2 is a diagram showing the configuration of the present invention.

【図3】本発明のロードモジュールの構成の一例を示す
図である。
FIG. 3 is a diagram showing an example of the configuration of a load module of the present invention.

【図4】本発明の一実施例を説明するための図である。FIG. 4 is a diagram for explaining one embodiment of the present invention.

【図5】本発明の他の実施例を説明するための図である
FIG. 5 is a diagram for explaining another embodiment of the present invention.

【図6】従来の方式によるアドレス解決方法を示す図で
ある。
FIG. 6 is a diagram showing a conventional address resolution method.

【図7】一般的なダイナミックリンク方式での制御移行
の一例を示す図である。
FIG. 7 is a diagram showing an example of control transition in a general dynamic link method.

【符号の説明】[Explanation of symbols]

20  制御移行元ロードモジュール 21,31  エントリテーブル 22,32  名称部 23,33  アドレス部 30  制御移行先ロードモジュール 40  制御移行処理部 50  対象表 20 Control transfer source load module 21, 31 Entry table 22, 32 Name part 23, 33 Address part 30 Control transfer destination load module 40 Control transition processing section 50 Target table

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  プログラムの先頭に自ロードモジュー
ル内の制御移行際及びシステム内一意の絶対アドレスが
設定された検索情報テーブルと実際の処理を行うオブジ
ェクトモジュールを有するロードモジュールを、プログ
ラム間の連結編集プログラムにより制御移行先のロード
モジュールのアドレスを制御移行元のロードモジュール
に設定し、該ロードモジュールをメモリにロードしてお
き、前記制御移行元のロードモジュールの前記オブジェ
クトモジュールの情報により前記検索情報テーブルを検
索するためのパラメータを設定し、前記パラメータをキ
ーとして前記制御移行先のロードモジュールの前記検索
情報テーブルを検索し、制御移行元のロードモジュール
から検索結果に該当する制御移行先のロードモジュール
に制御を移行することを特徴とするプログラム間のアド
レス解決方式。
Claim 1: A load module that has a search information table in which an absolute address unique within the system and at the time of control transfer within the self-load module is set at the beginning of the program, and an object module that performs actual processing, is connected and edited between programs. The program sets the address of the load module to which control is to be transferred to the load module from which control is to be transferred, loads the load module into memory, and uses the information of the object module of the load module from which control is to transfer to the search information table. Set a parameter to search for, use the parameter as a key to search the search information table of the load module to which control is to be transferred, and transfer control from the source load module to the load module to which control is to be transferred that corresponds to the search result. An address resolution method between programs characterized by transfer of control.
JP4702791A 1991-03-12 1991-03-12 Address resolving system between programs Pending JPH04282724A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4702791A JPH04282724A (en) 1991-03-12 1991-03-12 Address resolving system between programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4702791A JPH04282724A (en) 1991-03-12 1991-03-12 Address resolving system between programs

Publications (1)

Publication Number Publication Date
JPH04282724A true JPH04282724A (en) 1992-10-07

Family

ID=12763697

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4702791A Pending JPH04282724A (en) 1991-03-12 1991-03-12 Address resolving system between programs

Country Status (1)

Country Link
JP (1) JPH04282724A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09511351A (en) * 1995-01-28 1997-11-11 フィリップス エレクトロニクス ネムローゼ フェンノートシャップ Software configuration in remote communication device
US5841366A (en) * 1995-07-20 1998-11-24 Mazda Motor Coporaton Traveling-path deduction apparatus and method for vehicles

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09511351A (en) * 1995-01-28 1997-11-11 フィリップス エレクトロニクス ネムローゼ フェンノートシャップ Software configuration in remote communication device
US5841366A (en) * 1995-07-20 1998-11-24 Mazda Motor Coporaton Traveling-path deduction apparatus and method for vehicles

Similar Documents

Publication Publication Date Title
US5077654A (en) Virtual machine system which translates virtual address from a selected virtual machine into real address of main storage
JPH09293006A (en) Method for dividing parallel database and control system thereof
JPH04282724A (en) Address resolving system between programs
CN114237769A (en) Program execution method, device, equipment and storage medium
US5684995A (en) Segment division management system
JP3202351B2 (en) Task switching processing method
US7734592B2 (en) Method for reducing a data repository
CN117056031B (en) Cross-container dynamic library sharing method based on virtual process
JP2002024037A (en) Method for updating dynamic link library file
KR960012658B1 (en) Information processing system
JPH0344328B2 (en)
JP3050194B2 (en) A system for dynamically adding a shared memory file between hosts, a method for dynamically adding a shared memory file between hosts, and a recording medium storing a program for dynamically adding a shared memory file between hosts
JPS63136227A (en) System for retrieving program storing file
JPH0581033A (en) Common data management device between programs
JPH01112423A (en) Overlaying control system
JPH05282134A (en) Divided load module formation system
JPH04139545A (en) Data base updating processing system
US20090064150A1 (en) Process Manager
JPH10293691A (en) Register allocating method
JPH0553886A (en) Table access managing system
JPH0128414B2 (en)
JPH05334093A (en) Symbol managing system for language processor
JPS60209862A (en) Address conversion control system
JPH07141189A (en) Overlay linking system
JPH08101843A (en) Information retrieval device