This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Define -msoft-float on ppc when --without-fp specified


> 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>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]