+ -
当前位置:首页 → 问答吧 → 100分请教u-boot.lds链接脚本的问题

100分请教u-boot.lds链接脚本的问题

时间:2011-11-30

来源:互联网

u-boot在u-boot.lds中定义了:
C/C++ code

    . = .;
    __u_boot_cmd_start = .;
    .u_boot_cmd : { *(.u_boot_cmd) }
    __u_boot_cmd_end = .;


编译完后:system.map,u-boot.map都能找到定义,但在command.c中却打印出来的地址却是0;请问应该怎么办?

作者: ZhengKarl   发布时间: 2011-11-30

打印的是&__u_boot_cmd_start?

作者: cdbdyx   发布时间: 2011-12-01

热门下载

更多