aboutsummaryrefslogtreecommitdiff
path: root/lld
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2019-08-12 10:01:17 +0000
committerFangrui Song <maskray@google.com>2019-08-12 10:01:17 +0000
commit3cafdfddcbcd077325622dd0869b409f4664769e (patch)
tree78007aaa8b94109959a3a3d7dacd10802309c071 /lld
parentd614a65d85c14dfc7dc19b45b049c38897481ae1 (diff)
downloadllvm-3cafdfddcbcd077325622dd0869b409f4664769e.zip
llvm-3cafdfddcbcd077325622dd0869b409f4664769e.tar.gz
llvm-3cafdfddcbcd077325622dd0869b409f4664769e.tar.bz2
[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
Diffstat (limited to 'lld')
-rw-r--r--lld/ELF/Relocations.cpp1
1 files changed, 0 insertions, 1 deletions
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;
}