我已经重新定义了__user_initial_stackheap
__value_in_regs struct __initial_stackheap __user_initial_stackheap(
unsigned R0, unsigned SP, unsigned R2, unsigned SL)
{
struct __initial_stackheap config;
config.heap_base = (unsigned int)&bottom_of_heap;
config.stack_base = SP; // inherit SP from the execution environment
return config;
}
确保地址正确,如果在程序中使用malloc的话,
在初始化C库的时候就出错了,
执行到这里__rt_lib_init 就出错。
各位大虾可否指点一二