[lld] r279415 - Format.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 21 21:55:41 PDT 2016
Author: ruiu
Date: Sun Aug 21 23:55:41 2016
New Revision: 279415
URL: http://llvm.org/viewvc/llvm-project?rev=279415&view=rev
Log:
Format.
Modified:
lld/trunk/ELF/Writer.cpp
Modified: lld/trunk/ELF/Writer.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Writer.cpp?rev=279415&r1=279414&r2=279415&view=diff
==============================================================================
--- lld/trunk/ELF/Writer.cpp (original)
+++ lld/trunk/ELF/Writer.cpp Sun Aug 21 23:55:41 2016
@@ -524,11 +524,12 @@ static Symbol *addOptionalSynthetic(Stri
template <class ELFT>
static void addSynthetic(StringRef Name, OutputSectionBase<ELFT> *Sec,
- typename ELFT::uint Val) {
+ typename ELFT::uint Val) {
SymbolBody *S = Symtab<ELFT>::X->find(Name);
if (!S || S->isUndefined() || S->isShared())
Symtab<ELFT>::X->addSynthetic(Name, Sec, Val, STV_HIDDEN);
}
+
// The beginning and the ending of .rel[a].plt section are marked
// with __rel[a]_iplt_{start,end} symbols if it is a statically linked
// executable. The runtime needs these symbols in order to resolve
More information about the llvm-commits
mailing list