]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/iq2000/sim-if.c
sim: overhaul & unify endian settings management
[thirdparty/binutils-gdb.git] / sim / iq2000 / sim-if.c
index 82ac53f2d0bdb40a94beaedfc55a8b0472900453..1129cee914579086978ba85eb76ab51382112e02 100644 (file)
@@ -62,6 +62,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)