diff options
Diffstat (limited to 'lld/ELF/Relocations.cpp')
-rw-r--r-- | lld/ELF/Relocations.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lld/ELF/Relocations.cpp b/lld/ELF/Relocations.cpp index 654ed2f1fcf..cd71961804b 100644 --- a/lld/ELF/Relocations.cpp +++ b/lld/ELF/Relocations.cpp @@ -1639,18 +1639,18 @@ void ThunkCreator::createInitialThunkSections( lastThunkLowerBound = isdEnd - thunkSectionSpacing; uint32_t isecLimit; - uint32_t prevISLimit = isdBegin; + uint32_t prevIsecLimit = isdBegin; uint32_t thunkUpperBound = isdBegin + thunkSectionSpacing; for (const InputSection *isec : isd->sections) { isecLimit = isec->outSecOff + isec->getSize(); if (isecLimit > thunkUpperBound) { - addThunkSection(os, isd, prevISLimit); - thunkUpperBound = prevISLimit + thunkSectionSpacing; + addThunkSection(os, isd, prevIsecLimit); + thunkUpperBound = prevIsecLimit + thunkSectionSpacing; } if (isecLimit > lastThunkLowerBound) break; - prevISLimit = isecLimit; + prevIsecLimit = isecLimit; } addThunkSection(os, isd, isecLimit); }); |