#pragma section requires the section name to be converted because the section names differ between the CA78K0 and CC-RL. However, some sections cannot be converted because there are no corresponding sections on the CC-RL side. Though conversion is possible, some sections have slightly different facilities. The CcnvCA78K0 outputs a message to the standard error output upon conversion of some sections. For details, see "Correspondence Table of Section Names".
The format of the CA78K0 is as follows.
The format of the CC-RL is as follows.
Since the CC-RL does not have a facility equivalent to "AT-start-address", if there is "AT-start-address", the CcnvCA78K0 deletes it and outputs a message. Use the -start option to specify the location of the section in the CC-RL. For details on the -start option, see the user's manual of the CC-RL. |
"changed-section-name" is directly output without being converted. If a character unusable in the CC-RL (e.g., ?) is used in the changed section name, a compile error will occur in the CC-RL. Change the string after conversion. |
In #pragma section of the CC-RL, the section name is "changed section name + _n" or "changed section name + _f", and the section name for the saddr area is "changed section name + _s". For details, see the user's manual of the CC-RL. |
If conversion is not possible because there is no corresponding section in the CC-RL, the CcnvCA78K0 outputs a message and does not perform conversion. Then the CC-RL outputs a message and ignores the #pragma directive. Modify the C source program in accordance with the Correspondence Table of Section Names described later. |