summaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1991-12-01 05:07:32 +0000
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1991-12-01 05:07:32 +0000
commit1bd2986a8621f7f1e64ba04d06d265de9bda7472 (patch)
tree95bf1a576d44d26dfa7707e38825f53f62af9b6f /gcc/config
parenta344c0414096a981df9d13d2f675d85de801ba06 (diff)
downloadgcc-1bd2986a8621f7f1e64ba04d06d265de9bda7472.tar.gz
entered into RCS
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/i860/bsd-gas.h2
-rw-r--r--gcc/config/m68k/isi-nfp.h5
-rw-r--r--gcc/config/m68k/newsgas.h7
-rw-r--r--gcc/config/m68k/sun3mach.h11
-rw-r--r--gcc/config/m68k/sun3n.h5
-rw-r--r--gcc/config/m68k/sun3n3.h5
-rw-r--r--gcc/config/m68k/sun3o3.h5
-rw-r--r--gcc/config/vax/vaxv.h65
8 files changed, 104 insertions, 1 deletions
diff --git a/gcc/config/i860/bsd-gas.h b/gcc/config/i860/bsd-gas.h
index d72c17fe80a..9e3141c2a9d 100644
--- a/gcc/config/i860/bsd-gas.h
+++ b/gcc/config/i860/bsd-gas.h
@@ -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
index 00000000000..e9fabdb1118
--- /dev/null
+++ b/gcc/config/m68k/isi-nfp.h
@@ -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
index 00000000000..81a0c735307
--- /dev/null
+++ b/gcc/config/m68k/newsgas.h
@@ -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
index 00000000000..e6e9ee7efd1
--- /dev/null
+++ b/gcc/config/m68k/sun3mach.h
@@ -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
index 00000000000..bff17ae6bb8
--- /dev/null
+++ b/gcc/config/m68k/sun3n.h
@@ -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
index 00000000000..917a4e499ed
--- /dev/null
+++ b/gcc/config/m68k/sun3n3.h
@@ -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
index 00000000000..e245abc5ae9
--- /dev/null
+++ b/gcc/config/m68k/sun3o3.h
@@ -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
index 00000000000..999329b15eb
--- /dev/null
+++ b/gcc/config/vax/vaxv.h
@@ -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))