-r4 [V1.07.00 or later]


This option specifies how to handle the r4 register.

[Specification format]

-r4=mode

 

-

Interpretation when omitted

The value of the r4 register is fixed for the entire project.

[Detailed description]

-

This option specifies how to handle the r4 register.

-

The items that can be specified as mode are shown below.

An error will occur if any other item is specified.

fix

Fixes the value of the r4 register for the entire project. Specify this parameter when GP-relative sectionsNote are used.

none

The compiler does not use the r4 register.

Note

See "4.2.6.1 Allocation of function and data to section" for details about GP-relative sections.