mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-22 11:01:11 +01:00
Fix issue with import handling where import section symbols were indexed incorrectly
This commit is contained in:
parent
9f0676c2a8
commit
07245cf136
@ -561,7 +561,7 @@ getSectionIndex(std::vector<OutputSection *> &outSections, uint32_t address)
|
|||||||
auto start = section->header.addr;
|
auto start = section->header.addr;
|
||||||
auto end = start + section->header.size;
|
auto end = start + section->header.size;
|
||||||
|
|
||||||
if (address >= start && address <= end) {
|
if (address >= start && address < end) {
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user