Undefined symbol Image$$ZI$$Limit

出现此错误是因为:


5.1.1. Symbols defined for scatter-loading

When the linker is creating an image using a scatter-loading description, it creates some region-related symbols. These are described in Region-related symbols. The linker creates these special symbols only if your code references them.

Undefined symbols

Be aware that these symbols are not defined when a scatter-loading description file is used:

  • Image$$RW$$Base

  • Image$$RW$$Limit

  • Image$$RO$$Base

  • Image$$RO$$Limit

  • Image$$ZI$$Base

  • Image$$ZI$$Limit

Because the default implementation uses Image$$ZI$$Limit, you must reimplement __user_initial_stackheap() and define a value for the start of the heap region and the top of the stack region. For more information see:

  • the chapter describing the C and C++ libraries in RealView Compilation Tools v2.2 Compiler and Libraries Guide (for details on library memory models)

  • the chapter describing how to develop embedded software in RealView Compilation Tools v2.2 Developer Guide.

If you do not reimplement __user_initial_stackheap(), the following error message is displayed from the linker:


Undefined symbol Image$$ZI$$Limit (referred from sys_stackheap.o).

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值