aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2016-06-20 08:34:50 +0000
committerRui Ueyama <ruiu@google.com>2016-06-20 08:34:50 +0000
commit5d4fb597d59268017948b62378c20882f8bbc00f (patch)
treefabe43289f5bf777b697d95b0107d39c31daca79
parentfed7c0df3e87e3d2b94b24e0dea9220caa7c8bca (diff)
Fix comment.
git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@273140 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--ELF/Relocations.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ELF/Relocations.cpp b/ELF/Relocations.cpp
index 9b6105f96..32c7b6a29 100644
--- a/ELF/Relocations.cpp
+++ b/ELF/Relocations.cpp
@@ -644,7 +644,7 @@ template <class ELFT> void scanRelocations(InputSection<ELFT> &C) {
// 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);