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:
126a2b5
)
ELF: Remove dead code.
author
Rui Ueyama
<ruiu@google.com>
Wed, 3 Feb 2016 19:07:56 +0000
(19:07 +0000)
committer
Rui Ueyama
<ruiu@google.com>
Wed, 3 Feb 2016 19:07:56 +0000
(19:07 +0000)
R_X86_64_DTPOFF64 relocs are for the dynamic linker.
Static linkers create them but don't consume them.
llvm-svn: 259679
lld/ELF/Target.cpp
patch
|
blob
|
history
diff --git
a/lld/ELF/Target.cpp
b/lld/ELF/Target.cpp
index
6d185eb
..
7f90bd3
100644
(file)
--- a/
lld/ELF/Target.cpp
+++ b/
lld/ELF/Target.cpp
@@
-873,9
+873,6
@@
void X86_64TargetInfo::relocateOne(uint8_t *Loc, uint8_t *BufEnd, uint32_t Type,
case R_X86_64_DTPOFF32:
write32le(Loc, SA);
break;
- case R_X86_64_DTPOFF64:
- write64le(Loc, SA);
- break;
case R_X86_64_GOTPCREL:
case R_X86_64_PC32:
case R_X86_64_PLT32: