mirror of
https://github.com/devkitPro/wut.git
synced 2026-07-31 06:56:54 -05: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 end = start + section->header.size;
|
||||
|
||||
if (address >= start && address <= end) {
|
||||
if (address >= start && address < end) {
|
||||
return i;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user