I am using RL78 Compiler CC-RL.
When the -device option is specified in the linker, continuous unused area in the RAM area is sought and __STACK_ADDR_START and __STACK_ADDR_END are generated. At this time, are sections with the overlay specification considered?
CC-RL allocates the stack area in consideration of sections with the overlay specification.
For the actual address where sections and the stack area are allocated, refer to the link map file.
|CS+ (formerly CubeSuite+)|
|C Compiler Package for RL78 Family|