summaryrefslogtreecommitdiffstats
path: root/tools/relocation_packer/src/elf_traits.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/relocation_packer/src/elf_traits.h')
-rw-r--r--tools/relocation_packer/src/elf_traits.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/relocation_packer/src/elf_traits.h b/tools/relocation_packer/src/elf_traits.h
index 41b06c8..1c938fa 100644
--- a/tools/relocation_packer/src/elf_traits.h
+++ b/tools/relocation_packer/src/elf_traits.h
@@ -10,6 +10,10 @@
#include "elf.h"
#include "libelf.h"
+#if !defined(DT_MIPS_RLD_MAP2)
+#define DT_MIPS_RLD_MAP2 0x70000035
+#endif
+
// ELF is a traits structure used to provide convenient aliases for
// 32/64 bit Elf types and functions, depending on the target file.