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:
d262b36
)
ELF: Combine cases that has the same code.
author
Rui Ueyama
<ruiu@google.com>
Wed, 10 Feb 2016 22:00:21 +0000
(22:00 +0000)
committer
Rui Ueyama
<ruiu@google.com>
Wed, 10 Feb 2016 22:00:21 +0000
(22:00 +0000)
llvm-svn: 260444
lld/ELF/Target.cpp
patch
|
blob
|
history
diff --git
a/lld/ELF/Target.cpp
b/lld/ELF/Target.cpp
index
633a5eb
..
b4ef5d6
100644
(file)
--- a/
lld/ELF/Target.cpp
+++ b/
lld/ELF/Target.cpp
@@
-871,14
+871,12
@@
void X86_64TargetInfo::relocateOne(uint8_t *Loc, uint8_t *BufEnd, uint32_t Type,
write32le(Loc, SA);
break;
case R_X86_64_64:
+ case R_X86_64_DTPOFF64:
write64le(Loc, SA);
break;
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: