Page MenuHomePhabricator

Provide __stack symbol in bl2 ld file
Closed, ResolvedPublic

Description

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.

Event Timeline

matetothpal triaged this task as Low priority.Aug 1 2018, 6:14 PM
matetothpal created this task.

The change for this issue is:
https://review.trustedfirmware.org/#/c/129/

matetothpal closed this task as Resolved.Oct 12 2018, 11:09 AM