aboutsummaryrefslogtreecommitdiff
path: root/sim/ft32/interp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/ft32/interp.c')
-rw-r--r--sim/ft32/interp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sim/ft32/interp.c b/sim/ft32/interp.c
index 5fc9ea2..8a44a47 100644
--- a/sim/ft32/interp.c
+++ b/sim/ft32/interp.c
@@ -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)
{