From 7fb2478092d40e5237115f409968a9762734692b Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 23 Aug 2006 19:13:46 +0000 Subject: fixes from psm: disable unsupported __fpu_control and sync with upstream --- libc/sysdeps/linux/nios/fpu_control.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libc/sysdeps/linux/nios/fpu_control.h') diff --git a/libc/sysdeps/linux/nios/fpu_control.h b/libc/sysdeps/linux/nios/fpu_control.h index b7cdf2f3e..9c3174574 100644 --- a/libc/sysdeps/linux/nios/fpu_control.h +++ b/libc/sysdeps/linux/nios/fpu_control.h @@ -91,7 +91,9 @@ typedef unsigned int fpu_control_t __attribute__ ((__mode__ (__SI__))); #define _FPU_GETCW(cw) __asm__ ("cfc1 %0,$31" : "=r" (cw)) #define _FPU_SETCW(cw) __asm__ ("ctc1 %0,$31" : : "r" (cw)) +#if 0 /* Default control word set at startup. */ extern fpu_control_t __fpu_control; +#endif #endif /* fpu_control.h */ -- cgit v1.2.3