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