projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sim: overhaul & unify endian settings management
[deliverable/binutils-gdb.git]
/
sim
/
or1k
/
sim-if.c
diff --git
a/sim/or1k/sim-if.c
b/sim/or1k/sim-if.c
index e6342ee42c0f7b9e8496b86bfc66231d21d55743..06d7dcb61b238a0b47ea1ccad22c095e3d58ef74 100644
(file)
--- a/
sim/or1k/sim-if.c
+++ b/
sim/or1k/sim-if.c
@@
-160,6
+160,9
@@
sim_open (SIM_OPEN_KIND kind, host_callback *callback, struct bfd *abfd,
char c;
int i;
+ /* 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)
{
This page took
0.024817 seconds
and
4
git commands to generate.