Skip to main content
Knowledgebase
Home
Renesas Electronics America - Knowledgebase

Does the symbol unresolved refers to in boot area or library file?

Latest Updated:12/01/2014

Question:

I am using the CA78K0R compiler for RL78 and 78K0R products. When I use the relinking function for a project in the flash area and a symbol is unresolved, does this refer to a symbol in the boot area or in a library file specified by the project in the flash area?

Answer:

In linking to objects in the flash area by the CA78K0R, it finds unresolved symbols by referring to the symbols in the boot area and the symbols in the library files.
The following explains the situation when the same standard library function for the compiler is called from both the boot and flash areas.
When a library function is called from the boot area, it is linked to objects in the boot area.
When a library function is called from the flash area and allocated to the boot area, it is not linked to the object in the flash area because the library function in the boot area is called.
If there are no library functions in the boot area, the library functions are linked to objects in the flash area.
Suitable Products
C Compiler Package for RL78 and 78K Families
Compiler for RL78 Family and 78K0R [CA78K0R]
Compiler for 78K0R [CC78K0R]
Assembler Package for 78K0R [RA78K0R]