* 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.
This commit is contained in:
parent
e1be4b136f
commit
b96282be2d
@ -1,3 +1,9 @@
|
||||
2010-08-04 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* 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.
|
||||
|
||||
2010-08-03 Tristan Gingold <gingold@adacore.com>
|
||||
|
||||
* makefile.vms (OBJS): Add Add compress-debug.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
|
||||
|
@ -28,7 +28,7 @@
|
||||
|
||||
#define TARGET_FORMAT "elf32-m32c"
|
||||
|
||||
#define TARGET_BYTES_BIG_ENDIAN 1
|
||||
#define TARGET_BYTES_BIG_ENDIAN 0
|
||||
|
||||
#define md_end m32c_md_end
|
||||
extern void m32c_md_end (void);
|
||||
|
@ -45,7 +45,7 @@ case ${cpu} in
|
||||
ip2k) cpu_type=ip2k endian=big ;;
|
||||
iq2000) cpu_type=iq2000 endian=big ;;
|
||||
lm32) cpu_type=lm32 ;;
|
||||
m32c) cpu_type=m32c endian=big ;;
|
||||
m32c) cpu_type=m32c endian=little ;;
|
||||
m32r) cpu_type=m32r endian=big ;;
|
||||
m32rle) cpu_type=m32r endian=little ;;
|
||||
m5200) cpu_type=m68k ;;
|
||||
|
Loading…
Reference in New Issue
Block a user