diff --git a/lld/ELF/Symbols.cpp b/lld/ELF/Symbols.cpp index a54f68edf952..3ce6a9899143 100644 --- a/lld/ELF/Symbols.cpp +++ b/lld/ELF/Symbols.cpp @@ -698,7 +698,7 @@ static void replaceCommon(Symbol &oldSym, const LazyT &newSym) { template void Symbol::resolveLazy(const LazyT &other) { // For common objects, we want to look for global or weak definitions that - // should be fetched as the cannonical definition instead. + // should be fetched as the canonical definition instead. if (isCommon() && elf::config->fortranCommon) { if (auto *laSym = dyn_cast(&other)) { ArchiveFile *archive = cast(laSym->file);