aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mips/ldsodefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mips/ldsodefs.h')
-rw-r--r--sysdeps/mips/ldsodefs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/mips/ldsodefs.h b/sysdeps/mips/ldsodefs.h
index c52092e9be..ab04f11b8e 100644
--- a/sysdeps/mips/ldsodefs.h
+++ b/sysdeps/mips/ldsodefs.h
@@ -26,6 +26,10 @@ struct La_mips_32_retval;
struct La_mips_64_regs;
struct La_mips_64_retval;
+/* Translate a processor specific dynamic tag to the index
+ in l_info array. */
+#define DT_MIPS(x) (DT_MIPS_##x - DT_LOPROC + DT_NUM)
+
#define ELF_MACHINE_GNU_HASH_ADDRIDX (DT_MIPS_XHASH - DT_LOPROC + DT_NUM)
/* Calculate the index of a symbol in MIPS xhash. */