Skip to main content
Knowledgebase
Home
Renesas Electronics Europe - Knowledgebase

Symbol names of static functions and static variables (RL78 CC-RL)

Latest Updated:12/05/2016

Question:

What will the symbol names be for static functions and variables once compiled by the RL78 CC-RL compiler?

Answer:

The RL78 CC-RL compiler will create the symbol names for static functions and static variables as follows:
 
-For static functions
_function name@num
 
-For static variables in a file
_variable name@num
 
-For static variables in a function
_variable name@num@a function label
 
The “num” can be any number. The compiler will add it.
Suitable Products
e² studio
CS+ (formerly CubeSuite+)
C Compiler Package for RL78 Family