[binutils-gdb] moxie: don't force big-endian mode

Anthony Green green@sourceware.org
Sun Feb 2 01:59:00 GMT 2020


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=2384096c4d72fde64bf26597d34928ac477ef2f8

commit 2384096c4d72fde64bf26597d34928ac477ef2f8
Author: Gitea <gitea@fake.local>
Date:   Sat Feb 1 20:59:19 2020 -0500

    moxie: don't force big-endian mode

Diff:
---
 gas/ChangeLog         | 4 ++++
 gas/config/tc-moxie.c | 2 --
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/gas/ChangeLog b/gas/ChangeLog
index bc149c1..f52184b 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2020-02-01  Anthony Green  <green@moxielogic.com>
+
+       * config/tc-moxie.c (md_begin): Don't force big-endian mode.
+
 2020-01-31  Sandra Loosemore  <sandra@codesourcery.com>
 
 	* config/tc-nios2.c (nios2_cons): Handle %gotoff as well as
diff --git a/gas/config/tc-moxie.c b/gas/config/tc-moxie.c
index e2fac11..f72fb71 100644
--- a/gas/config/tc-moxie.c
+++ b/gas/config/tc-moxie.c
@@ -74,8 +74,6 @@ md_begin (void)
   for (count = 0, opcode = moxie_form3_opc_info; count++ < 10; opcode++)
     hash_insert (opcode_hash_control, opcode->name, (char *) opcode);
 
-  target_big_endian = TARGET_BYTES_BIG_ENDIAN;
-
   bfd_set_arch_mach (stdoutput, TARGET_ARCH, 0);
 }



More information about the Binutils-cvs mailing list