* 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.
This commit is contained in:
Alan Modra 2010-08-03 10:53:10 +00:00
parent 7b0a0875b2
commit e4d9f07834
3 changed files with 10 additions and 4 deletions

View 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

View 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

View 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