- IAR Embedded Workbench for RL78 5.20
- IAR C/C++ Development
- Linker options
- Descriptions of linker options
Descriptions of linker options
In this section:
The following pages give detailed reference information about each linker option.
To comply with the RL78 ABI, the compiler generates assembler labels for symbol and function names by prefixing an underscore. You must remember to add this extra underscore when you refer to C symbols in any of the linker options, such as ‑‑define_symbol and ‑‑redirect, or in directives in the linker configuration file, such as define symbol. For example, main must be written as _main.
Warning
If you use the options page Extra Options to specify specific command line options, the IDE does not perform an instant check for consistency problems like conflicting options, duplication of options, or use of irrelevant options.