[ELF] Remove unnecessary assignment to `isPreemptible` in replaceWithDefined()
authorFangrui Song <maskray@google.com>
Mon, 12 Aug 2019 10:01:17 +0000 (10:01 +0000)
committerFangrui Song <maskray@google.com>
Mon, 12 Aug 2019 10:01:17 +0000 (10:01 +0000)
After r368535, it is no longer used in the handling of VER_NDX_LOCAL.
Drop it.

llvm-svn: 368550

lld/ELF/Relocations.cpp

index c3288ff..22ae172 100644 (file)
@@ -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;
 }