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:
authorNick Clifton <nickc@redhat.com>2003-02-20 22:14:12 +0300
committerNick Clifton <nickc@redhat.com>2003-02-20 22:14:12 +0300
commitbac50d6b6eed4d03d700fe5497c9ca2e47fe2a6d (patch)
treee7447bd217613883b053011d6ccc9839e7f2bb5c /newlib/libc/include/machine/ieeefp.h
parent892d89627472a912e60a66d1b3e363de5d5ac3ab (diff)
Add support for Cirrus Maverick ARM co-processor
Diffstat (limited to 'newlib/libc/include/machine/ieeefp.h')
-rw-r--r--newlib/libc/include/machine/ieeefp.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/newlib/libc/include/machine/ieeefp.h b/newlib/libc/include/machine/ieeefp.h
index 3fcb9a4ee..6eeb381bd 100644
--- a/newlib/libc/include/machine/ieeefp.h
+++ b/newlib/libc/include/machine/ieeefp.h
@@ -50,7 +50,7 @@
*/
-#if (defined(__arm__) || defined(__thumb__))
+#if (defined(__arm__) || defined(__thumb__)) && !defined(__MAVERICK__)
/* ARM always has big-endian words. Within those words the byte ordering
will be big or little endian depending upon the target. */
#define __IEEE_BIG_ENDIAN
@@ -234,6 +234,14 @@
#define _DOUBLE_IS_32BITS
#endif
+#ifdef __MAVERICK__
+#ifdef __ARMEL__
+# define __IEEE_LITTLE_ENDIAN
+#else /* must be __ARMEB__ */
+# define __IEEE_BIG_ENDIAN
+#endif /* __ARMEL__ */
+#endif /* __MAVERICK__ */
+
#ifndef __IEEE_BIG_ENDIAN
#ifndef __IEEE_LITTLE_ENDIAN
#error Endianess not declared!!