diff options
Diffstat (limited to 'sim/msp430/msp430-sim.c')
-rw-r--r-- | sim/msp430/msp430-sim.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sim/msp430/msp430-sim.c b/sim/msp430/msp430-sim.c index 58a5469..ed03933 100644 --- a/sim/msp430/msp430-sim.c +++ b/sim/msp430/msp430-sim.c @@ -112,6 +112,9 @@ sim_open (SIM_OPEN_KIND kind, /* Initialise the simulator. */ + /* Set default options before parsing user options. */ + current_target_byte_order = BFD_ENDIAN_LITTLE; + if (sim_cpu_alloc_all (sd, 1) != SIM_RC_OK) { sim_state_free (sd); |