[lld] r260365 - [ELF][MIPS] Group and sort initialization of MipsTargetInfo class fields. NFC

Simon Atanasyan via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 10 02:08:40 PST 2016


Author: atanasyan
Date: Wed Feb 10 04:08:39 2016
New Revision: 260365

URL: http://llvm.org/viewvc/llvm-project?rev=260365&view=rev
Log:
[ELF][MIPS] Group and sort initialization of MipsTargetInfo class fields. 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=260365&r1=260364&r2=260365&view=diff
==============================================================================
--- lld/trunk/ELF/Target.cpp (original)
+++ lld/trunk/ELF/Target.cpp Wed Feb 10 04:08:39 2016
@@ -1385,9 +1385,9 @@ void AMDGPUTargetInfo::relocateOne(uint8
 }
 
 template <class ELFT> MipsTargetInfo<ELFT>::MipsTargetInfo() {
-  CopyRel = R_MIPS_COPY;
-  PageSize = 65536;
   GotHeaderEntriesNum = 2;
+  PageSize = 65536;
+  CopyRel = R_MIPS_COPY;
   RelativeRel = R_MIPS_REL32;
 }
 




More information about the llvm-commits mailing list