diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2018-11-04 14:42:21 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2018-11-04 14:42:21 +0000 |
commit | d08c35566595bf29a50e39cbaaf32188ede63f7a (patch) | |
tree | 8e0d582dbfb68a3bf01decdab787004fde19f3de /ELF/Writer.cpp | |
parent | ebe7d41024f3c7f5adddb6a1ff1d0d3361f58c1c (diff) |
vendor/lld/lld-release_701-r349250vendor/lld/lld-release_70-r348686vendor/lld/lld-release_70-r348011vendor/lld/lld-release_70-r346007vendor/lld-70
Notes
Diffstat (limited to 'ELF/Writer.cpp')
-rw-r--r-- | ELF/Writer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ELF/Writer.cpp b/ELF/Writer.cpp index 88a2d5c71266..09a17049ffb4 100644 --- a/ELF/Writer.cpp +++ b/ELF/Writer.cpp @@ -874,7 +874,7 @@ void PhdrEntry::add(OutputSection *Sec) { // need these symbols, since IRELATIVE relocs are resolved through GOT // and PLT. For details, see http://www.airs.com/blog/archives/403. template <class ELFT> void Writer<ELFT>::addRelIpltSymbols() { - if (needsInterpSection()) + if (Config->Relocatable || needsInterpSection()) return; StringRef S = Config->IsRela ? "__rela_iplt_start" : "__rel_iplt_start"; addOptionalRegular(S, InX::RelaIplt, 0, STV_HIDDEN, STB_WEAK); |