Fixed formatting issues in AArch64 target methods. NFC.
authorGeorge Rimar <grimar@accesssoftek.com>
Sun, 6 Mar 2016 06:16:05 +0000 (06:16 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Sun, 6 Mar 2016 06:16:05 +0000 (06:16 +0000)
llvm-svn: 262795

lld/ELF/Target.cpp

index 9606e7caf1b73b1dd06dc86e10dd147536791d13..e4ba6d7f8a19eda0dc01cb9818e660af7e0bcdce 100644 (file)
@@ -1305,8 +1305,8 @@ void AArch64TargetInfo::writePlt(uint8_t *Buf, uint64_t GotEntryAddr,
 
 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 @@ void AArch64TargetInfo::relocateTlsIeToLe(uint32_t Type, uint8_t *Loc,
   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 @@ void AArch64TargetInfo::relocateTlsIeToLe(uint32_t Type, uint8_t *Loc,
   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).