This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: RedHat 7.1/mips update
On Fri, Oct 26, 2001 at 05:14:04PM -0700, Eric M. Christopher wrote:
>
> > EF_MIPS_ARCH field and let bfd set the EF_MIPS_MACH field only. Then
> > we should allow
> >
> > -march=r4100 -mips2
> >
> > which means to use instructions from mips2 plus those from r4100.
> >
>
> This is harder than you think. Some architectures have taken a
> reference architecture and remove instructions - not add. At which point
> which part has precedence the -mipsX or the -march?
>
Do you see my patch:
http://sources.redhat.com/ml/binutils/2001-10/msg00526.html
My patch will allow you to set -mipsX if it is comaptible with -march. You
can do further checking in OPCODE_IS_MEMBER to see if an instruction is
implemented in mips_arch.
H.J.