我有一个很小的程序,在午夜的时候,指挥官会这样看:
/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
等是什么意思? 最佳答案
从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.
等等。
关于linux - Midnite指挥官ELF查看器-这些符号是什么意思?,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/26832176/