]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/lm32/sim-if.c
sim: overhaul & unify endian settings management
[thirdparty/binutils-gdb.git] / sim / lm32 / sim-if.c
index fba2d638f42bc9e65ba39549be8e6d5cbc09326f..0142868834d52d2f4be0a2609f7805fd7166c32e 100644 (file)
@@ -93,6 +93,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)