aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1994-09-09 15:17:48 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1994-09-09 15:17:48 -0400
commit2bb76168f81aa2afd4838ead50ae6e87c85e708e (patch)
tree9e6ed2345e188ac6c92b53e682ccb6cce5463b8c /gcc
parent8894cf34f4216b2210bb561da5ff9c3cd82f6022 (diff)
downloadgcc-2bb76168f81aa2afd4838ead50ae6e87c85e708e.zip
gcc-2bb76168f81aa2afd4838ead50ae6e87c85e708e.tar.gz
gcc-2bb76168f81aa2afd4838ead50ae6e87c85e708e.tar.bz2
Initial revision
From-SVN: r8056
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/sparc/netbsd.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/gcc/config/sparc/netbsd.h b/gcc/config/sparc/netbsd.h
new file mode 100644
index 0000000..a4dd22a
--- /dev/null
+++ b/gcc/config/sparc/netbsd.h
@@ -0,0 +1,43 @@
+#include "sparc/sparc.h"
+
+/* Get generic NetBSD definitions. */
+
+#include "netbsd.h"
+
+/* Names to predefine in the preprocessor for this target machine. */
+
+#undef CPP_PREDEFINES
+#define CPP_PREDEFINES "-Dunix -Dsparc -D__NetBSD__ -Asystem(unix) -Asystem(NetBSD) -Acpu(sparc) -Amachine(sparc)"
+
+/* Make gcc agree with <machine/ansi.h> */
+
+#undef SIZE_TYPE
+#define SIZE_TYPE "unsigned int"
+
+#undef PTRDIFF_TYPE
+#define PTRDIFF_TYPE "int"
+
+#undef WCHAR_TYPE
+#define WCHAR_TYPE "short unsigned int"
+#define WCHAR_UNSIGNED 1
+
+#undef WCHAR_TYPE_SIZE
+#define WCHAR_TYPE_SIZE 16
+
+/* This is BSD, so it wants DBX format. */
+
+#define DBX_DEBUGGING_INFO
+
+/* This is the char to use for continuation (in case we need to turn
+ continuation back on). */
+
+#define DBX_CONTIN_CHAR '?'
+
+/* Don't use the `xsfoo;' construct in DBX output; this system
+ doesn't support it. */
+
+#define DBX_NO_XREFS
+
+/* Don't default to pcc-struct-return, because gcc is the only compiler, and
+ we want to retain compatibility with older gcc versions. */
+#define DEFAULT_PCC_STRUCT_RETURN 0