This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[PATCH] move includes from bsd386.h to tm_file


Permission to apply to mainline?


2001-06-02  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.


Index: config.gcc
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config.gcc,v
retrieving revision 1.63
diff -u -r1.63 config.gcc
--- config.gcc	2001/05/25 23:08:55	1.63
+++ config.gcc	2001/06/03 21:21:23
@@ -1039,7 +1044,7 @@
 	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: config/i386/bsd386.h
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/i386/bsd386.h,v
retrieving revision 1.8
diff -u -r1.8 bsd386.h
--- bsd386.h	2000/11/02 23:29:09	1.8
+++ bsd386.h	2001/06/03 21:21:23
@@ -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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]