mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-26 03:24:41 +08:00
* sh-dis.c (print_insn_sh): If coff and bfd_mach_sh, use arch_sh4
for disassembly.
This commit is contained in:
parent
005ef3d2e3
commit
426e6456c0
@ -1,3 +1,8 @@
|
||||
Wed May 22 14:13:40 2002 J"orn Rennecke <joern.rennecke@superh.com>
|
||||
|
||||
* sh-dis.c (print_insn_sh): If coff and bfd_mach_sh, use arch_sh4
|
||||
for disassembly.
|
||||
|
||||
2002-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
|
||||
|
||||
* mips-opc.c (mips_builtin_opcodes): Add drol, dror macros.
|
||||
|
@ -301,6 +301,11 @@ print_insn_sh (memaddr, info)
|
||||
{
|
||||
case bfd_mach_sh:
|
||||
target_arch = arch_sh1;
|
||||
/* SH coff object files lack information about the machine type, so
|
||||
we end up with bfd_mach_sh unless it was set explicitly (which
|
||||
could have happended if this is a call from gdb or the simulator.) */
|
||||
if (bfd_asymbol_flavour(*info->symbols) == bfd_target_coff_flavour)
|
||||
target_arch = arch_sh4;
|
||||
break;
|
||||
case bfd_mach_sh2:
|
||||
target_arch = arch_sh2;
|
||||
|
Loading…
Reference in New Issue
Block a user