aboutsummaryrefslogtreecommitdiff
path: root/binutils/objdump.c
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1993-04-27 01:39:38 +0000
committerSteve Chamberlain <sac@cygnus>1993-04-27 01:39:38 +0000
commit6f5757042336145f2b9aa6acff5d549dfe5783d4 (patch)
tree19180ab6c6fec20a6ef985d2151c9a536732ac83 /binutils/objdump.c
parent84d42ddd6118bae3fd014ec2549b6973973487dc (diff)
downloadgdb-6f5757042336145f2b9aa6acff5d549dfe5783d4.zip
gdb-6f5757042336145f2b9aa6acff5d549dfe5783d4.tar.gz
gdb-6f5757042336145f2b9aa6acff5d549dfe5783d4.tar.bz2
Support for the SH.
Diffstat (limited to 'binutils/objdump.c')
-rw-r--r--binutils/objdump.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/binutils/objdump.c b/binutils/objdump.c
index 242d600..1c1c589 100644
--- a/binutils/objdump.c
+++ b/binutils/objdump.c
@@ -43,6 +43,7 @@ extern Elf_Internal_Shdr *bfd_elf_find_section();
#endif /* ELF_STAB_DISPLAY */
extern char *xmalloc ();
+extern int fprintf PARAMS ((FILE *, CONST char *, ...));
char *default_target = NULL; /* default at runtime */
@@ -389,6 +390,12 @@ disassemble_data (abfd)
case bfd_arch_h8500:
disassemble = print_insn_h8500;
break;
+ case bfd_arch_sh:
+ disassemble = print_insn_sh;
+ break;
+ case bfd_arch_alpha:
+ disassemble = print_insn_alpha;
+ break;
case bfd_arch_m68k:
disassemble = print_insn_m68k;
break;