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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CHAPTER 9 SPECIFICATIONS OF A LIBRARIAN<br />

9.6 Checking and Displaying the Contents of a Library File<br />

The following two items are checked.<br />

• Whether an unsolved external reference symbol exists in a library<br />

• Whether a module with debugging information exists<br />

Additionally, this function provides you with information such as the date and time of<br />

creating and updating a library file and registering a module and the names of external<br />

definition symbols defined in each module.<br />

■ Checking the Contents of a Library File<br />

The following two items may be checked.<br />

● Whether an unsolved external reference symbol exists in a library<br />

A linker, when a module taken in from a library contains an external reference symbol, first searches for a<br />

defined symbol in the same library file.<br />

Therefore, it is recommended that whenever an external reference symbol exists in a module in a library<br />

file, the module containing the concerned external definition symbol should be registered in the same<br />

library file.<br />

The program checks the correspondence between external reference and defined symbols in a library file.<br />

If any undefined reference symbols remain, it outputs a diagnostic message.<br />

● Whether a module with debugging information exists<br />

If an object module with debugging information is contained, a diagnostic message is output.<br />

If a module to be registered with the -g option specification in a library file contains debugging information in<br />

the object module, it is registered in the library with the debugging information unremoved.<br />

The above function is provided so that a module registered in a library may be debugged. However, after<br />

the operation check, the debugging information will no longer be required.<br />

■ Displaying the Contents of a Library File<br />

The module and external definition symbol information of a library file is edited and output to a list file or<br />

the standard output.<br />

The list provides information such as: the date and time a library file was created and updated, when a<br />

module was registered, and the name of an external definition symbol defined in each module.<br />

For the contents of display, see "CHAPTER 11 LIST FORMATS OF A LIBRARIAN".<br />

212 PART III LIBRARIAN

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

Saved successfully!

Ooh no, something went wrong!