summaryrefslogtreecommitdiffstats
path: root/newlib
diff options
context:
space:
mode:
authorAnthony Green <green@moxielogic.com>2012-09-13 23:57:33 +0000
committerAnthony Green <green@moxielogic.com>2012-09-13 23:57:33 +0000
commitaf32eb5e28bee21780150617740a5d15abf6cf8b (patch)
tree52d57ed8fc5f607498c3cfad4c860e795513c73e /newlib
parentd9eaa4f603493efabaa53fdaf2f2ab70e0c020aa (diff)
downloadcygnal-af32eb5e28bee21780150617740a5d15abf6cf8b.tar.gz
cygnal-af32eb5e28bee21780150617740a5d15abf6cf8b.tar.bz2
cygnal-af32eb5e28bee21780150617740a5d15abf6cf8b.zip
bi-endian support for moxie.
Diffstat (limited to 'newlib')
-rw-r--r--newlib/ChangeLog5
-rw-r--r--newlib/libc/include/machine/ieeefp.h4
2 files changed, 9 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 10e7dabee..d7ad83586 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,8 @@
+2012-09-13 Anthony Green <green@moxielogic.com>
+
+ * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Add bi-endian
+ support for moxie.
+
2012-08-23 Christopher Faylor <me.cygwin2012@cgf.cx>
* libc/stdio/flags.c (__sflags): Guard against using O_BINARY on
diff --git a/newlib/libc/include/machine/ieeefp.h b/newlib/libc/include/machine/ieeefp.h
index 72c1cc542..7fca16d3c 100644
--- a/newlib/libc/include/machine/ieeefp.h
+++ b/newlib/libc/include/machine/ieeefp.h
@@ -280,7 +280,11 @@
#endif
#ifdef __moxie__
+#ifdef __MOXIE_BIG_ENDIAN__
#define __IEEE_BIG_ENDIAN
+#else
+#define __IEEE_LITTLE_ENDIAN
+#endif
#endif
#ifdef __ia64__