我有一个小程序,在Midnite Commander中查看时看起来像这样:
/home/adrian/Imperas/mb_boot /startup.MICROBLAZE.elf 486/486 100%
/home/adrian/Imperas/mb_boot/startup.MICROBLAZE.elf: ELF 32-bit MSB executable, version 1 (SYSV), dynamically linked (uses shared libs), not stripped
100000f0 T _actualstart
100012b4 A __bss_start
10001228 d _DYNAMIC
100012b4 A _edata
100012b4 A _end
100012a8 d _GLOBAL_OFFSET_TABLE_
1000010c t _handle_exception
1000010c t _handle_hwexception
1000010c t _interrupt_handler
10000110 T _start
10000128 t _vector_hw_exception
10000120 t _vector_interrupt
10000118 t _vector_sw_exception
各种符号,例如_vector_sw_exception
对应于我在汇编中的内容 - 但A
,T
,t
等等是什么意思?
答案 0 :(得分:1)
来自nm(1)
手册页:
"A" The symbol's value is absolute, and will not be changed by further linking.
...
"T" "t" The symbol is in the text (code) section.
等等。