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

Message ID CACxje58frxmBez8SS6FBR+hSPzKzwy8rmp4_bY7=wxp14=p3TQ@mail.gmail.com
State New
Headers show
Series
  • [COMMITTED] moxie: don't force big-endian
Related show

Commit Message

Anthony Green Feb. 2, 2020, 2:04 a.m.
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.

Patch

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);
 }