aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/mips/xm-iris4.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/mips/xm-iris4.h')
-rw-r--r--gcc/config/mips/xm-iris4.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/gcc/config/mips/xm-iris4.h b/gcc/config/mips/xm-iris4.h
new file mode 100644
index 00000000000..e12c226614e
--- /dev/null
+++ b/gcc/config/mips/xm-iris4.h
@@ -0,0 +1,18 @@
+#include "mips/xm-mips.h"
+
+#define USG
+#define HAVE_VPRINTF
+
+#define bcopy(a,b,c) memcpy (b,a,c)
+#define bzero(a,b) memset (a,0,b)
+#define bcmp(a,b,c) memcmp (a,b,c)
+
+#if 0
+#ifdef __GNUC__
+/* The normal irix compiler requires alloca.h or alloca doesn't work.
+ However, the IRIX compiler doesn't allow alloca to be stored in
+ something like ptr->field = alloca(), so we just use the normal
+ C alloca. */
+#include <alloca.h>
+#endif
+#endif