I need some help regarding label addressing. I was going through the following code.
"Stack_Size EQU 0x00000400
AREA STACK, NOINIT, READWRITE, ALIGN=3__stack_limitStack_Mem SPACE Stack_Size__initial_sp
In the above code, an ELF section is created using AREA directive and stack memory of Stack_Size is allocated. There are two labels __stack_limit and __initial_sp. As per my understanding, the label stores the address of instruction or data. But __stack_limit and __initial_sp doesn't corresponds to any instruction or data. So what does this labels store ? I looked at arm assembly reference manual and user guide but couldn't able to get anything out of them.
Thanks in Advance,
These labels are used by your stack set up code. It is an alternative way to define them (recommended is to use ARM_LIB_* regions in scatter file).
In your project do you have an implementation of __user_setup_stackheap (or__user_initial_stackheap)www.keil.com/.../armlink_pge1362065977713.htm
View all questions in Arm Compilers forum