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 6 LINKER OPTIONS<br />

6.2.5 Specification of Outputting Relative Format Load Module<br />

(-r)<br />

The -r option is an option to specify creating a load module of the relative format that<br />

can be reentered. A load module of the relative format has a format that gathers<br />

multiple modules in one file without performing address resolution.<br />

■ Specification of Outputting Relative Format Load Module (-r)<br />

[Format]<br />

-r<br />

[Parameter]<br />

None<br />

[Description]<br />

This option specifies the load module file output in the relative format.<br />

Specify this option when changing the default output (absolute format) of the linker.<br />

If the -r option is specified after -a option, the -a option can be canceled.<br />

A load module of the relative format has a format that gathers multiple object modules in one file<br />

without performing address resolution. A file of this format can be reentered in the linker, reducing the<br />

number of input files to be specified for the following link processing. However, if any change occurs<br />

in a module contained in the load module, it cannot be replaced with a library format file.<br />

If this option is specified, all options related to the absolute format assemble list and object content list<br />

are ignored and their files are not output.<br />

Output files are created with the following names.<br />

• If the -o option is not specified<br />

Name of the input file specified first with the extension changed to ".rel".<br />

• If the -o option is specified<br />

Specified name. If no extension is specified, ".rel" is added to the name.<br />

[Example]<br />

flnk911s a1 a2 a3 -r -o a123.rel<br />

The output object format of the linker is changed to the relative format.<br />

Note:<br />

If the extension of the input file specified first is ".rel", the output file name will be the same. Since<br />

the contents of the input file are not saved in this case, specify the output file name with -o option to<br />

avoid any inconvenience.<br />

1<strong>00</strong> PART II LINKER

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

Saved successfully!

Ooh no, something went wrong!