]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/ft32/interp.c
sim: overhaul & unify endian settings management
[thirdparty/binutils-gdb.git] / sim / ft32 / interp.c
index 8a44a472f6054e7325ceef10ae47c24a6017a488..77ed8f8eb897969c37bb947998d420168e0b35fe 100644 (file)
@@ -810,6 +810,7 @@ sim_open (SIM_OPEN_KIND kind,
 
   /* 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)