[lld] r259458 - Update a comment.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 1 18:53:58 PST 2016


Author: ruiu
Date: Mon Feb  1 20:53:58 2016
New Revision: 259458

URL: http://llvm.org/viewvc/llvm-project?rev=259458&view=rev
Log:
Update a comment.

Modified:
    lld/trunk/ELF/OutputSections.cpp

Modified: lld/trunk/ELF/OutputSections.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/OutputSections.cpp?rev=259458&r1=259457&r2=259458&view=diff
==============================================================================
--- lld/trunk/ELF/OutputSections.cpp (original)
+++ lld/trunk/ELF/OutputSections.cpp Mon Feb  1 20:53:58 2016
@@ -176,7 +176,8 @@ PltSection<ELFT>::PltSection()
 template <class ELFT> void PltSection<ELFT>::writeTo(uint8_t *Buf) {
   size_t Off = 0;
   if (Target->UseLazyBinding) {
-    // First write PLT[0] entry which is special.
+    // At beginning of PLT, we have code to call the dynamic linker
+    // to resolve dynsyms at runtime. Write such code.
     Target->writePltZero(Buf);
     Off += Target->PltZeroSize;
   }




More information about the llvm-commits mailing list