mirror of
https://github.com/wiiu-env/WUMSLoader.git
synced 2024-12-25 15:41:50 +01:00
Change way of detecting relocations of imports
This commit is contained in:
parent
51fc349237
commit
db3fe907ef
@ -228,7 +228,7 @@ std::vector<RelocationData> ModuleDataFactory::getImportRelocationData(elfio &re
|
||||
}
|
||||
|
||||
uint32_t adjusted_sym_value = (uint32_t) sym_value;
|
||||
if (adjusted_sym_value < 0xC0000000) {
|
||||
if(infoMap.count(sym_section_index) == 0){
|
||||
continue;
|
||||
}
|
||||
std::optional<ImportRPLInformation> rplInfo = ImportRPLInformation::createImportRPLInformation(infoMap[sym_section_index]);
|
||||
|
Loading…
Reference in New Issue
Block a user