diff options
Diffstat (limited to 'sim/erc32/sis.c')
-rw-r--r-- | sim/erc32/sis.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sim/erc32/sis.c b/sim/erc32/sis.c index 6259067..92880e1 100644 --- a/sim/erc32/sis.c +++ b/sim/erc32/sis.c @@ -223,7 +223,11 @@ main(argc, argv) sregs.freq = freq; INIT_DISASSEMBLE_INFO(dinfo, stdout, (fprintf_ftype) fprintf); +#ifdef HOST_LITTLE_ENDIAN + dinfo.endian = BFD_ENDIAN_LITTLE; +#else dinfo.endian = BFD_ENDIAN_BIG; +#endif termsave = fcntl(0, F_GETFL, 0); using_history(); |