aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/m68k/xm-amix.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/m68k/xm-amix.h')
-rw-r--r--gcc/config/m68k/xm-amix.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/gcc/config/m68k/xm-amix.h b/gcc/config/m68k/xm-amix.h
new file mode 100644
index 00000000000..69b4bd17c74
--- /dev/null
+++ b/gcc/config/m68k/xm-amix.h
@@ -0,0 +1,47 @@
+/* Definitions of host machine for GNU compiler.
+ Commodore Amiga A3000UX version.
+
+ Copyright (C) 1991 Free Software Foundation, Inc.
+
+This file is part of GNU CC.
+
+GNU CC is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 1, or (at your option)
+any later version.
+
+GNU CC is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU CC; see the file COPYING. If not, write to
+the Free Software Foundation, 59 Temple Place - Suite 330,
+Boston, MA 02111-1307, USA. */
+
+#include "m68k/xm-m68kv.h" /* Use the System V flavor of m68k host */
+
+#define HAVE_VPRINTF /* Host has vprintf() in library */
+#define rindex strrchr
+#define index strchr
+
+/* Define FULL_PROTOTYPES for protoize.c, to get <unistd.h> included.
+ We need this file for things like R_OK, not necessarily prototypes. */
+
+#define FULL_PROTOTYPES
+
+#if defined (__GNUC__) && __GNUC__ == 1
+#define alloca __builtin_alloca
+#endif
+
+#if 0 /* I don't want individual ports to be inconsistent about this.
+ I regard fancy_abort as a half-solution and not the right way
+ to do things. --rms. */
+/* The m88k and mips ports make use of fancy_abort to give possibly helpful
+ abort information rather than just dumping core. They do it in their
+ tm-* files. It seems more logical that this is a characteristic of
+ the host machine and not the target machine, so we do it here. */
+
+#define abort fancy_abort /* give possibly helpful abort info */
+#endif