]> sourceware.org Git - newlib-cygwin.git/commitdiff
bi-endian support for moxie.
authorAnthony Green <green@moxielogic.com>
Thu, 13 Sep 2012 23:57:33 +0000 (23:57 +0000)
committerAnthony Green <green@moxielogic.com>
Thu, 13 Sep 2012 23:57:33 +0000 (23:57 +0000)
libgloss/ChangeLog
libgloss/moxie/moxie-elf-common.ld
newlib/ChangeLog
newlib/libc/include/machine/ieeefp.h

index 5ef85b918f7bf0b328e1ab2bd51402e5f3522d53..09ffbe972c36670230415db4411683d0f8bd0e86 100644 (file)
@@ -1,3 +1,7 @@
+2012-09-13  Anthony Green  <green@moxielogic.com>
+
+       * moxie/moxie-elf-common.ld: Add bi-endian support.
+
 2012-08-30  DJ Delorie  <dj@redhat.com>
 
        * rx/rx.ld: Add W_* sections to .rodata.
index 041e90616efadd2bf013e4cf499c8599bd78c4c6..ee1551003ac1fd7f4eb4fe45958d3cab09f7eec8 100644 (file)
@@ -2,7 +2,7 @@
  * The common part of the default linker scripts for standalone
  * executables running on a Moxie processor.
  *
- * Copyright (C) 2008 Anthony Green
+ * Copyright (C) 2008, 2012 Anthony Green
  *
  * The authors hereby grant permission to use, copy, modify,
  * distribute, and license this software and its documentation for any
@@ -15,7 +15,8 @@
  * clearly indicated on the first page of each file where they apply.
  */
 
-OUTPUT_FORMAT("elf32-moxie")
+OUTPUT_FORMAT("elf32-bigmoxie", "elf32-bigmoxie",
+              "elf32-littlemoxie")
 OUTPUT_ARCH(moxie)
 ENTRY(_start)
 SECTIONS
index 10e7dabeee847064bb9b4df4e4d4abf2182d2b58..d7ad83586bb3fa68fa963d285e229546f620a70c 100644 (file)
@@ -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
index 72c1cc542475f974f320178663191844c17986f4..7fca16d3ce5ab50a3d13de107cf8c5840ba1ce13 100644 (file)
 #endif
 
 #ifdef __moxie__
+#ifdef __MOXIE_BIG_ENDIAN__
 #define __IEEE_BIG_ENDIAN
+#else
+#define __IEEE_LITTLE_ENDIAN
+#endif
 #endif
 
 #ifdef __ia64__
This page took 0.059236 seconds and 5 git commands to generate.