Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
elf: Use correct offset to dynamic linking string table
String table used for "needed" tags (the string seen with ldd etc) was using address as offset which seem to work as it's usually the same as correct offset. But this is not true for some ELFs. Then we have to look up offset by finding the section by address and then use its offset for the string table. Hope this is the correct way. Not sure how to produce a small test for this.
- Loading branch information