[lld] r262795 - Fixed formatting issues in AArch64 target methods. NFC.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 5 22:16:06 PST 2016


Author: grimar
Date: Sun Mar  6 00:16:05 2016
New Revision: 262795

URL: http://llvm.org/viewvc/llvm-project?rev=262795&view=rev
Log:
Fixed formatting issues in AArch64 target methods. NFC.

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=262795&r1=262794&r2=262795&view=diff
==============================================================================
--- lld/trunk/ELF/Target.cpp (original)
+++ lld/trunk/ELF/Target.cpp Sun Mar  6 00:16:05 2016
@@ -1305,8 +1305,8 @@ void AArch64TargetInfo::writePlt(uint8_t
 
 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::relocateTlsIeToL
   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::relocateTlsIeToL
   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).




More information about the llvm-commits mailing list