I am using the CC-RL compiler for RL78 devices. How do I identify the address of a global variable in the C language? Also, can I get a list of all symbols and addresses as output?
Designate the linker’s –show=symbol option. The symbol information will be output in the linkage list file, and you can find the values which belong to each of the symbols (addresses of variables).
|CS+ (formerly CubeSuite+)|
|C Compiler Package for RL78 Family|