重定位时 addend 是否需要重新计算 #9
-
// Relocation entry
struct Relocation {
RelocationType type;
size_t offset; // Relocation position
std::string symbol; // Symbol to relocate
int64_t addend; // Relocation addend
};
请问这是否意味着我在重定位的时候需要重新计算addend的值来满足RelocationType |
Beta Was this translation helpful? Give feedback.
Answered by
HuanCheng65
Jan 13, 2025
Replies: 1 comment
-
|
这个肯定不需要,addend是编译时确定好的一个数,文档后面有详细说明 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
luchen022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
这个肯定不需要,addend是编译时确定好的一个数,文档后面有详细说明