您好,登錄后才能下訂單哦!
最好是閱讀 man nm
nm - list symbols from object files
If lowercase, the symbol is local; if uppercase, the symbol is global (external)
其輸出結(jié)果:
"A" The symbol’s value is absolute, and will not be changed by further linking.
"B"/"b" The symbol is in the uninitialized data section (known as BSS).
"C" The symbol is common. Common symbols are uninitialized data. When linking, multiple common symbols may appear with the same name. If the symbol is defined anywhere, the common symbols are treated as undefined references.
"D"/"d" The symbol is in the initialized data section.
"T"/"t" The symbol is in the text (code) section.
"U" The symbol is undefined.
"u" The symbol is a unique global symbol. This is a GNU extension to the standard set of ELF symbol bindings. For such a symbol the dynamic linker will make sure that in the entire process there is just one symbol with this name and type in use.
"S"/"s" The symbol is in an uninitialized data section for small objects.
A | Global absolute 符號。 |
a | Local absolute 符號。 |
B | Global bss 符號。 |
b | Local bss 符號。 |
D | Global data 符號。 |
d | Local data 符號。 |
f | 源文件名稱符號。 |
T | Global text 符號。 |
t | Local text 符號。 |
U | 未定義符號。 |
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。