This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: PATCH: Fix mixing MIPS object files.
Maciej W. Rozycki wrote:
[snip]
> > Now the question is
> >
> > # mipsel-linux-as -mips[3|4|5|64]
> > # mipsel-linux-as -march=xxx
> > # mipsel-linux-gcc -mips[3|4|5|64]
> > # mipsel-linux-gcc -march=xxx
> >
> > will ever use 64bit registers. I hope they won't. If it is the case,
> > I have no problems to ignore EF_MIPS_ARCH when EF_MIPS_MACH is not
> > zero.
>
> I do hope gcc won't use 64-bit registers if invoked this way, obeying the
> implied ABI. Gas should probably accept whatever it receives, though, as
> it does e.g. for ".set mips" overrides.
Gas generally wants 32-bit registers in this case, the override is
limited to the scope of the .set mips statement.
Thiemo