This website requires JavaScript.
Explore
Help
Sign In
AI
/
rocm-systems
Watch
2
Star
0
Fork
0
You've already forked rocm-systems
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
d71132de7c9776453985bdbdc56c465c3bd33e22
rocm-systems
/
projects
T
History
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