[lld] r353605 - [ELF] Delete a comment that is no longer correct. Fix a typo. NFC

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 9 02:09:41 PST 2019


Author: maskray
Date: Sat Feb  9 02:09:40 2019
New Revision: 353605

URL: http://llvm.org/viewvc/llvm-project?rev=353605&view=rev
Log:
[ELF] Delete a comment that is no longer correct. Fix a typo. NFC

Modified:
    lld/trunk/ELF/Relocations.cpp
    lld/trunk/test/ELF/allow-shlib-undefined.s

Modified: lld/trunk/ELF/Relocations.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Relocations.cpp?rev=353605&r1=353604&r2=353605&view=diff
==============================================================================
--- lld/trunk/ELF/Relocations.cpp (original)
+++ lld/trunk/ELF/Relocations.cpp Sat Feb  9 02:09:40 2019
@@ -1003,7 +1003,7 @@ static void scanReloc(InputSectionBase &
   if (Config->EMachine == EM_PPC64 && isPPC64SmallCodeModelReloc(Type))
     Sec.File->PPC64SmallCodeModelRelocs = true;
 
-  // Strenghten or relax relocations.
+  // Strengthen or relax relocations.
   //
   // GNU ifunc symbols must be accessed via PLT because their addresses
   // are determined by runtime.

Modified: lld/trunk/test/ELF/allow-shlib-undefined.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/allow-shlib-undefined.s?rev=353605&r1=353604&r2=353605&view=diff
==============================================================================
--- lld/trunk/test/ELF/allow-shlib-undefined.s (original)
+++ lld/trunk/test/ELF/allow-shlib-undefined.s Sat Feb  9 02:09:40 2019
@@ -1,5 +1,4 @@
 # REQUIRES: x86
-# --allow-shlib-undefined is set by default
 
 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux \




More information about the llvm-commits mailing list