The newlib library used by GNUARM does the initialisation of the C runtime in function _mainCRTStartup. This function requires a stack. The stack value is defined by the weak symbol __stack. By providing the __stack symbol in the linker script, _mainCRTStartup use a valid location as a stack for sure.
Description
Description