This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: PATCH: Fix the MIPS ISA ELF setting (Re: RedHat 7.1/mips update)
On Fri, Nov 02, 2001 at 04:05:19PM -0800, Eric M. Christopher wrote:
>
> > Just to clarify, I am talking about gas, not gcc. There is no need to pass
> > -m4100 to gcc.
>
> Yes. I understand. Though I don't know why you aren't passing
> -march=vr4100 to gcc (or at least -mtune=vr4100). You don't want 4100
> tuned code?
-mtune=vr4100 may be ok. But -march=vr4100 may be not since it means MIPS
3 ISA which has 64bit instructions. Also the ABI should be 32, not o64.
>
> > Any solution should take into acount of existing kernel source and previous
> > binutils which have been working fine until now. If you change kernel, now
> > you force everyone to use the new binutils. The problem is the current gas
> > won't allow "-m4100 -mips2" anymore. Why not fix that?
>
> Because -m4100 -mips2 is wrong. -mips2 is simply an alias for a
> processor that implements the standard mips2 ISA. Here you are
Are you implying we shouldn' set both EF_MIPS_ARCH and EF_MIPS_MACH at
the same time?
> specifying two architectures on the same command line. Why would you
> think this would work (other than it worked in the past)?
>
How do I make gas to accept MIPS 2 ISA plus some intructions for 4100?
We used to use "-m4100 -mips2" for that purpose.
H.J.