aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-m32c.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2010-08-04 04:21:06 +0000
committerAlan Modra <amodra@gmail.com>2010-08-04 04:21:06 +0000
commitb96282be2d4b941c8b5e3d9822a68b23facc53c0 (patch)
tree383ffa10a765cc8bc9ef0940c409a9bc72209853 /gas/config/tc-m32c.c
parente1be4b136f00213143259e743cb582a59ff6535c (diff)
downloadgdb-b96282be2d4b941c8b5e3d9822a68b23facc53c0.zip
gdb-b96282be2d4b941c8b5e3d9822a68b23facc53c0.tar.gz
gdb-b96282be2d4b941c8b5e3d9822a68b23facc53c0.tar.bz2
* configure.tgt (m32c): Set endian=little.
* config/tc-m32c.h (TARGET_BYTES_BIG_ENDIAN): Define as 0. * config/tc-m32c.c (md_number_to_chars): Revert last change.
Diffstat (limited to 'gas/config/tc-m32c.c')
-rw-r--r--gas/config/tc-m32c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-m32c.c b/gas/config/tc-m32c.c
index 4344fb4..9c523e2 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_bigendian (buf, val, n);
+ number_to_chars_littleendian (buf, val, n);
}
/* Turn a string in input_line_pointer into a floating point constant of type