summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--soft-fp/soft-fp.h8
2 files changed, 8 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 6478922f48..3e12c0ded3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2003-05-26 Aldy Hernandez <aldyh@redhat.com>
+
+ * soft-fp/soft-fp.h (FP_EX_UNDERFLOW): Define to 0.
+
2003-05-28 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/ia64/setcontext.S: Pass fourth argument to
diff --git a/soft-fp/soft-fp.h b/soft-fp/soft-fp.h
index e2639d7bc1..18779f88d8 100644
--- a/soft-fp/soft-fp.h
+++ b/soft-fp/soft-fp.h
@@ -1,5 +1,5 @@
/* Software floating-point emulation.
- Copyright (C) 1997,1998,1999,2000,2002 Free Software Foundation, Inc.
+ Copyright (C) 1997,1998,1999,2000,2002,2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Richard Henderson (rth@cygnus.com),
Jakub Jelinek (jj@ultra.linux.cz),
@@ -55,7 +55,7 @@
#define FP_EX_OVERFLOW 0
#endif
#ifndef FP_EX_UNDERFLOW
-#define FP_EX_UNDERFLOW
+#define FP_EX_UNDERFLOW 0
#endif
#ifndef FP_EX_DIVZERO
#define FP_EX_DIVZERO 0
@@ -74,7 +74,7 @@
#else
#define FP_DECL_EX int _fex = 0
#endif
-
+
#ifndef FP_INIT_ROUNDMODE
#define FP_INIT_ROUNDMODE do {} while (0)
#endif
@@ -94,7 +94,7 @@
#define FP_SET_EXCEPTION(ex) \
_fex |= (ex)
-
+
#define FP_UNSET_EXCEPTION(ex) \
_fex &= ~(ex)