summaryrefslogtreecommitdiff
path: root/ports/sysdeps/mips/dl-dtprocnum.h
diff options
context:
space:
mode:
Diffstat (limited to 'ports/sysdeps/mips/dl-dtprocnum.h')
-rw-r--r--ports/sysdeps/mips/dl-dtprocnum.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ports/sysdeps/mips/dl-dtprocnum.h b/ports/sysdeps/mips/dl-dtprocnum.h
index dfd03ba31..41ae00082 100644
--- a/ports/sysdeps/mips/dl-dtprocnum.h
+++ b/ports/sysdeps/mips/dl-dtprocnum.h
@@ -17,6 +17,12 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
+/* Until elf/elf.h in glibc is updated. */
+#ifndef STO_MIPS_PLT
+# undef DT_MIPS_NUM
+# define DT_MIPS_NUM 0x35
+#endif
+
/* Number of extra dynamic section entries for this architecture. By
default there are none. */
#define DT_THISPROCNUM DT_MIPS_NUM