summaryrefslogtreecommitdiffstats
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
commite178c2f7c648ebb32fd889e04c281490348e66b1 (patch)
tree3a65992d7210a0f0749dadab5c7b55a7ab5af25c
parent1abbb31bd4be4dc355de055f9ed3a092813fcead (diff)
downloadbcm5719-llvm-e178c2f7c648ebb32fd889e04c281490348e66b1.tar.gz
bcm5719-llvm-e178c2f7c648ebb32fd889e04c281490348e66b1.zip
Fix comment.
llvm-svn: 273140
-rw-r--r--lld/ELF/Relocations.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/Relocations.cpp b/lld/ELF/Relocations.cpp
index 9b6105f9622..32c7b6a29ed 100644
--- a/lld/ELF/Relocations.cpp
+++ b/lld/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);
OpenPOWER on IntegriCloud