]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/m32r/sim-if.c
sim: overhaul & unify endian settings management
[thirdparty/binutils-gdb.git] / sim / m32r / sim-if.c
index bea6505d74046636ccd8c708830dbaf598ba2f4b..3d8db0332fd6f3ae5c0b609982515cc7f42b70ff 100644 (file)
@@ -56,6 +56,7 @@ sim_open (SIM_OPEN_KIND kind, host_callback *callback, struct bfd *abfd,
 
   /* Set default options before parsing user options.  */
   current_alignment = STRICT_ALIGNMENT;
+  current_target_byte_order = BFD_ENDIAN_BIG;
 
   /* The cpu data is kept in a separately allocated chunk of memory.  */
   if (sim_cpu_alloc_all (sd, 1) != SIM_RC_OK)