diff options
author | Nick Clifton <nickc@redhat.com> | 1999-11-03 18:19:22 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 1999-11-03 18:19:22 +0000 |
commit | 829ce3071e59a4fe331b1299c1fe82bc5c025d2c (patch) | |
tree | 73a7b0bf7d4b2287ca1f7b7a2e2885f3c9ade41e | |
parent | 7e301c9cbd617e7356093766861258f4afb8a00b (diff) | |
download | gdb-829ce3071e59a4fe331b1299c1fe82bc5c025d2c.zip gdb-829ce3071e59a4fe331b1299c1fe82bc5c025d2c.tar.gz gdb-829ce3071e59a4fe331b1299c1fe82bc5c025d2c.tar.bz2 |
Change the default endianness to little.
-rw-r--r-- | gas/ChangeLog | 4 | ||||
-rw-r--r-- | gas/config/tc-mcore.h | 3 | ||||
-rw-r--r-- | ld/ChangeLog | 5 | ||||
-rw-r--r-- | ld/emulparams/elf32mcore.sh | 2 | ||||
-rw-r--r-- | ld/emulparams/mcorepe.sh | 2 |
5 files changed, 13 insertions, 3 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index d3aa148..291d1a1 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -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. diff --git a/gas/config/tc-mcore.h b/gas/config/tc-mcore.h index 28dd7d3..2bc2efe 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 ed7519d..8bcda8f 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -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. diff --git a/ld/emulparams/elf32mcore.sh b/ld/emulparams/elf32mcore.sh index f3a67ca..7769e12 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 00ab4dd..3c19e02 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 |