-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-support function (-rom option) has been specified for a section, the section will be used by both the source (ROM) and destination (RAM) of the transfer. The sizes of sections of this type will be added to 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.