sim: overhaul alignment settings management
[deliverable/binutils-gdb.git] / sim / pru / interp.c
index 58ac333c1e6c6be19d38a66eacec6d53163fd0eb..38269df44ce7818510f7d25a2decbb504deca0ab 100644 (file)
@@ -745,6 +745,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.030796 seconds and 4 git commands to generate.