[lld] r251114 - Style fix.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 23 09:13:27 PDT 2015
Author: ruiu
Date: Fri Oct 23 11:13:27 2015
New Revision: 251114
URL: http://llvm.org/viewvc/llvm-project?rev=251114&view=rev
Log:
Style fix.
Modified:
lld/trunk/ELF/Target.cpp
Modified: lld/trunk/ELF/Target.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Target.cpp?rev=251114&r1=251113&r2=251114&view=diff
==============================================================================
--- lld/trunk/ELF/Target.cpp (original)
+++ lld/trunk/ELF/Target.cpp Fri Oct 23 11:13:27 2015
@@ -317,7 +317,7 @@ void X86_64TargetInfo::relocateOne(uint8
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
error("R_X86_64_32S out of range");
write32le(Loc, SA);
break;
- }
default:
error("unrecognized reloc " + Twine(Type));
}
More information about the llvm-commits
mailing list