mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 03:10:05 +00:00
Fix warnings from MIPS soft-float _FPU_GETCW.
This commit is contained in:
parent
9003570a49
commit
0993dd9b0c
@ -1,3 +1,10 @@
|
|||||||
|
2012-12-04 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
|
* sysdeps/mips/fpu_control.h [__mips_soft_float] (_FPU_GETCW):
|
||||||
|
Define to set cw to 0, now just to plain "0" as a statement.
|
||||||
|
[__mips_soft_float] (_FPU_SETCW): Define to (void) (cw), rather
|
||||||
|
than doing nothing with cw.
|
||||||
|
|
||||||
2012-11-30 Joseph Myers <joseph@codesourcery.com>
|
2012-11-30 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
* sysdeps/mips/mips32/libm-test-ulps: Update.
|
* sysdeps/mips/mips32/libm-test-ulps: Update.
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
/* FPU control word bits. Mips version.
|
/* FPU control word bits. Mips version.
|
||||||
Copyright (C) 1996, 1997, 1998, 1999, 2000, 2006, 2008
|
Copyright (C) 1996-2012 Free Software Foundation, Inc.
|
||||||
Free Software Foundation, Inc.
|
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Olaf Flebbe and Ralf Baechle.
|
Contributed by Olaf Flebbe and Ralf Baechle.
|
||||||
|
|
||||||
@ -63,8 +62,8 @@
|
|||||||
#define _FPU_RESERVED 0xffffffff
|
#define _FPU_RESERVED 0xffffffff
|
||||||
#define _FPU_DEFAULT 0x00000000
|
#define _FPU_DEFAULT 0x00000000
|
||||||
typedef unsigned int fpu_control_t;
|
typedef unsigned int fpu_control_t;
|
||||||
#define _FPU_GETCW(cw) 0
|
#define _FPU_GETCW(cw) (cw) = 0
|
||||||
#define _FPU_SETCW(cw) do { } while (0)
|
#define _FPU_SETCW(cw) (void) (cw)
|
||||||
extern fpu_control_t __fpu_control;
|
extern fpu_control_t __fpu_control;
|
||||||
|
|
||||||
#else /* __mips_soft_float */
|
#else /* __mips_soft_float */
|
||||||
|
Loading…
Reference in New Issue
Block a user