[patch] rs6000: default for -D_SOFT_FLOAT

Daniel Jacobowitz drow@mvista.com
Fri Oct 26 18:54:00 GMT 2001


On Fri, Oct 26, 2001 at 04:14:35PM -0400, DJ Delorie wrote:
> 
> The rs6000 configuration allowed for a cpu-specific default for
> whether -D_SOFT_FLOAT was provided or not.  Nobody set it.  This patch
> does so, by specifying an additional header that sets the default,
> based on --with-cpu= and --with(out)-fp.  I took the list of
> soft-float CPUs from the existing cpp spec.  Lightly tested on a
> linux-x-powerpc cross build.

There's something I don't understand about this.  It's not introduced
by your patch, but you preserve it.  This makes --without-fp change
-D_SOFT_FLOAT - but nothing else!

Shouldn't it also set the mask so that we actually don't generate
floating point?  In other words, act like -msoft-float?

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer



More information about the Gcc-patches mailing list