Re: [2.6.8.1/x86] The kernel is _always_ compiled with -msoft-float

From: Brian Gerst
Date: Tue Sep 14 2004 - 15:49:40 EST


Denis Zaitsev wrote:
Why this kernel is always compiled with the FP emulation for x86?
This is the line from the beginning of arch/i386/Makefile:

CFLAGS += -pipe -msoft-float

And it's hardcoded, it does not depend on CONFIG_MATH_EMULATION. So,
is this just a typo or not?

To trap use of floating point in the kernel (not allowed). FPU emulation is only for userspace.

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