* disassemble.c (disassembler, case bfd_arch_arc): Call
arc_disassembler to get disassembler routine.
This commit is contained in:
parent
6acc9345e1
commit
9f05921fb7
2 changed files with 21 additions and 1 deletions
|
@ -16,6 +16,8 @@ Thu Feb 9 19:19:23 1995 Doug Evans <dje@canuck.cygnus.com>
|
||||||
(ss, sc, mh, ml): New suffixes.
|
(ss, sc, mh, ml): New suffixes.
|
||||||
(arc_opcode_supported, arc_opval_supported): New functions.
|
(arc_opcode_supported, arc_opval_supported): New functions.
|
||||||
(insert_multshift, extract_multshift): Deleted.
|
(insert_multshift, extract_multshift): Deleted.
|
||||||
|
* disassemble.c (disassembler, case bfd_arch_arc): Call
|
||||||
|
arc_disassembler to get disassembler routine.
|
||||||
end-sanitize-arc
|
end-sanitize-arc
|
||||||
|
|
||||||
Thu Feb 9 12:28:13 1995 Stan Shebs <shebs@andros.cygnus.com>
|
Thu Feb 9 12:28:13 1995 Stan Shebs <shebs@andros.cygnus.com>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* Select disassembly routine for specified architecture.
|
/* 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
|
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
|
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
|
#ifdef ARCH_all
|
||||||
#define ARCH_a29k
|
#define ARCH_a29k
|
||||||
#define ARCH_alpha
|
#define ARCH_alpha
|
||||||
|
/* start-sanitize-arc */
|
||||||
|
#define ARCH_arc
|
||||||
|
/* end-sanitize-arc */
|
||||||
#define ARCH_arm
|
#define ARCH_arm
|
||||||
#define ARCH_h8300
|
#define ARCH_h8300
|
||||||
#define ARCH_h8500
|
#define ARCH_h8500
|
||||||
|
@ -35,6 +38,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||||
#define ARCH_rs6000
|
#define ARCH_rs6000
|
||||||
#define ARCH_sh
|
#define ARCH_sh
|
||||||
#define ARCH_sparc
|
#define ARCH_sparc
|
||||||
|
#define ARCH_w65
|
||||||
#define ARCH_z8k
|
#define ARCH_z8k
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -60,6 +64,15 @@ disassembler (abfd)
|
||||||
disassemble = print_insn_alpha;
|
disassemble = print_insn_alpha;
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
|
/* start-sanitize-arc */
|
||||||
|
#ifdef ARCH_arc
|
||||||
|
case bfd_arch_arc:
|
||||||
|
{
|
||||||
|
disassemble = arc_disassembler (abfd);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
/* end-sanitize-arc */
|
||||||
#ifdef ARCH_arm
|
#ifdef ARCH_arm
|
||||||
case bfd_arch_arm:
|
case bfd_arch_arm:
|
||||||
disassemble = print_insn_arm;
|
disassemble = print_insn_arm;
|
||||||
|
@ -142,6 +155,11 @@ disassembler (abfd)
|
||||||
disassemble = print_insn_sparc;
|
disassemble = print_insn_sparc;
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef ARCH_w65
|
||||||
|
case bfd_arch_w65:
|
||||||
|
disassemble = print_insn_w65;
|
||||||
|
break;
|
||||||
|
#endif
|
||||||
#ifdef ARCH_z8k
|
#ifdef ARCH_z8k
|
||||||
case bfd_arch_z8k:
|
case bfd_arch_z8k:
|
||||||
if (bfd_get_mach(abfd) == bfd_mach_z8001)
|
if (bfd_get_mach(abfd) == bfd_mach_z8001)
|
||||||
|
|
Loading…
Reference in a new issue