From: Nick Clifton Date: Wed, 3 Nov 1999 18:19:22 +0000 (+0000) Subject: Change the default endianness to little. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=829ce3071e59a4fe331b1299c1fe82bc5c025d2c;p=binutils-gdb.git Change the default endianness to little. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index d3aa148bfd3..291d1a1a339 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +1999-11-03 Nick Clifton + + * config/tc-mcore.h (TARGET_BYTES_BIG_ENDIAN): Change to false. + 1999-11-01 Gavin Romig-Koch * config/tc-mips.c (macro_build): Use OPCODE_IS_MEMBER. diff --git a/gas/config/tc-mcore.h b/gas/config/tc-mcore.h index 28dd7d31310..2bc2efee7a6 100644 --- a/gas/config/tc-mcore.h +++ b/gas/config/tc-mcore.h @@ -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) && \ diff --git a/ld/ChangeLog b/ld/ChangeLog index ed7519d4e03..8bcda8f89f6 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +1999-11-03 Nick Clifton + + * emulparams/elf32mcore.sh (OUTPUT_FORMAT): Change to little endian. + * emulparams/mcorepe.sh (OUTPUT_FORMAT): Change to little endian. + 1999-11-01 Steve Chamberlain * ldlang.c (section_already_linked): Rework to use hash table. diff --git a/ld/emulparams/elf32mcore.sh b/ld/emulparams/elf32mcore.sh index f3a67cafae4..7769e1232a6 100644 --- a/ld/emulparams/elf32mcore.sh +++ b/ld/emulparams/elf32mcore.sh @@ -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 diff --git a/ld/emulparams/mcorepe.sh b/ld/emulparams/mcorepe.sh index 00ab4dd00df..3c19e02ca1e 100644 --- a/ld/emulparams/mcorepe.sh +++ b/ld/emulparams/mcorepe.sh @@ -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