Define -msoft-float on ppc when --without-fp specified
Geoff Keating
geoffk@geoffk.org
Fri Dec 7 00:58:00 GMT 2001
> 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>
More information about the Libc-alpha
mailing list