From: David Edelsohn Date: Fri, 10 Feb 1995 03:42:43 +0000 (+0000) Subject: * disassemble.c (disassembler, case bfd_arch_arc): Call X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9f05921fb73c6a46f06340eaa6bb56749f335bfd;p=binutils-gdb.git * disassemble.c (disassembler, case bfd_arch_arc): Call arc_disassembler to get disassembler routine. --- diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index d0098eb026e..5a6846028dd 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -16,6 +16,8 @@ Thu Feb 9 19:19:23 1995 Doug Evans (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 diff --git a/opcodes/disassemble.c b/opcodes/disassemble.c index fec0749e0a7..9d2cde523cb 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)