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