This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Bad ELF header when mixing MIPS II with MIPS I
On Thu, Jan 31, 2002 at 10:45:29PM -0800, Jason R Thorpe wrote:
> On Thu, Jan 31, 2002 at 08:09:56PM -0800, Eric Christopher wrote:
>
> > Ok. What I thought HJ was complaining was that he had two object files:
> >
> > foo.o: Containing mipsI insns only
> > crt0.o: Containing some mipsII insns
> >
> > Each one had the flags for the particular ISA set (mipsI or mipsII).
> >
> > He then linked them together and was surprised when the superset
> > (mipsII) was given in the final executable...
> >
> > Or was I mistaken in my reading?
>
> I thought he was confused that the header said mipsI?
Yes. That is what I found out.
H.J.