diff options
Diffstat (limited to 'sim')
-rw-r--r-- | sim/sh64/ChangeLog | 5 | ||||
-rw-r--r-- | sim/sh64/sim-if.c | 12 |
2 files changed, 6 insertions, 11 deletions
diff --git a/sim/sh64/ChangeLog b/sim/sh64/ChangeLog index 99d5c39..706a866 100644 --- a/sim/sh64/ChangeLog +++ b/sim/sh64/ChangeLog @@ -1,3 +1,8 @@ +Fri May 17 14:27:41 2002 J"orn Rennecke <joern.rennecke@superh.com> + + * sim-if.c (sh64_disassemble_insn): Use print_insn_sh instead of + print_insn_shl. + 2001-07-05 Ben Elliston <bje@redhat.com> * Makefile.in (stamp-arch): Use $(CGEN_CPU_DIR). diff --git a/sim/sh64/sim-if.c b/sim/sh64/sim-if.c index 6024697..baef638 100644 --- a/sim/sh64/sim-if.c +++ b/sim/sh64/sim-if.c @@ -232,15 +232,5 @@ sh64_disassemble_insn (SIM_CPU *cpu, const CGEN_INSN *insn, if (sh64_h_ism_get (cpu) == ISM_MEDIA) print_insn_sh64x_media (pc, &disasm_info); else - switch (disasm_info.endian) - { - case BFD_ENDIAN_BIG: - print_insn_sh (pc, &disasm_info); - break; - case BFD_ENDIAN_LITTLE: - print_insn_shl (pc, &disasm_info); - break; - default: - abort(); - } + print_insn_sh (pc, &disasm_info); } |