Re: [BK+PATCH] remove __constant_memcpy

Jakub Jelinek (jakub@redhat.com)
Thu, 17 Apr 2003 05:11:27 -0400


On Thu, Apr 17, 2003 at 09:04:44AM +0000, Arjan van de Ven wrote:
> On Thu, Apr 17, 2003 at 11:02:43AM +0200, Roman Zippel wrote:
> > Hi,
> >
> > On 17 Apr 2003, Arjan van de Ven wrote:
> >
> > > it can do that ANYWAY for all kinds of things.
> > > We really should ask the gcc folks to add a
> > > -fdontyoudareusefloatingpoint flag (well different name probably) to
> > > make sure it never ever will generate FP code. (would also help catch
> > > abusers of FP code in the kernel as a bonus ;)
> >
> > -msoft-float?
>
> that is a decent start but has a different effect, eg it doesnt' actually
> forbid gcc from generatic fpu code, just tells it to use emu lib functions
> for it .

But the emu lib functions aren't provided in the kernel, so you'll get
errors anyway.
On some targets the option is -mno-fpu though (e.g. sparc* kernels use
it for eons).

Jakub
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/