Everything

-output


< Optimizing Linkage Editor (rlink) Options / Output Options >

[Format]

-output = <suboption>[,...]
          <suboption>:  {<file name> | <file name>=<output range> |
                         <file name>=<output range>/<load address> |
                         <file name>=/<load address>}
          <output range>:  {<start address>-<end address> | <section name>[:...]}

 

-

[Default]

When this option is omitted, the default is <first input file name>.<default extension>.

The default extensions are as follows:

form=absolute: abs, form=relocate: rel, form=object: obj, form=library: lib, form=hexadecimal: hex, form=stype: mot, form=binary: bin

[Description]

-

Specifies an output file name. When form=absolute, hexadecimal, stype, or binary is specified, two or more files can be specified. An address is specified in the hexadecimal notation. If the specified data starts with a letter from A to F, sections are searched first, and if no corresponding section is found, the data is interpreted as an address. Data starting with 0 are always interpreted as addresses.

-

[V3.00.00 or later] If a load address is specified, when outputting an Intel HEX file or Motorola S-record file, the first load address in the file is changed to the specified value.

[Examples]

output=file1.abs=0-ffff,file2.abs=10000-1ffff

-

Outputs the range from 0 to 0xffff to file1.abs and the range from 0x10000 to 0x1ffff to file2.abs.

output=file1.abs=sec1:sec2,file2.abs=sec3

-

Outputs the sec1 and sec2 sections to file1.abs and the sec3 section to file2.abs.

[Remarks]

-

When a file is output in section units while the CPU type is RX Family in big endian, the section size should be a multiple of 4.

-

[V3.00.00 or later] A load address can be specified only when form=hexadecimal or form=stype is specified.