Message E0562325 (CC-RL)

Question:

I am using the CC-RL compiler for RL78 devices. What is the solution to the error below?
E0562325: Section “.constf” steps over the border of “64K”.

Answer:

This error occurs if ROM data which is placed in the section .constf straddles the 64-Kbyte boundary of the section. Use #pragma section directives in the C source file, and specify section names for the sections for ROM data so as to make each section no larger than 64 Kbytes.
Then, use the -STARt option of the linker to specify an arrangement of sections such that they do not straddle 64-Kbyte boundaries.