X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=sim%2Fd10v%2Finterp.c;h=c0cdc034700d2a3e2b2f97a7259cfbbee8bc00c6;hb=ba307cddcf7e42c5099632dcbad598d8f96044f4;hp=b587cc18654f624ddb67de5cf25cba3bf5b6c84f;hpb=6dd65fc048dbe167b809f687acc6228eb07ecec6;p=deliverable%2Fbinutils-gdb.git diff --git a/sim/d10v/interp.c b/sim/d10v/interp.c index b587cc1865..c0cdc03470 100644 --- a/sim/d10v/interp.c +++ b/sim/d10v/interp.c @@ -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) {