]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/ft32/interp.c
sim: overhaul alignment settings management
[thirdparty/binutils-gdb.git] / sim / ft32 / interp.c
index 5fc9ea246583ac790ffc1abcc5a48d8795d31441..8a44a472f6054e7325ceef10ae47c24a6017a488 100644 (file)
@@ -808,6 +808,9 @@ sim_open (SIM_OPEN_KIND kind,
   size_t i;
   SIM_DESC sd = sim_state_alloc (kind, cb);
 
+  /* Set default options before parsing user options.  */
+  current_alignment = STRICT_ALIGNMENT;
+
   /* The cpu data is kept in a separately allocated chunk of memory.  */
   if (sim_cpu_alloc_all (sd, 1) != SIM_RC_OK)
     {