summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/ELF/InputSection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/InputSection.cpp b/lld/ELF/InputSection.cpp
index bb5c6515336..5cabae30f8c 100644
--- a/lld/ELF/InputSection.cpp
+++ b/lld/ELF/InputSection.cpp
@@ -259,7 +259,7 @@ MergeInputSection<ELFT>::getOffset(uintX_t Offset) {
if (Base != uintX_t(-1))
return Base + Addend;
- // Map the base to the offset in the output section and cashe it.
+ // Map the base to the offset in the output section and cache it.
ArrayRef<uint8_t> D = this->getSectionData();
StringRef Data((const char *)D.data(), D.size());
StringRef Entry = Data.substr(Start, End - Start);
OpenPOWER on IntegriCloud