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]
Other format: [Raw text]

Re: [Patch] MIPS: Fix bootstrap.


Richard Sandiford wrote:
David Daney <ddaney@avtrex.com> writes:
Index: config/mips/driver-native.c
===================================================================
--- config/mips/driver-native.c (revision 137644)
+++ config/mips/driver-native.c (working copy)
@@ -19,6 +19,7 @@
#include "config.h"
#include "system.h"
+#include "config/mips/linux.h"
/* This will be called by the spec parser in gcc.c when it sees
a %:local_cpu_detect(args) construct. Currently it will be called

linux.h is only really designed to be included in sequence with mips.h, so I'd prefer:

#include "tm.h"

(This is also what i386 does, FWIW.)

OK with that change, thanks.

I tried that first, but tm.h seems to have other dependencies (that I did not investigate). I will revisit using tm.h and see if it can be made to work.


David Daney


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