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.

5.2 Functions of a Linker<br />

5.2 Functions of a Linker<br />

A linker has many functions which can be roughly classified into the following four<br />

groups.<br />

• Control on input-output files and messages<br />

• Control on combining and locating sections<br />

• Control on searching libraries<br />

• Setting entry addresses and symbol values<br />

■ Control on Input-output Files and Messages<br />

The following describes the overview of control and input-output files. For details, see Section "5.2.1<br />

Control on Input-Output Files and Messages".<br />

• There are the following four types of input files:<br />

- Object module file that an assembler outputs<br />

- List file<br />

- Relative format load module file that a linker outputs<br />

- Library file<br />

• Object module files and load module files are processed in the order that they are written on a command<br />

line or in an option file.<br />

• There are the following three types of output files:<br />

- Absolute format load module file that is the final objective<br />

- Relative format load module file that can be input again<br />

- Link map list file<br />

• The output load module format (absolute or relative) may be specified and the output file name may be<br />

changed.<br />

• For a map list, the number of lines per page and the width of a page may be changed.<br />

• Specify an option to output one of the following four types of files.<br />

- Absolute format assemble list file is created by adding to the absolute format a list file that an<br />

assembler has output.<br />

- External symbol cross-reference information list that shows the cross-reference between external<br />

defined symbols and reference symbols used in modules<br />

- Local symbol information list that shows the information on local symbols used in each module<br />

- Section detailed map list that shows section location addresses in each module<br />

To output these files, the link load module must be in the absolute format.<br />

• Messages consist of startup messages including the program version number, help messages briefly<br />

describing how to use the program, and error messages. You can specify whether or not to output a<br />

startup message and the level of detecting a warning status.<br />

PART II LINKER 53

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

Saved successfully!

Ooh no, something went wrong!