This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Patch to add -mfp32 support to MIPS gas
- To: binutils at sources dot redhat dot com
- Subject: Re: Patch to add -mfp32 support to MIPS gas
- From: Thiemo Seufer <ica2_ts at csv dot ica dot uni-stuttgart dot de>
- Date: Mon, 23 Jul 2001 21:05:43 +0200
Richard Sandiford wrote:
> Thiemo Seufer <ica2_ts@csv.ica.uni-stuttgart.de> writes:
>
> > Another Question, what happens if somebody specifies
> > "-mips1 -mcpu=r10000 -mfp=64" ? AFAICS it sets mips_32bitmode
> > and uses 64bit FPR's, which creates bad ELF object files.
>
> Is your objection is that it's possible to silently link executables
> assembled with -mfp32 with others assembled with -mfp64?
Err, no, and it's not really a objection, I only see some
potential conflict:
mips_32bitmode sets the EF_MIPS_32BITMODE flag. As far as I
understood the ELF format this guarantees the execution system
that only 32bit wide regs are used. This leads to two questions:
- Does the flags meaning include fp regs? It's AFAIK not
explicitly stated, but since the flags use is to provide
backward compatibility, I assume yes.
- Do the toolchains of People using -mfp64 care about the
EF_MIPS_32BITMODE flag?
Thiemo