Fixed formatting issues in AArch64 target methods. NFC.
llvm-svn: 262795
diff --git a/lld/ELF/Target.cpp b/lld/ELF/Target.cpp
index 9606e7c..e4ba6d7 100644
--- a/lld/ELF/Target.cpp
+++ b/lld/ELF/Target.cpp
@@ -1305,8 +1305,8 @@
uint32_t AArch64TargetInfo::getTlsGotRel(uint32_t Type) const {
assert(Type == R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21 ||
- Type == R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC);
- return Type;
+ Type == R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC);
+ return Type;
}
bool AArch64TargetInfo::isTlsDynRel(uint32_t Type, const SymbolBody &S) const {
@@ -1558,7 +1558,7 @@
uint64_t X = SA + TPOff;
checkUInt<32>(X, Type);
- uint32_t Inst = read32le (Loc);
+ uint32_t Inst = read32le(Loc);
uint32_t NewInst;
if (Type == R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21) {
// Generate movz.
@@ -1574,7 +1574,6 @@
write32le(Loc, NewInst);
}
-
// Implementing relocations for AMDGPU is low priority since most
// programs don't use relocations now. Thus, this function is not
// actually called (relocateOne is called for each relocation).