|
发表于 2013-4-26 12:20:46
|
显示全部楼层
打开Xilinx Tools -》 XMD Console
XMD% cd (elf所在目录, 假设hello_world_0.elf为目标文件)
XMD% connect mdm
Connected to MDM UART Target
XMD% dow hello_world_0.elf
Downloading Program -- hello_world_0.elf
section, .vectors.reset: 0x00000000-0x00000003
section, .vectors.sw_exception: 0x00000008-0x0000000b
section, .vectors.interrupt: 0x00000010-0x00000013
section, .vectors.hw_exception: 0x00000020-0x00000023
section, .text: 0x00000050-0x000010ab
section, .init: 0x000010ac-0x000010df
section, .fini: 0x000010e0-0x000010fb
section, .ctors: 0x000010fc-0x00001103
section, .dtors: 0x00001104-0x0000110b
section, .rodata: 0x0000110c-0x00001515
section, .sdata2: 0x00001516-0x00001517
section, .data: 0x00001518-0x0000162b
section, .eh_frame: 0x0000162c-0x0000162f
section, .jcr: 0x00001630-0x00001633
section, .bss: 0x00001638-0x0000165b
section, .heap: 0x0000165c-0x00001a5f
section, .stack: 0x00001a60-0x00001e5f
Setting PC with Program Start Address 0x00000000
System Reset .... DONE
红色部分就是编译后的堆栈起始地址。 |
|