diff options
Diffstat (limited to 'sim/lm32/sim-if.c')
-rw-r--r-- | sim/lm32/sim-if.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sim/lm32/sim-if.c b/sim/lm32/sim-if.c index 3d4ee35..fba2d63 100644 --- a/sim/lm32/sim-if.c +++ b/sim/lm32/sim-if.c @@ -91,6 +91,9 @@ sim_open (SIM_OPEN_KIND kind, host_callback *callback, struct bfd *abfd, int i; unsigned long base, limit; + /* 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) { |