diff options
Diffstat (limited to 'opcodes')
-rw-r--r-- | opcodes/ChangeLog | 2 | ||||
-rw-r--r-- | opcodes/disassemble.c | 20 |
2 files changed, 21 insertions, 1 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index d0098eb..5a68460 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -16,6 +16,8 @@ Thu Feb 9 19:19:23 1995 Doug Evans <dje@canuck.cygnus.com> (ss, sc, mh, ml): New suffixes. (arc_opcode_supported, arc_opval_supported): New functions. (insert_multshift, extract_multshift): Deleted. + * disassemble.c (disassembler, case bfd_arch_arc): Call + arc_disassembler to get disassembler routine. end-sanitize-arc Thu Feb 9 12:28:13 1995 Stan Shebs <shebs@andros.cygnus.com> diff --git a/opcodes/disassemble.c b/opcodes/disassemble.c index fec0749..9d2cde5 100644 --- a/opcodes/disassemble.c +++ b/opcodes/disassemble.c @@ -1,5 +1,5 @@ /* Select disassembly routine for specified architecture. - Copyright 1994 Free Software Foundation, Inc. + Copyright (C) 1994, 1995 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -21,6 +21,9 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #ifdef ARCH_all #define ARCH_a29k #define ARCH_alpha +/* start-sanitize-arc */ +#define ARCH_arc +/* end-sanitize-arc */ #define ARCH_arm #define ARCH_h8300 #define ARCH_h8500 @@ -35,6 +38,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #define ARCH_rs6000 #define ARCH_sh #define ARCH_sparc +#define ARCH_w65 #define ARCH_z8k #endif @@ -60,6 +64,15 @@ disassembler (abfd) disassemble = print_insn_alpha; break; #endif +/* start-sanitize-arc */ +#ifdef ARCH_arc + case bfd_arch_arc: + { + disassemble = arc_disassembler (abfd); + break; + } +#endif +/* end-sanitize-arc */ #ifdef ARCH_arm case bfd_arch_arm: disassemble = print_insn_arm; @@ -142,6 +155,11 @@ disassembler (abfd) disassemble = print_insn_sparc; break; #endif +#ifdef ARCH_w65 + case bfd_arch_w65: + disassemble = print_insn_w65; + break; +#endif #ifdef ARCH_z8k case bfd_arch_z8k: if (bfd_get_mach(abfd) == bfd_mach_z8001) |