Re: Why all glibc2 programs are FPU programs

David S. Miller (davem@dm.cobaltmicro.com)
Tue, 26 May 1998 08:09:13 -0700


From: Ulrich Drepper <drepper@cygnus.com>
Date: 26 May 1998 07:46:00 -0700

The problem is that we decide, e.g., about the rounding mode by adding
-lieee to the link line. This makes the startup code use a different
value for the control word. But how would you do this if you don't
have the possibility to set the CW?

extern int lib_ieee_set;

if(lib_ieee_set)
set_fpu_cw(foo);
else
; /* this is how the kernel sets it */

Later,
David S. Miller
davem@dm.cobaltmicro.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu