-Xmerge_string


This option merges string literals.

[Specification format]

-Xmerge_string

 

-

Interpretation when omitted

If the same string literals are included multiple times in the source file, each will be allocated to a separate area.

[Detailed description]

-

When the same string literals exist in the source file, this option merges them and allocates to the one area.

-

The same string literals are allocated to the same area, regardless of whether #pragma section is specified.
However, if a different section is specified, the section to which the string literal is allocated will depend on the order of appearance in the source.

[Example of use]

-

When the same string literals exist in the source file, to merge them and allocate to the one area, describe as:

>ccrh -Xmerge_string -Xcommon=rh850 main.c