[lld] r273140 - Fix comment.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 20 01:34:50 PDT 2016


Author: ruiu
Date: Mon Jun 20 03:34:50 2016
New Revision: 273140

URL: http://llvm.org/viewvc/llvm-project?rev=273140&view=rev
Log:
Fix comment.

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=273140&r1=273139&r2=273140&view=diff
==============================================================================
--- lld/trunk/ELF/Relocations.cpp (original)
+++ lld/trunk/ELF/Relocations.cpp Mon Jun 20 03:34:50 2016
@@ -644,7 +644,7 @@ template <class ELFT> void scanRelocatio
   // of tests to determine if it needs special treatment, such as
   // creating GOT, PLT, copy relocations, etc.
   // Note that relocations for non-alloc sections are directly
-  // processed by InputSection::relocateNative.
+  // processed by InputSection::relocateNonAlloc.
   if (C.getSectionHdr()->sh_flags & SHF_ALLOC)
     for (const Elf_Shdr *RelSec : C.RelocSections)
       scanRelocations(C, *RelSec);




More information about the llvm-commits mailing list