about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--sysdeps/mips/sgidefs.h4
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index b7926c458a..c09d9f8148 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
 
+	* sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
+
 	* sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
 	[defined _COMPILING_NEWLIB].
 	* sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
diff --git a/sysdeps/mips/sgidefs.h b/sysdeps/mips/sgidefs.h
index 1a9f7b0311..9fb3b37d48 100644
--- a/sysdeps/mips/sgidefs.h
+++ b/sysdeps/mips/sgidefs.h
@@ -69,4 +69,8 @@
 #endif
 #define _MIPS_SIM_ABI64		_ABI64
 
+#ifndef _ABIO64
+# define _ABIO64		4
+#endif
+
 #endif /* sgidefs.h */