config.gcc, bsd386.h: Do not directly include i386/386bsd.h.
authorDavid O'Brien <obrien@FreeBSD.org>
Wed, 6 Jun 2001 01:54:45 +0000 (01:54 +0000)
committerDavid O'Brien <obrien@gcc.gnu.org>
Wed, 6 Jun 2001 01:54:45 +0000 (01:54 +0000)
2001-06-05  David O'Brien  <obrien@FreeBSD.org>
* config.gcc, config/i386/bsd386.h:  Do not directly include
i386/386bsd.h.  Instead do it via tm_file.

Approved by:  Richard Henderson <rth@redhat.com>
              Message-ID: <20010604154739.F25044@redhat.com>

From-SVN: r42925

gcc/ChangeLog
gcc/config.gcc
gcc/config/i386/bsd386.h

index ad9c7de..5c342bd 100644 (file)
@@ -1,5 +1,10 @@
 2001-06-05  David O'Brien  <obrien@FreeBSD.org>
 
+       * config.gcc, config/i386/bsd386.h:  Do not directly include
+       i386/386bsd.h.  Instead do it via tm_file.
+
+2001-06-05  David O'Brien  <obrien@FreeBSD.org>
+
        * elfos.h (USING_ELFOS_H):  Identify the use of elfos.h in the same
        way svr4.h does.
 
index 6976455..600a693 100644 (file)
@@ -1039,7 +1039,7 @@ i[34567]86-*-beoself* | i[34567]86-*-beos*)
        extra_parts='crtbegin.o crtend.o'
        ;;
 i[34567]86-*-bsdi* | i[34567]86-*-bsd386*)
-       tm_file=i386/bsd386.h
+       tm_file="i386/386bsd.h i386/bsd386.h"
 #      tmake_file=t-libc-ok
        ;;
 i[34567]86-*-bsd*)
index caef05c..8e0a6a1 100644 (file)
@@ -1,8 +1,6 @@
 /* Configuration for an i386 running BSDI's BSD/OS (formerly known as BSD/386)
    as the target machine.  */
 
-#include "i386/386bsd.h"
-
 /* We exist mostly to add -Dbsdi and such to the predefines. */
 
 #undef CPP_PREDEFINES