sim: overhaul alignment settings management
[deliverable/binutils-gdb.git] / sim / d10v / interp.c
index b587cc18654f624ddb67de5cf25cba3bf5b6c84f..c0cdc034700d2a3e2b2f97a7259cfbbee8bc00c6 100644 (file)
@@ -755,6 +755,9 @@ sim_open (SIM_OPEN_KIND kind, host_callback *cb,
   SIM_DESC sd = sim_state_alloc (kind, cb);
   SIM_ASSERT (STATE_MAGIC (sd) == SIM_MAGIC_NUMBER);
 
+  /* 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)
     {
This page took 0.022661 seconds and 4 git commands to generate.