[COMMITTED] moxie: don't force big-endian

Anthony Green green@moxielogic.com
Sun Feb 2 02:05:00 GMT 2020


I've pushed the attached patch to remove a line that forced the moxie
assembler into big-endian mode all of the time.  Little-endian mode works
(again?) now.


2020-02-01  Anthony Green  <green@moxielogic.com>

       * config/tc-moxie.c (md_begin): Don't force big-endian mode.


diff --git a/gas/config/tc-moxie.c b/gas/config/tc-moxie.c
index e2fac1175a..f72fb71c4f 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 mailing list