aboutsummaryrefslogtreecommitdiff
path: root/sim/example-synacor/interp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/example-synacor/interp.c')
-rw-r--r--sim/example-synacor/interp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sim/example-synacor/interp.c b/sim/example-synacor/interp.c
index 784c9cb..57b1bee 100644
--- a/sim/example-synacor/interp.c
+++ b/sim/example-synacor/interp.c
@@ -84,6 +84,7 @@ sim_open (SIM_OPEN_KIND kind, host_callback *callback,
/* Set default options before parsing user options. */
current_alignment = STRICT_ALIGNMENT;
+ current_target_byte_order = BFD_ENDIAN_LITTLE;
/* The cpu data is kept in a separately allocated chunk of memory. */
if (sim_cpu_alloc_all (sd, 1) != SIM_RC_OK)