Everything
8.4 Symbols

In the CC-RH, the following symbols are used as necessary.

-

__gp_data symbol

It is the value to be set in the global pointer register (r4).

It is used to reference variables allocated to the sdata or sdata23 attribute section with short instructions. It is also used by the position independent data (PID) facility.

-

__ep_data symbol

It is the value to be set in the element pointer register (r30).

It is used to reference variables allocated to the tdata, edata, or edata23 attribute section with short instructions. It is also used by the position independent data (PID) facility.

-

__pc_data symbol

It is used to reference variables allocated to the pcconst16, pcconst23, or pcconst32 attribute section.

 

The method for determining each symbol value is described here.