]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* config/tc-d10v.h (TARGET_BYTES_BIG_ENDIAN): Define as 1.
authorAlan Modra <amodra@gmail.com>
Tue, 3 Aug 2010 10:53:10 +0000 (10:53 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 3 Aug 2010 10:53:10 +0000 (10:53 +0000)
* config/tc-m32c.c (md_number_to_chars): Call bigendian
form of number_to_chars, not littleendian.

gas/ChangeLog
gas/config/tc-d10v.h
gas/config/tc-m32c.c

index da5c96d33763162a959565569a8b4a040e9c93ec..4b1d4c7e975805477d1513b3cd5a6197dac6a1cc 100644 (file)
@@ -1,3 +1,9 @@
+2010-08-03  Alan Modra  <amodra@gmail.com>
+
+       * config/tc-d10v.h (TARGET_BYTES_BIG_ENDIAN): Define as 1.
+       * config/tc-m32c.c (md_number_to_chars): Call bigendian
+       form of number_to_chars, not littleendian.
+
 2010-08-02  Alan Modra  <amodra@gmail.com>
 
        * config/tc-d30v.c (d30v_cons_align): Don't align constants
index 39f37044ed29d83e9fda211812a6902834383ea0..930f3a185dd89ecb167b7c069ac1d4ee0d95f855 100644 (file)
@@ -1,6 +1,6 @@
 /* tc-d10v.h -- Header file for tc-d10v.c.
-   Copyright 1996, 1997, 1998, 2000, 2001, 2002, 2003, 2005, 2007, 2009
-   Free Software Foundation, Inc.
+   Copyright 1996, 1997, 1998, 2000, 2001, 2002, 2003, 2005, 2007, 2009,
+   2010 Free Software Foundation, Inc.
    Written by Martin Hunt, Cygnus Support.
 
    This file is part of GAS, the GNU Assembler.
@@ -22,7 +22,7 @@
 
 #define TC_D10V
 
-#define TARGET_BYTES_BIG_ENDIAN 0
+#define TARGET_BYTES_BIG_ENDIAN 1
 
 /* The target BFD architecture.  */
 #define TARGET_ARCH bfd_arch_d10v
index 9c523e27811d9f154520fbdf09ef66bd43117b1a..4344fb4c4673a75a4936aec1dfe12f5402c8ab39 100644 (file)
@@ -1146,7 +1146,7 @@ m32c_force_relocation (fixS * fixp)
 void
 md_number_to_chars (char * buf, valueT val, int n)
 {
-  number_to_chars_littleendian (buf, val, n);
+  number_to_chars_bigendian (buf, val, n);
 }
 
 /* Turn a string in input_line_pointer into a floating point constant of type