summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/ELF/Target.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/ELF/Target.cpp b/lld/ELF/Target.cpp
index c7254e05fe6..524c705dd0f 100644
--- a/lld/ELF/Target.cpp
+++ b/lld/ELF/Target.cpp
@@ -1385,9 +1385,9 @@ void AMDGPUTargetInfo::relocateOne(uint8_t *Loc, uint8_t *BufEnd, uint32_t Type,
}
template <class ELFT> MipsTargetInfo<ELFT>::MipsTargetInfo() {
- CopyRel = R_MIPS_COPY;
- PageSize = 65536;
GotHeaderEntriesNum = 2;
+ PageSize = 65536;
+ CopyRel = R_MIPS_COPY;
RelativeRel = R_MIPS_REL32;
}
OpenPOWER on IntegriCloud