Fix issue with import handling where import section symbols were indexed incorrectly

This commit is contained in:
shinyquagsire23 2016-07-24 17:05:44 -07:00
parent 9f0676c2a8
commit 07245cf136

View File

@ -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;
} }
} }