This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: PATCH: Fix the MIPS ISA ELF setting (Re: RedHat 7.1/mips update)


> 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!


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]