[lld] r321738 - Update code as this also handles GOT relocations.

Rafael Espindola via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 3 08:54:18 PST 2018


Author: rafael
Date: Wed Jan  3 08:54:18 2018
New Revision: 321738

URL: http://llvm.org/viewvc/llvm-project?rev=321738&view=rev
Log:
Update code as this also handles GOT relocations.

Modified:
    lld/trunk/ELF/Relocations.cpp

Modified: lld/trunk/ELF/Relocations.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Relocations.cpp?rev=321738&r1=321737&r2=321738&view=diff
==============================================================================
--- lld/trunk/ELF/Relocations.cpp (original)
+++ lld/trunk/ELF/Relocations.cpp Wed Jan  3 08:54:18 2018
@@ -908,7 +908,7 @@ static void scanRelocs(InputSectionBase
 
     bool Preemptible = Sym.IsPreemptible;
 
-    // Strenghten or relax a PLT access.
+    // Strenghten or relax relocations.
     //
     // GNU ifunc symbols must be accessed via PLT because their addresses
     // are determined by runtime.




More information about the llvm-commits mailing list