[lld] r315559 - Fix comment.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 11 21:52:54 PDT 2017
Author: ruiu
Date: Wed Oct 11 21:52:54 2017
New Revision: 315559
URL: http://llvm.org/viewvc/llvm-project?rev=315559&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=315559&r1=315558&r2=315559&view=diff
==============================================================================
--- lld/trunk/ELF/Relocations.cpp (original)
+++ lld/trunk/ELF/Relocations.cpp Wed Oct 11 21:52:54 2017
@@ -852,7 +852,7 @@ static void scanRelocs(InputSectionBase
if (Config->MipsN32Abi)
Type = getMipsN32RelType(I, End);
- // Compute the offset of this section in the output section.
+ // Get an offset in an output section this relocation is applied to.
uint64_t Offset = GetOffset.get(Rel.r_offset);
if (Offset == uint64_t(-1))
continue;
More information about the llvm-commits
mailing list