Change the default endianness to little.
authorNick Clifton <nickc@redhat.com>
Wed, 3 Nov 1999 18:19:22 +0000 (18:19 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 3 Nov 1999 18:19:22 +0000 (18:19 +0000)
gas/ChangeLog
gas/config/tc-mcore.h
ld/ChangeLog
ld/emulparams/elf32mcore.sh
ld/emulparams/mcorepe.sh

index d3aa148bfd342116b75f152e1b8093376699e844..291d1a1a3393c7efde145f38d50a74f614e84861 100644 (file)
@@ -1,3 +1,7 @@
+1999-11-03  Nick Clifton  <nickc@cygnus.com>
+
+       * config/tc-mcore.h (TARGET_BYTES_BIG_ENDIAN): Change to false.
+
 1999-11-01  Gavin Romig-Koch  <gavin@cygnus.com>
 
        * config/tc-mips.c (macro_build): Use OPCODE_IS_MEMBER.
index 28dd7d313108f55cde3143d0334c8a287ec807b5..2bc2efee7a67420033d184e6787e66369ca6a7d1 100644 (file)
@@ -27,7 +27,8 @@
 #endif
 
 #define TARGET_ARCH    bfd_arch_mcore
-#define TARGET_BYTES_BIG_ENDIAN 1
+/* Used to initialise target_big_endian.  */
+#define TARGET_BYTES_BIG_ENDIAN 0
 
 /* Don't write out relocs for pcrel stuff.  */
 #define TC_COUNT_RELOC(x) (((x)->fx_addsy || (x)->fx_subsy) && \
index ed7519d4e03ef3ab48d3a8fca1f5bafd9e27a6cd..8bcda8f89f68af8deba0da430d6ff613e11e1f83 100644 (file)
@@ -1,3 +1,8 @@
+1999-11-03  Nick Clifton  <nickc@cygnus.com>
+
+       * emulparams/elf32mcore.sh (OUTPUT_FORMAT): Change to little endian.
+       * emulparams/mcorepe.sh (OUTPUT_FORMAT): Change to little endian.
+
 1999-11-01  Steve Chamberlain  <sac@pobox.com>
 
        * ldlang.c (section_already_linked): Rework to use hash table.
index f3a67cafae4874afa0a9d4a9724c5bf12700f3f1..7769e1232a6bb3e22a4e32b146994370c9cd1457 100644 (file)
@@ -1,5 +1,5 @@
 SCRIPT_NAME=elf
-OUTPUT_FORMAT="elf32-mcore-big"
+OUTPUT_FORMAT="elf32-mcore-little"
 BIG_OUTPUT_FORMAT="elf32-mcore-big"
 LITTLE_OUTPUT_FORMAT="elf32-mcore-little"
 PAGE_SIZE=0x1000
index 00ab4dd00df6aacb2d3a402c2ccdd88b7c3bfaa3..3c19e02ca1e81f5f0701be49077e7bd426148202 100644 (file)
@@ -1,6 +1,6 @@
 ARCH=mcore
 SCRIPT_NAME=mcorepe
-OUTPUT_FORMAT="pei-mcore-big"
+OUTPUT_FORMAT="pei-mcore-little"
 LITTLE_OUTPUT_FORMAT="pei-mcore-little"
 BIG_OUTPUT_FORMAT="pei-mcore-big"
 TEMPLATE_NAME=pe