projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d614a65
)
[ELF] Remove unnecessary assignment to `isPreemptible` in replaceWithDefined()
author
Fangrui Song
<maskray@google.com>
Mon, 12 Aug 2019 10:01:17 +0000
(10:01 +0000)
committer
Fangrui 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
patch
|
blob
|
history
diff --git
a/lld/ELF/Relocations.cpp
b/lld/ELF/Relocations.cpp
index
c3288ff
..
22ae172
100644
(file)
--- 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;
}