summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorPer Fogelstrom <pefo@cvs.openbsd.org>1999-01-26 13:55:51 +0000
committerPer Fogelstrom <pefo@cvs.openbsd.org>1999-01-26 13:55:51 +0000
commit3d1271a27eb2ef1bda88a1f49aa691f4a0b4e6ac (patch)
treee3262a84adc0a8f601f3a992be11d6203cd9d4c6 /gnu
parent42b8d70fdd128763ec3e86e876e993db0579eb5d (diff)
Redefine datatypes...
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/gcc/config/mips/openbsd-le.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/gnu/usr.bin/gcc/config/mips/openbsd-le.h b/gnu/usr.bin/gcc/config/mips/openbsd-le.h
index 23b00a5d363..a09551cfa26 100644
--- a/gnu/usr.bin/gcc/config/mips/openbsd-le.h
+++ b/gnu/usr.bin/gcc/config/mips/openbsd-le.h
@@ -39,6 +39,22 @@
-Asystem(unix) -Asystem(OpenBSD) -Amachine(mips)"
#endif
+/* layout of source language data types
+ * ------------------------------------ */
+/* this must agree with <machine/ansi.h> */
+/* from i386/openbsd.h */
+#undef SIZE_TYPE
+#define SIZE_TYPE "unsigned int"
+
+#undef PTRDIFF_TYPE
+#define PTRDIFF_TYPE "int"
+
+#undef WCHAR_TYPE
+#define WCHAR_TYPE "int"
+
+#undef WCHAR_TYPE_SIZE
+#define WCHAR_TYPE_SIZE 32
+
/* GAS needs to know this */
#define SUBTARGET_ASM_SPEC "%{fPIC:-KPIC}"