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 d3aa148..291d1a1 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 28dd7d3..2bc2efe 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 ed7519d..8bcda8f 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 f3a67ca..7769e12 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 00ab4dd..3c19e02 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