31.12.2013 Views

Linkage Kit Manual V6-00 - Fujitsu

Linkage Kit Manual V6-00 - Fujitsu

Linkage Kit Manual V6-00 - Fujitsu

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

5.7 Searching Libraries<br />

5.7.6 Processing when Library Files are Individually Specified<br />

Section 5.7.6 shows the processing when library files are individually specified as<br />

shown in Figure 5.7-6.<br />

■ Processing when Library Files are Individually Specified<br />

Figure 5.7-6 Processing when Library Files are Individually Specified<br />

Library file 1<br />

{S1}<br />

{S2}<br />

Object X<br />

X<br />

Reference(S1)<br />

Reference(S2)<br />

Symbol table<br />

:<br />

A<br />

B<br />

A<br />

Definition {S1}<br />

+<br />

Extracted module<br />

C<br />

Definition {S2}<br />

A<br />

Definition {S1}<br />

Load module after linking<br />

X<br />

Reference(S1)<br />

Reference(S2)<br />

C<br />

Definition {S2}<br />

A<br />

Definition {S1}<br />

B<br />

Definition {S2}<br />

:<br />

Library file 2<br />

Symbol table<br />

{S2}<br />

:<br />

C<br />

Definition {S2}<br />

:<br />

C<br />

The external reference symbols for which the library files are individually specified are searched first.<br />

Here, the (S2) symbol is assumed to be imported from Library 2.<br />

Library 2 is searched for (S2) and Module C is linked.<br />

To solve (S1), the program searches Library File 1 and link Module A.<br />

{S2} in Library File 1 is not searched.<br />

PART II LINKER 79

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!