summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpefo <pefo@openbsd.org>1999-01-26 13:55:50 +0000
committerpefo <pefo@openbsd.org>1999-01-26 13:55:50 +0000
commitdef12f58d1e6f3117c382a0c07adab6dcb6abed8 (patch)
tree30a437996acb5f8e00b3b5f5a96b903bed5d3cae
parentAdd a -b(ackup) flag to move any existing file(s) aside by renaming (diff)
downloadwireguard-openbsd-def12f58d1e6f3117c382a0c07adab6dcb6abed8.tar.xz
wireguard-openbsd-def12f58d1e6f3117c382a0c07adab6dcb6abed8.zip
Redefine datatypes...
-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}"