Since the PowerON_Reset_PC function in the resetprg.c file of the startup routine is declared by "#pragma entry", the compiler and optimizing linkage editor automatically generate the initialization code for the user stack USP and interrupt stack ISP at the top of the function, based on the settings below.
Specify the size of the stack area by #pragma stacksize su=0xXXX in the stacksct.h file, and specify the location of the SU section by the -start option of the optimizing linkage editor.
Specify the size of the stack area by #pragma stacksize si=0xXXX in the stacksct.h file, and specify the location of the SI section by the -start option of the optimizing linkage editor.