entered into RCS
authorRichard Stallman <rms@gnu.org>
Sun, 1 Dec 1991 05:07:32 +0000 (05:07 +0000)
committerRichard Stallman <rms@gnu.org>
Sun, 1 Dec 1991 05:07:32 +0000 (05:07 +0000)
From-SVN: r89

gcc/config/i860/bsd-gas.h
gcc/config/m68k/isi-nfp.h [new file with mode: 0644]
gcc/config/m68k/newsgas.h [new file with mode: 0644]
gcc/config/m68k/sun3mach.h [new file with mode: 0644]
gcc/config/m68k/sun3n.h [new file with mode: 0644]
gcc/config/m68k/sun3n3.h [new file with mode: 0644]
gcc/config/m68k/sun3o3.h [new file with mode: 0644]
gcc/config/vax/vaxv.h [new file with mode: 0644]

index d72c17fe80a3853dee756a6a7e750d9a4dadb466..9e3141c2a9dfd5b4ed8462e8bee5d0dddea5add6 100644 (file)
@@ -1,4 +1,4 @@
-#include "tm-i860b.h"
+#include "i860b.h"
 
 #undef ASCII_DATA_ASM_OP
 #define ASCII_DATA_ASM_OP ".ascii"
diff --git a/gcc/config/m68k/isi-nfp.h b/gcc/config/m68k/isi-nfp.h
new file mode 100644 (file)
index 0000000..e9fabdb
--- /dev/null
@@ -0,0 +1,5 @@
+/* Define target machine as an ISI 68000/68020 with no 68881.  */
+
+#define TARGET_DEFAULT 5
+
+#include "isi.h"
diff --git a/gcc/config/m68k/newsgas.h b/gcc/config/m68k/newsgas.h
new file mode 100644 (file)
index 0000000..81a0c73
--- /dev/null
@@ -0,0 +1,7 @@
+/* In Sony versions before 3.0, use the GNU Assembler, because the
+   system's assembler has no way to assemble the difference of two
+   labels for the displacement in a switch-dispatch instruction.  */  
+
+#define USE_GAS
+
+#include "news.h"
diff --git a/gcc/config/m68k/sun3mach.h b/gcc/config/m68k/sun3mach.h
new file mode 100644 (file)
index 0000000..e6e9ee7
--- /dev/null
@@ -0,0 +1,11 @@
+#include "sun3.h"
+
+#undef CPP_PREDEFINES
+#define CPP_PREDEFINES "-Dmc68000 -Dsun -Dsun3 -Dunix -DMACH -DCMU -DMTXINU -DBIT_MSF -DBYTE_MSF"
+
+/* Specify extra dir to search for include files.  */
+#define SYSTEM_INCLUDE_DIR "/usr/mach/include"
+
+/* LINK_SPEC is needed only for Sunos 4.  */
+
+#undef LINK_SPEC
diff --git a/gcc/config/m68k/sun3n.h b/gcc/config/m68k/sun3n.h
new file mode 100644 (file)
index 0000000..bff17ae
--- /dev/null
@@ -0,0 +1,5 @@
+/* Define target machine as a Sun 3 with no 68881.  */
+
+#define TARGET_DEFAULT 5
+
+#include "sun3.h"
diff --git a/gcc/config/m68k/sun3n3.h b/gcc/config/m68k/sun3n3.h
new file mode 100644 (file)
index 0000000..917a4e4
--- /dev/null
@@ -0,0 +1,5 @@
+#include "sun3n.h"
+
+/* LINK_SPEC is needed only for Sunos 4.  */
+
+#undef LINK_SPEC
diff --git a/gcc/config/m68k/sun3o3.h b/gcc/config/m68k/sun3o3.h
new file mode 100644 (file)
index 0000000..e245abc
--- /dev/null
@@ -0,0 +1,5 @@
+#include "sun3.h"
+
+/* LINK_SPEC is needed only for Sunos 4.  */
+
+#undef LINK_SPEC
diff --git a/gcc/config/vax/vaxv.h b/gcc/config/vax/vaxv.h
new file mode 100644 (file)
index 0000000..999329b
--- /dev/null
@@ -0,0 +1,65 @@
+/* Definitions of target machine for GNU compiler.  Vax sysV version.
+   Copyright (C) 1988 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 2, 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, 675 Mass Ave, Cambridge, MA 02139, USA.  */
+
+#include "vax.h"
+
+/* Cope with these under SysV */
+
+#define SCCS_DIRECTIVE
+
+/* Output #ident as a .ident.  */
+
+#define ASM_OUTPUT_IDENT(FILE, NAME) fprintf (FILE, "\t.ident \"%s\"\n", NAME);
+
+#undef DBX_DEBUGGING_INFO
+#define SDB_DEBUGGING_INFO
+
+#undef LIB_SPEC
+
+/* The .file command should always begin the output.  */
+#undef ASM_FILE_START
+#define ASM_FILE_START(FILE) \
+output_file_directive ((FILE), main_input_filename)
+
+#undef ASM_OUTPUT_ALIGN
+#define ASM_OUTPUT_ALIGN(FILE,LOG) \
+  fprintf(FILE, "\t.align %d\n", 1 << (LOG))
+
+#undef ASM_OUTPUT_LOCAL
+#define ASM_OUTPUT_LOCAL(FILE,NAME,SIZE,ROUNDED)       \
+( data_section (),                                     \
+  assemble_name ((FILE), (NAME)),                      \
+  fprintf ((FILE), ":\n\t.space %u\n", (ROUNDED)))
+
+#define ASM_OUTPUT_ASCII(FILE,PTR,LEN)                 \
+{                                                      \
+  unsigned char *s;                                            \
+  int i;                                               \
+  for (i = 0, s = (PTR); i < (LEN); s++, i++)          \
+    {                                                  \
+      if ((i % 8) == 0)                                        \
+       fputs ("\n\t.byte\t", (FILE));                  \
+      fprintf ((FILE), "%s0x%x", (i%8?",":""), (unsigned)*s); \
+    }                                                  \
+  fputs ("\n", (FILE));                                        \
+}
+
+#undef ASM_OUTPUT_DOUBLE
+#define ASM_OUTPUT_DOUBLE(FILE,VALUE)  \
+  fprintf (FILE, "\t.double 0d%.20e\n", (VALUE))