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:
3d0fbf1
)
Style fix.
author
Rui Ueyama
<ruiu@google.com>
Fri, 23 Oct 2015 16:13:27 +0000
(16:13 +0000)
committer
Rui Ueyama
<ruiu@google.com>
Fri, 23 Oct 2015 16:13:27 +0000
(16:13 +0000)
llvm-svn: 251114
lld/ELF/Target.cpp
patch
|
blob
|
history
diff --git
a/lld/ELF/Target.cpp
b/lld/ELF/Target.cpp
index
1c1d717
..
6ddf72c
100644
(file)
--- a/
lld/ELF/Target.cpp
+++ b/
lld/ELF/Target.cpp
@@
-317,7
+317,7
@@
void X86_64TargetInfo::relocateOne(uint8_t *Loc, uint8_t *BufEnd, uint32_t Type,
case R_X86_64_64:
write64le(Loc, SA);
break;
- case R_X86_64_32:
{
+ case R_X86_64_32:
case R_X86_64_32S:
if (Type == R_X86_64_32 && !isUInt<32>(SA))
error("R_X86_64_32 out of range");
@@
-325,7
+325,6
@@
void X86_64TargetInfo::relocateOne(uint8_t *Loc, uint8_t *BufEnd, uint32_t Type,
error("R_X86_64_32S out of range");
write32le(Loc, SA);
break;
- }
default:
error("unrecognized reloc " + Twine(Type));
}