本網站需要 JavaScript。
探索
說明
登入
AI
/
rocm-systems
關注
2
加上星號
0
Fork
0
程式碼
問題
合併請求
Actions
套件
專案
版本發布
Wiki
動態
Files
d71132de7c9776453985bdbdc56c465c3bd33e22
rocm-systems
/
projects
T
歷史記錄
Alex Voicu
d71132de7c
This corrects how addresses are formed for symbols which reside in shared objects. For this case, the .value component of an ELF symbol holds the offset from the base VA where the shared object was loaded. Thus, to correctly obtain the VA of the object refered by the symbol, we must add the offset to the VA where the shared object is loaded. We were already doing this correctly for symbols denoting functions, but we were incorrect for those denoting objects.
...
[ROCm/hip commit:
5e16ee0d1f
]
2017-11-21 13:15:13 +00:00
..
hip
This corrects how addresses are formed for symbols which reside in shared objects. For this case, the .value component of an ELF symbol holds the offset from the base VA where the shared object was loaded. Thus, to correctly obtain the VA of the object refered by the symbol, we must add the offset to the VA where the shared object is loaded. We were already doing this correctly for symbols denoting functions, but we were incorrect for those denoting objects.
2017-11-21 13:15:13 +00:00