This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi All,
My customer has found that he can’t force linker to generate special symbols related to stack memory arrangement.
These symbols are __STACK_SIZE and __STACK_END (or __TI_STACK_SIZE and __TI_STACK_END – it is now quite clear from the information I’ve found on the web).
According to SPNU151, section 6.1.2, the linker shall generate at least the __STACK_SIZE but it doesn’t... Any thoughts on why?
He has found a workaround: the HALCoGen generates similar macros (as opposite to symbol table entries) in sys_core.h so he is just using those. However, I am a bit uncomfortable that he can’t force the linker to do what it supposed to do in theory.
Many thanks in advance for your help,
Ross
Ross Parlour said:My customer has found that he can’t force linker to generate special symbols related to stack memory arrangement.
These symbols are __STACK_SIZE and __STACK_END
I cannot reproduce this behavior. Something odd must be going on. Is there a section named .stack? And it has non-zero length?
Thanks and regards,
-George