- IAR Embedded Workbench for RL78 5.20
- IAR C/C++ Development
- Linking your application
- Linking considerations
- Linking object files produced by the Renesas CC-RL compiler
Linking object files produced by the Renesas CC-RL compiler
In this section:
ILINK does not fully support linking sections with the attribute not-separated in object files produced by the Renesas CC-RL compiler, like the section text_unit64kp. To prevent ILINK from separating such section parts, you can either:
In either C or assembler source code, take the size of a section or the start or end address of a section.
In the linker configuration file, put the section(s) in a separate block that you place in the correct memory using the
define blockandplace indirectives, like this:define block MY_BLOCK { [ro|rw] section MY_SEG }; "ROMFAR":place in ROM_far { block MY_BLOCK };