Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2002-01-07 22:33:23 +0300
committerJeff Johnston <jjohnstn@redhat.com>2002-01-07 22:33:23 +0300
commit86b06396f007e2820ff211e03bc078c47d48ee60 (patch)
tree471ee8cfe683564d3583a1c2ca3d6137a3365218
parent11b4cf942d8fd1ac17b60106e0393c15a973a068 (diff)
2002-01-07 Alan Matsuoka <alanm@redhat.com>
* libc/include/machine/ieeefp.h: Configure d10v doubles to be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits. libc/include/sys/config.h: Ditto.
-rw-r--r--newlib/ChangeLog6
-rw-r--r--newlib/libc/include/machine/ieeefp.h2
-rw-r--r--newlib/libc/include/sys/config.h2
3 files changed, 10 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 452034e00..233fe0516 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,9 @@
+2002-01-07 Alan Matsuoka <alanm@redhat.com>
+
+ * libc/include/machine/ieeefp.h: Configure d10v doubles to
+ be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
+ libc/include/sys/config.h: Ditto.
+
2001-12-28 Corinna Vinschen <corinna@vinschen.de>
* libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
diff --git a/newlib/libc/include/machine/ieeefp.h b/newlib/libc/include/machine/ieeefp.h
index d60759925..7502d3aed 100644
--- a/newlib/libc/include/machine/ieeefp.h
+++ b/newlib/libc/include/machine/ieeefp.h
@@ -138,7 +138,9 @@
#ifdef __D10V__
#define __IEEE_BIG_ENDIAN
+#if __DOUBLE__ == 32
#define _DOUBLE_IS_32BITS
+#endif
#define __SMALL_BITFIELDS
#endif
diff --git a/newlib/libc/include/sys/config.h b/newlib/libc/include/sys/config.h
index 874622489..8b1358893 100644
--- a/newlib/libc/include/sys/config.h
+++ b/newlib/libc/include/sys/config.h
@@ -38,7 +38,9 @@
#undef UINT_MAX
#define INT_MAX __INT_MAX__
#define UINT_MAX (__INT_MAX__ * 2U + 1)
+#if __DOUBLE__ == 32
#define _DOUBLE_IS_32BITS
+#endif
#define _POINTER_INT short
#define __IEEE_BIG_ENDIAN
#endif