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)
- To: Michael Eager <eager at mvista dot com>
- Subject: Re: PATCH: Fix the MIPS ISA ELF setting (Re: RedHat 7.1/mips update)
- From: Eric Christopher <echristo at twigboy dot cygnus dot com>
- Date: Mon, 5 Nov 2001 17:07:32 -0800 (PST)
- cc: "Eric M. Christopher" <echristo at redhat dot com>, "H . J . Lu" <hjl at lucon dot org>, jim at jtan dot com, cgd at broadcom dot com, binutils at sources dot redhat dot com
> I think that you should be able to specify exactly one of arch, isa,
> or cpu. It makes no sense to me to have both -m4100 and -mcpu=4100.
> The 4100 is a processor, not an architecture. -mcpu=4100 should be
> a complete specification. -mips2 is an architecture. Specifying either
> one should be a complete specification, with nothing additional necessary.
> Or permitted. They are not orthogonal specifications.
>
I agree with a couple of changes:
-mcpu swapped for -march/-mtune
: This allows you to assemble for a particular architecture and hazard
schedule for another if you want... Also is compatible with gcc for this
way.
I'd love to get error checking in the assembler/compiler for incompatible
options, I just haven't had the time to do it yet. I was going to wait
until the gcc backend was table driven - I don't think I'll be able to do
that though.
-eric
--
Look out behind you!