[Patch] MIPS: Fix bootstrap.

Richard Sandiford rdsandiford@googlemail.com
Wed Jul 9 19:31:00 GMT 2008


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.

Richard



More information about the Gcc-patches mailing list