This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Define -msoft-float on ppc when --without-fp specified
- From: Geoff Keating <geoffk at geoffk dot org>
- To: drow at mvista dot com
- Cc: libc-alpha at sources dot redhat dot com
- Date: Thu, 6 Dec 2001 15:23:20 -0800
- Subject: Re: Define -msoft-float on ppc when --without-fp specified
- References: <200112060122.RAA14738@geoffk.org> <20011205204458.A7163@nevyn.them.org>
- Reply-to: Geoff Keating <geoffk at redhat dot com>
> Date: Wed, 5 Dec 2001 20:44:58 -0500
> From: Daniel Jacobowitz <drow@mvista.com>
> On Wed, Dec 05, 2001 at 05:22:50PM -0800, Geoff Keating wrote:
> >
> > This patch makes the user's life easier by automatically passing the
> > appropriate flags to GCC to disable use of the FPU when --without-fp
> > is specified.
> >
> > OK to commit?
>
> While you're at it, you might also want to:
> - shrink the size of a jmpbuf while you're already changing the ABI
I thought about doing this, but it seemed like it would be better to
allow the space in the jmpbuf. That way, code that doesn't pass
floating-point arguments is compatible with both ABIs.
> - Not build fprrest.S and fprsave.S, and possibly fenv_const.c
> and fe_nomask.c, with associated Versions changes. In particular
> the first two have FP instructions.
This is a good point, I'll commit shortly.
--
- Geoffrey Keating <geoffk@geoffk.org> <geoffk@redhat.com>