From: Fangrui Song Date: Mon, 12 Aug 2019 10:01:17 +0000 (+0000) Subject: [ELF] Remove unnecessary assignment to `isPreemptible` in replaceWithDefined() X-Git-Tag: llvmorg-11-init~12159 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3cafdfddcbcd077325622dd0869b409f4664769e;p=platform%2Fupstream%2Fllvm.git [ELF] Remove unnecessary assignment to `isPreemptible` in replaceWithDefined() After r368535, it is no longer used in the handling of VER_NDX_LOCAL. Drop it. llvm-svn: 368550 --- diff --git a/lld/ELF/Relocations.cpp b/lld/ELF/Relocations.cpp index c3288ff..22ae172 100644 --- a/lld/ELF/Relocations.cpp +++ b/lld/ELF/Relocations.cpp @@ -510,7 +510,6 @@ static void replaceWithDefined(Symbol &sym, SectionBase *sec, uint64_t value, sym.gotIndex = old.gotIndex; sym.verdefIndex = old.verdefIndex; sym.ppc64BranchltIndex = old.ppc64BranchltIndex; - sym.isPreemptible = true; sym.exportDynamic = true; sym.isUsedInRegularObj = true; }