[Patch] MIPS: Fix bootstrap.

David Daney ddaney@avtrex.com
Wed Jul 9 20:27:00 GMT 2008


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.

FYI: This is the patch I committed.

2008-07-09  David Daney  <ddaney@avtrex.com>

        * config/mips/driver-native.c: Include coretypes.h and tm.h.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: driver-native.patch
Type: text/x-patch
Size: 441 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080709/52565a8e/attachment.bin>


More information about the Gcc-patches mailing list