From: Alan Modra Date: Tue, 3 Aug 2010 10:53:10 +0000 (+0000) Subject: * config/tc-d10v.h (TARGET_BYTES_BIG_ENDIAN): Define as 1. X-Git-Tag: sid-snapshot-20100901~290 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e4d9f07834de9797e18e4810d985764a23c00dcc;p=external%2Fbinutils.git * 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. --- 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 + + * 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 * 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