Replies: 1 comment
-
|
bonus_1的测试不应该有Link executable with shared library吧 我看一下) |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
from
bonus1.md这里的库起始位置是否改成所在节起始位置更好?
因为我认为对于库起始位置容易理解为相对整个库基址的偏移(例如0x400000,虽然实际上库的基址不是这个),可在symbol的原定义中offset是相对于其所在节的偏移。事实上,我一开始理解成了前一种情况,然后在计算symbol的offset的时候直接拿它的地址减去整个库的起始地址,没有考虑它所在的节,然后在19-shared-lib-weak这个test上卡死了:(
以及,bonus_1要求的是生成共享库,但实际上在 bonus_1的测试中出现了一些
Link executable with shared library的测试点,这是何意味Beta Was this translation helpful? Give feedback.
All reactions