What is absolute symbol and how to define it in C?
问题 In the man page of nm . It says “A” The symbol's value is absolute, and will not be changed by further linking. However, I don't know what that means. How can I define a variable or something else to make its value absolute in C ? If I declare a variable in test.c in its file scope int a; Then in the output of nm , the entry for a will be the following on my machine 0000000000000004 C a So I'm wondering what can I do to make the nm output “A” for a variable. And I don't know what “absolute”