aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2010-08-03 10:53:10 +0000
committerAlan Modra <amodra@gmail.com>2010-08-03 10:53:10 +0000
commite4d9f07834de9797e18e4810d985764a23c00dcc (patch)
tree673c4970b6f761b91eb50c1005c532239ee9d38a /gas
parent7b0a0875b2766972f460037380eb25ddc4b9906d (diff)
downloadgdb-e4d9f07834de9797e18e4810d985764a23c00dcc.zip
gdb-e4d9f07834de9797e18e4810d985764a23c00dcc.tar.gz
gdb-e4d9f07834de9797e18e4810d985764a23c00dcc.tar.bz2
* 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.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog6
-rw-r--r--gas/config/tc-d10v.h6
-rw-r--r--gas/config/tc-m32c.c2
3 files changed, 10 insertions, 4 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index da5c96d..4b1d4c7 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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
diff --git a/gas/config/tc-d10v.h b/gas/config/tc-d10v.h
index 39f3704..930f3a1 100644
--- a/gas/config/tc-d10v.h
+++ b/gas/config/tc-d10v.h
@@ -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
diff --git a/gas/config/tc-m32c.c b/gas/config/tc-m32c.c
index 9c523e2..4344fb4 100644
--- a/gas/config/tc-m32c.c
+++ b/gas/config/tc-m32c.c
@@ -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