summaryrefslogtreecommitdiff
path: root/arch/mips64/reloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips64/reloc.h')
-rw-r--r--arch/mips64/reloc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips64/reloc.h b/arch/mips64/reloc.h
index 7e61e225..145d8b0b 100644
--- a/arch/mips64/reloc.h
+++ b/arch/mips64/reloc.h
@@ -27,6 +27,8 @@
#define REL_DTPOFF R_MIPS_TLS_DTPREL64
#define REL_TPOFF R_MIPS_TLS_TPREL64
+#include <endian.h>
+
#undef R_TYPE
#undef R_SYM
#undef R_INFO
@@ -36,6 +38,7 @@
#define NEED_MIPS_GOT_RELOCS 1
#define DT_DEBUG_INDIRECT DT_MIPS_RLD_MAP
+#define DT_DEBUG_INDIRECT_REL DT_MIPS_RLD_MAP_REL
#define ARCH_SYM_REJECT_UND(s) (!((s)->st_other & STO_MIPS_PLT))
#define CRTJMP(pc,sp) __asm__ __volatile__( \