Merge remote-tracking branch 'origin/patch'

This commit is contained in:
Ryan Kurtz
2026-07-10 11:36:18 -04:00

View File

@@ -339,7 +339,7 @@ public class ElfDefaultGotPltMarkup {
return; // failed to identify first PLT entry - skip PLT processing return; // failed to identify first PLT entry - skip PLT processing
} }
Address pltEnd = firstPltEntryAddr.add(pltSpacing * (pltEntryCount - 1)); Address pltEnd = firstPltEntryAddr.add((pltSpacing * pltEntryCount) - 1);
processLinkageTable("PLT", firstPltEntryAddr, pltEnd, monitor); processLinkageTable("PLT", firstPltEntryAddr, pltEnd, monitor);
} }
catch (Exception e) { catch (Exception e) {