diff options
Diffstat (limited to 'sim/h8300/compile.c')
-rw-r--r-- | sim/h8300/compile.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sim/h8300/compile.c b/sim/h8300/compile.c index 8b13326a..565eadf 100644 --- a/sim/h8300/compile.c +++ b/sim/h8300/compile.c @@ -4716,6 +4716,9 @@ sim_open (SIM_OPEN_KIND kind, sd = sim_state_alloc_extra (kind, callback, sizeof (struct h8300_sim_state)); + /* Set default options before parsing user options. */ + current_target_byte_order = BFD_ENDIAN_BIG; + /* The cpu data is kept in a separately allocated chunk of memory. */ if (sim_cpu_alloc_all (sd, 1) != SIM_RC_OK) { |