Bad ELF header when mixing MIPS II with MIPS I

H . J . Lu hjl@lucon.org
Thu Jan 31 23:47:00 GMT 2002


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.



More information about the Binutils mailing list