Update a comment.

llvm-svn: 259458
This commit is contained in:
Rui Ueyama 2016-02-02 02:53:58 +00:00
parent 579c9cda13
commit 74937fcd00
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}