[lld] fix typos to cycle bots
authorNico Weber <thakis@chromium.org>
Tue, 12 Oct 2021 21:03:22 +0000 (17:03 -0400)
committerNico Weber <thakis@chromium.org>
Tue, 12 Oct 2021 21:03:39 +0000 (17:03 -0400)
lld/COFF/SymbolTable.cpp
lld/ELF/SyntheticSections.cpp

index 47b339b..cd644e8 100644 (file)
@@ -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;
index b3e5ede..0423cb0 100644 (file)
@@ -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)