-Total_size


This option displays the total size of sections after the linking to the standard error output.

[Specification format]

-Total_size

 

-

Interpretation when omitted

None

[Detailed description]

-

This option displays the total size of sections after the linking to the standard error output.

-

The sections are categorized as follows, with the overall size of each being displayed.

-

Executable program sections

-

Non-program sections allocated to the ROM area

-

Sections allocated to the RAM area

-

This option makes it easy to see the total sizes of sections allocated to the ROM and RAM areas.

[Example of use]

-

To display the total size of sections after the linking to the standard error output, describe as:

>rlink a.obj b.obj -total_size

[Remark]

-

The -show=total_size option must be specified in order to output the total sizes to the link map file.

-

When the -rom option has been specified for a section, that section will be used by both the origin (ROM) and destination (RAM) for the transfer of the data in the section. The sizes of such sections are to be considered in the total sizes of sections in both ROM and RAM.

-

If the -form={object|relocate|library} option or -extract option is specified, this option will be invalid.