[lld] 0a6aad5 - [ELF] Fix typo. NFC

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 4 09:26:33 PDT 2021


Author: Fangrui Song
Date: 2021-08-04T09:26:29-07:00
New Revision: 0a6aad5991ad0230bd435e2ff12f3e4e9614de58

URL: https://github.com/llvm/llvm-project/commit/0a6aad5991ad0230bd435e2ff12f3e4e9614de58
DIFF: https://github.com/llvm/llvm-project/commit/0a6aad5991ad0230bd435e2ff12f3e4e9614de58.diff

LOG: [ELF] Fix typo. NFC

Added: 
    

Modified: 
    lld/ELF/Driver.cpp

Removed: 
    


################################################################################
diff  --git a/lld/ELF/Driver.cpp b/lld/ELF/Driver.cpp
index 9675fef6801d..551a3d3c3bb6 100644
--- a/lld/ELF/Driver.cpp
+++ b/lld/ELF/Driver.cpp
@@ -2094,7 +2094,7 @@ static void redirectSymbols(ArrayRef<WrappedSymbol> wrapped) {
               : sym1->section == sym2->section && sym1->value == sym2->value) {
         // Due to an assembler design flaw, if foo is defined, .symver foo,
         // foo at v1 defines both foo and foo at v1. Unless foo is bound to a
-        // 
diff erent version, GNU ld makes foo at v1 canonical and elimiates foo.
+        // 
diff erent version, GNU ld makes foo at v1 canonical and eliminates foo.
         // Emulate its behavior, otherwise we would have foo or foo@@v1 beside
         // foo at v1. foo at v1 and foo combining does not apply if they are not
         // defined in the same place.


        


More information about the llvm-commits mailing list