From f09dce564e9cdea6e4b2803682b61fdd8bf4d094 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Tue, 12 Oct 2021 17:03:22 -0400 Subject: [PATCH] [lld] fix typos to cycle bots --- lld/COFF/SymbolTable.cpp | 2 +- lld/ELF/SyntheticSections.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lld/COFF/SymbolTable.cpp b/lld/COFF/SymbolTable.cpp index 47b339b..cd644e86 100644 --- a/lld/COFF/SymbolTable.cpp +++ b/lld/COFF/SymbolTable.cpp @@ -265,7 +265,7 @@ void SymbolTable::loadMinGWSymbols() { if (config->machine == I386 && config->stdcallFixup) { // Check if we can resolve an undefined decorated symbol by finding - // the indended target as an undecorated symbol (only with a leading + // the intended target as an undecorated symbol (only with a leading // underscore). StringRef origName = name; StringRef baseName = name; diff --git a/lld/ELF/SyntheticSections.cpp b/lld/ELF/SyntheticSections.cpp index b3e5ede..0423cb0 100644 --- a/lld/ELF/SyntheticSections.cpp +++ b/lld/ELF/SyntheticSections.cpp @@ -1119,7 +1119,7 @@ void MipsGotSection::writeTo(uint8_t *buf) { if (p.first == nullptr && !config->shared) write(p.second, nullptr, 1); else if (p.first && !p.first->isPreemptible) { - // If we are emitting a shared libary with relocations we mustn't write + // If we are emitting a shared library with relocations we mustn't write // anything to the GOT here. When using Elf_Rel relocations the value // one will be treated as an addend and will cause crashes at runtime if (!config->shared) -- 2.7.4