about summary refs log tree commit diff
path: root/sysdeps/mips/fpu_control.h
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-07-05 15:38:00 +0000
committerAndreas Jaeger <aj@suse.de>2000-07-05 15:38:00 +0000
commita2616aed35f4953eee78bc9ee92d8d4a9ebb7e07 (patch)
tree46cbeff633d48feda508aa9afb4c64afc6615453 /sysdeps/mips/fpu_control.h
parentd41293c7d417075f6bbdbe71fb35d6aac847467b (diff)
downloadglibc-a2616aed35f4953eee78bc9ee92d8d4a9ebb7e07.tar.gz
glibc-a2616aed35f4953eee78bc9ee92d8d4a9ebb7e07.tar.xz
glibc-a2616aed35f4953eee78bc9ee92d8d4a9ebb7e07.zip
Update.
	* sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
	(_FPU_GETCW): Remove extra colon.
	Patch by Ralf Baechle <ralf@uni-koblenz.de>.
Diffstat (limited to 'sysdeps/mips/fpu_control.h')
-rw-r--r--sysdeps/mips/fpu_control.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/mips/fpu_control.h b/sysdeps/mips/fpu_control.h
index 789a614973..c5c83e0442 100644
--- a/sysdeps/mips/fpu_control.h
+++ b/sysdeps/mips/fpu_control.h
@@ -1,5 +1,5 @@
 /* FPU control word bits.  Mips version.
-   Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+   Copyright (C) 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Olaf Flebbe and Ralf Baechle.
 
@@ -86,10 +86,10 @@
 #define _FPU_IEEE     0x00000F80
 
 /* Type of the control word.  */
-typedef unsigned int fpu_control_t __attribute__ ((__mode__ (__HI__)));
+typedef unsigned int fpu_control_t __attribute__ ((__mode__ (__SI__)));
 
 /* Macros for accessing the hardware control word.  */
-#define _FPU_GETCW(cw) __asm__ ("cfc1 %0,$31" : "=r" (cw) : )
+#define _FPU_GETCW(cw) __asm__ ("cfc1 %0,$31" : "=r" (cw))
 #define _FPU_SETCW(cw) __asm__ ("ctc1 %0,$31" : : "r" (cw))
 
 /* Default control word set at startup.  */