Fix typo.
authorRui Ueyama <ruiu@google.com>
Fri, 27 Oct 2017 04:59:33 +0000 (04:59 +0000)
committerRui Ueyama <ruiu@google.com>
Fri, 27 Oct 2017 04:59:33 +0000 (04:59 +0000)
llvm-svn: 316741

lld/ELF/Writer.cpp

index cf07c9d0a05ab6eb0d39ad0d2346c77c59deb78c..c844e36ae478da628778b14df66181f01b326b8b 100644 (file)
@@ -1856,7 +1856,7 @@ template <class ELFT> void Writer<ELFT>::writeTrapInstr() {
                Buf + alignTo(P->p_offset + P->p_filesz, Target->PageSize));
 
   // Round up the file size of the last segment to the page boundary iff it is
-  // an executable segment to ensure that other other tools don't accidentally
+  // an executable segment to ensure that other tools don't accidentally
   // trim the instruction padding (e.g. when stripping the file).
   PhdrEntry *LastRX = nullptr;
   for (PhdrEntry *P : Phdrs) {