Replies: 1 comment 1 reply
-
|
已经找到问题所在了! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
对于task5出现了一些无法理解的情况:运行程序之后,PI和E的输出值均为0,但是其他的重定位条目均正常运行
我检查了一下程序表头,只有两个段,.rodata和.text,它们的地址(4194304和4198400)转换为十六进制之后分别为0x400000和0x401000(4KB对齐)
在合并后的program文件中寻找相应的部分,发现重定位条目在.text段偏移40个字节的地方
所以重定位的绝对地址为0x401000+40=0x401028
Beta Was this translation helpful? Give feedback.
All reactions