On Sat, 2012-09-08 at 13:50 +0100, Richard Sandiford wrote:
> Should add BASE_DRIVER_SELF_SPECS too. OK with that change, thanks.
> And thanks for your patience.
>
> Richard
I added BASE_DRIVER_SELF_SPECS and did the checkin. Thanks for all
your help and advice.
Steve Ellcey
sell...@mips.com
Steve Ellcey writes:
> On Fri, 2012-09-07 at 07:52 +0100, Richard Sandiford wrote:
>
>> MIPS_ABI_DEFAULT and MIPS_ISA_DEFAULT are better set in config.gcc.
>> That also allows you to handle (say) mipsisa32-mti-linux-gnu vs.
>> mipsisa64-mti-linux-gnu.
>>
>> I think in general we want more specifi
On Fri, 2012-09-07 at 07:52 +0100, Richard Sandiford wrote:
> MIPS_ABI_DEFAULT and MIPS_ISA_DEFAULT are better set in config.gcc.
> That also allows you to handle (say) mipsisa32-mti-linux-gnu vs.
> mipsisa64-mti-linux-gnu.
>
> I think in general we want more specific header files to come after
>
Steve Ellcey writes:
> On Thu, 2012-09-06 at 06:47 +0100, Richard Sandiford wrote:
>> > Is this an 'if-then-else' usage?
>>
>> Yeah, but I typoed, sorry. It should be:
>>
>> %{mips32r2|mips64r2:-msynci;:-mno-synci}
>>
>> Richard
>
> OK, I got that working now. I am still having some issues th
On Thu, 2012-09-06 at 06:47 +0100, Richard Sandiford wrote:
> > Is this an 'if-then-else' usage?
>
> Yeah, but I typoed, sorry. It should be:
>
> %{mips32r2|mips64r2:-msynci;:-mno-synci}
>
> Richard
OK, I got that working now. I am still having some issues though. My
original patch was setu
Steve Ellcey writes:
> On Tue, 2012-09-04 at 23:55 +0100, Richard Sandiford wrote:
>> If we do that, then your DRIVER_SELF_SPECS can further have:
>>
>> MIPS_ISA_SYNCI_SPEC
>>
>> where the definition:
>>
>> /* Infer a -msynci setting from a -mips argument, on the assumption that
>>-msynci
On Tue, 2012-09-04 at 23:55 +0100, Richard Sandiford wrote:
> If we do that, then your DRIVER_SELF_SPECS can further have:
>
> MIPS_ISA_SYNCI_SPEC
>
> where the definition:
>
> /* Infer a -msynci setting from a -mips argument, on the assumption that
>-msynci is desired where possible. *
"Steve Ellcey " writes:
> --- a/gcc/config/mips/mips.h
> +++ b/gcc/config/mips/mips.h
> @@ -748,6 +748,9 @@ struct mips_cpu_info {
> specified.
> --with-divide is ignored if -mdivide-traps or -mdivide-breaks are
> specified. */
> +#ifndef SYNCI_SPEC
> +#define SYNCI_SPEC "-m%(VALUE
I would like to create a new mips target triplet (mips-mti-linux-gnu).
This target would be multilib by default and would have --enable-synci
on by default. It would mainly be used for building mips cross compilers
with glibc. I hope to extend this target to support the n32 and 64 bit
ABIs in the