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)
On Sun, Nov 04, 2001 at 05:07:42PM +0100, Thiemo Seufer wrote:
> H . J . Lu wrote:
> > On Sun, Nov 04, 2001 at 01:06:42PM +0100, Thiemo Seufer wrote:
> > >
> > > I assume -march=vr4100 -mabi=32 will work for him.
> > >
> >
> > Does that work for all gcc? Does that work for any gcc?
>
> I haven't actually tried it, but I remember older gcc had -mabi=32
> disabled. Nevertheless, it's the intended use and _should_ work.
-mabi=32 is disabled in gcc, including the current CVS:
/* ??? This doesn't work yet, so don't let people try to use it. */
if (mips_abi == ABI_32)
error ("The -mabi=32 support does not work yet.");
>
> If it doesn't work, it's AFAICS a bug. -mgp32 -mfp32 might be useful
> as a replacement for -mabi=32 then.
>
The problem is I don't know for sure what gcc will do with -march=xxxx
where xxxx suports 64bit instructions. -mips2 seems a way to say I want
32bit instructions.
H.J.