summaryrefslogtreecommitdiff
path: root/gcc/config/i386
diff options
context:
space:
mode:
authorobrien <obrien@138bc75d-0d04-0410-961f-82ee72b054a4>2001-01-09 22:10:53 +0000
committerobrien <obrien@138bc75d-0d04-0410-961f-82ee72b054a4>2001-01-09 22:10:53 +0000
commita26ea22951c009e9b2702407ffa5da8f7fb6c2d6 (patch)
tree3076d5204e54613b31fa437eae06326554d4d440 /gcc/config/i386
parenta1163540e1d937abb6ff2a6a2e3c3a1f06955ce1 (diff)
downloadgcc-a26ea22951c009e9b2702407ffa5da8f7fb6c2d6.tar.gz
2001-01-09 David O'Brien <obrien@BSDi.com>
* config.gcc (*-*-gnu*, i[34567]86-*-elf*, i[34567]86-*-linux*libc1, i[34567]86-*-linux*, i[34567]86-*-moss*): Specify needed platform specific files in tm_file. * config/i386/gnu.h: Don't include required platform specific .h files, tm.h will do it instead. * config/i386/i386elf.h: Likewise. * config/i386/linux.h: Likewise. * config/i386/moss.h: Likewise. * config/mips/gnu.h: Likewise. Approved by: Richard Henderson <rth@redhat.com> Message-ID: <20010107030000.A24090@redhat.com> git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38842 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386')
-rw-r--r--gcc/config/i386/gnu.h6
-rw-r--r--gcc/config/i386/i386elf.h7
-rw-r--r--gcc/config/i386/linux.h9
-rw-r--r--gcc/config/i386/moss.h5
4 files changed, 4 insertions, 23 deletions
diff --git a/gcc/config/i386/gnu.h b/gcc/config/i386/gnu.h
index 0acc4f30dfd..1c776096484 100644
--- a/gcc/config/i386/gnu.h
+++ b/gcc/config/i386/gnu.h
@@ -1,11 +1,5 @@
/* Configuration for an i386 running GNU with ELF as the target machine. */
-/* This does it mostly for us. */
-#include <i386/linux.h>
-
-/* Get machine-independent configuration parameters for the GNU system. */
-#include <gnu.h>
-
#undef TARGET_VERSION
#define TARGET_VERSION fprintf (stderr, " (i386 GNU)");
diff --git a/gcc/config/i386/i386elf.h b/gcc/config/i386/i386elf.h
index 714196d660b..d333551f2b8 100644
--- a/gcc/config/i386/i386elf.h
+++ b/gcc/config/i386/i386elf.h
@@ -1,5 +1,5 @@
/* Target definitions for GNU compiler for Intel 80386 using ELF
- Copyright (C) 1988, 1991, 1995, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1988, 1991, 1995, 2000, 2001 Free Software Foundation, Inc.
Derived from sysv4.h written by Ron Guilmette (rfg@netcom.com).
@@ -20,12 +20,9 @@ along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Use stabs instead of DWARF debug format. */
+#undef PREFERRED_DEBUGGING_TYPE
#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
-#include "i386/i386.h"
-#include "i386/att.h"
-#include "elfos.h"
-
#undef TARGET_VERSION
#define TARGET_VERSION fprintf (stderr, " (i386 bare ELF target)");
diff --git a/gcc/config/i386/linux.h b/gcc/config/i386/linux.h
index 5f8e0f39dc1..0ad1c3ac0cb 100644
--- a/gcc/config/i386/linux.h
+++ b/gcc/config/i386/linux.h
@@ -1,5 +1,5 @@
/* Definitions for Intel 386 running Linux-based GNU systems with ELF format.
- Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2001 Free Software Foundation, Inc.
Contributed by Eric Youngdale.
Modified for stabs-in-ELF by H.J. Lu.
@@ -22,13 +22,6 @@ Boston, MA 02111-1307, USA. */
#define LINUX_DEFAULT_ELF
-/* A lie, I guess, but the general idea behind linux/ELF is that we are
- supposed to be outputting something that will assemble under SVr4.
- This gets us pretty close. */
-#include <i386/i386.h> /* Base i386 target machine definitions */
-#include <i386/att.h> /* Use the i386 AT&T assembler syntax */
-#include <linux.h> /* some common stuff */
-
/* Output at beginning of assembler file. */
/* The .file command should always begin the output. */
#undef ASM_FILE_START
diff --git a/gcc/config/i386/moss.h b/gcc/config/i386/moss.h
index b8fda5c80f9..200cae0edcc 100644
--- a/gcc/config/i386/moss.h
+++ b/gcc/config/i386/moss.h
@@ -1,5 +1,5 @@
/* Definitions for Intel 386 running MOSS
- Copyright (C) 1996 Free Software Foundation, Inc.
+ Copyright (C) 1996, 2001 Free Software Foundation, Inc.
Contributed by Bryan Ford <baford@cs.utah.edu>
This file is part of GNU CC.
@@ -19,9 +19,6 @@ 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. */
-/* I believe in reuse... */
-#include "i386/linux.h"
-
#undef CPP_PREDEFINES
#define CPP_PREDEFINES "-D__ELF__ -Dmoss -Asystem=posix"