summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2016-02-02 02:53:58 +0000
committerRui Ueyama <ruiu@google.com>2016-02-02 02:53:58 +0000
commit74937fcd0059a159871eaf6f194bde0ef0523475 (patch)
tree5e4707de8ca2548998e38c542ca1e992faf3d84c
parent579c9cda139177d67d8030021ed81e345f74b6df (diff)
downloadbcm5719-llvm-74937fcd0059a159871eaf6f194bde0ef0523475.tar.gz
bcm5719-llvm-74937fcd0059a159871eaf6f194bde0ef0523475.zip
Update a comment.
llvm-svn: 259458
-rw-r--r--lld/ELF/OutputSections.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lld/ELF/OutputSections.cpp b/lld/ELF/OutputSections.cpp
index e5c346af790..380f788cc2e 100644
--- a/lld/ELF/OutputSections.cpp
+++ b/lld/ELF/OutputSections.cpp
@@ -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;
}
OpenPOWER on IntegriCloud