projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implement dump of mappings with ELF headers by gcore
[deliverable/binutils-gdb.git]
/
opcodes
/
disassemble.c
diff --git
a/opcodes/disassemble.c
b/opcodes/disassemble.c
index 4f5768ad28b87bf7e3b0bdea357bd376d5e460c7..1ef8b8f62525f0b13e28aa1a0d837f5940814527 100644
(file)
--- a/
opcodes/disassemble.c
+++ b/
opcodes/disassemble.c
@@
-1,5
+1,5
@@
/* Select disassembly routine for specified architecture.
/* Select disassembly routine for specified architecture.
- Copyright (C) 1994-201
8
Free Software Foundation, Inc.
+ Copyright (C) 1994-201
9
Free Software Foundation, Inc.
This file is part of the GNU opcodes library.
This file is part of the GNU opcodes library.
@@
-33,6
+33,7
@@
#define ARCH_cr16
#define ARCH_cris
#define ARCH_crx
#define ARCH_cr16
#define ARCH_cris
#define ARCH_crx
+#define ARCH_csky
#define ARCH_d10v
#define ARCH_d30v
#define ARCH_dlx
#define ARCH_d10v
#define ARCH_d30v
#define ARCH_dlx
@@
-42,7
+43,6
@@
#define ARCH_ft32
#define ARCH_h8300
#define ARCH_hppa
#define ARCH_ft32
#define ARCH_h8300
#define ARCH_hppa
-#define ARCH_i370
#define ARCH_i386
#define ARCH_ia64
#define ARCH_ip2k
#define ARCH_i386
#define ARCH_ia64
#define ARCH_ip2k
@@
-53,7
+53,6
@@
#define ARCH_m68hc11
#define ARCH_m68hc12
#define ARCH_m68k
#define ARCH_m68hc11
#define ARCH_m68hc12
#define ARCH_m68k
-#define ARCH_m88k
#define ARCH_mcore
#define ARCH_mep
#define ARCH_metag
#define ARCH_mcore
#define ARCH_mep
#define ARCH_metag
@@
-66,6
+65,7
@@
#define ARCH_mt
#define ARCH_msp430
#define ARCH_nds32
#define ARCH_mt
#define ARCH_msp430
#define ARCH_nds32
+#define ARCH_nfp
#define ARCH_nios2
#define ARCH_ns32k
#define ARCH_or1k
#define ARCH_nios2
#define ARCH_ns32k
#define ARCH_or1k
@@
-77,6
+77,7
@@
#define ARCH_rs6000
#define ARCH_rl78
#define ARCH_rx
#define ARCH_rs6000
#define ARCH_rl78
#define ARCH_rx
+#define ARCH_s12z
#define ARCH_s390
#define ARCH_score
#define ARCH_sh
#define ARCH_s390
#define ARCH_score
#define ARCH_sh
@@
-92,7
+93,6
@@
#define ARCH_v850
#define ARCH_vax
#define ARCH_visium
#define ARCH_v850
#define ARCH_vax
#define ARCH_visium
-#define ARCH_w65
#define ARCH_wasm32
#define ARCH_xstormy16
#define ARCH_xc16x
#define ARCH_wasm32
#define ARCH_xstormy16
#define ARCH_xc16x
@@
-100,7
+100,6
@@
#define ARCH_xtensa
#define ARCH_z80
#define ARCH_z8k
#define ARCH_xtensa
#define ARCH_z80
#define ARCH_z8k
-#define INCLUDE_SHMEDIA
#endif
#ifdef ARCH_m32c
#endif
#ifdef ARCH_m32c
@@
-167,6
+166,12
@@
disassembler (enum bfd_architecture a,
disassemble = print_insn_crx;
break;
#endif
disassemble = print_insn_crx;
break;
#endif
+#ifdef ARCH_csky
+ case bfd_arch_csky:
+ disassemble = csky_get_disassembler (abfd);
+ break;
+#endif
+
#ifdef ARCH_d10v
case bfd_arch_d10v:
disassemble = print_insn_d10v;
#ifdef ARCH_d10v
case bfd_arch_d10v:
disassemble = print_insn_d10v;
@@
-201,11
+206,6
@@
disassembler (enum bfd_architecture a,
disassemble = print_insn_hppa;
break;
#endif
disassemble = print_insn_hppa;
break;
#endif
-#ifdef ARCH_i370
- case bfd_arch_i370:
- disassemble = print_insn_i370;
- break;
-#endif
#ifdef ARCH_i386
case bfd_arch_i386:
case bfd_arch_iamcu:
#ifdef ARCH_i386
case bfd_arch_i386:
case bfd_arch_iamcu:
@@
-259,16
+259,16
@@
disassembler (enum bfd_architecture a,
disassemble = print_insn_m9s12xg;
break;
#endif
disassemble = print_insn_m9s12xg;
break;
#endif
+#if defined(ARCH_s12z)
+ case bfd_arch_s12z:
+ disassemble = print_insn_s12z;
+ break;
+#endif
#ifdef ARCH_m68k
case bfd_arch_m68k:
disassemble = print_insn_m68k;
break;
#endif
#ifdef ARCH_m68k
case bfd_arch_m68k:
disassemble = print_insn_m68k;
break;
#endif
-#ifdef ARCH_m88k
- case bfd_arch_m88k:
- disassemble = print_insn_m88k;
- break;
-#endif
#ifdef ARCH_mt
case bfd_arch_mt:
disassemble = print_insn_mt;
#ifdef ARCH_mt
case bfd_arch_mt:
disassemble = print_insn_mt;
@@
-289,6
+289,11
@@
disassembler (enum bfd_architecture a,
disassemble = print_insn_nds32;
break;
#endif
disassemble = print_insn_nds32;
break;
#endif
+#ifdef ARCH_nfp
+ case bfd_arch_nfp:
+ disassemble = print_insn_nfp;
+ break;
+#endif
#ifdef ARCH_ns32k
case bfd_arch_ns32k:
disassemble = print_insn_ns32k;
#ifdef ARCH_ns32k
case bfd_arch_ns32k:
disassemble = print_insn_ns32k;
@@
-452,11
+457,6
@@
disassembler (enum bfd_architecture a,
disassemble = print_insn_v850;
break;
#endif
disassemble = print_insn_v850;
break;
#endif
-#ifdef ARCH_w65
- case bfd_arch_w65:
- disassemble = print_insn_w65;
- break;
-#endif
#ifdef ARCH_wasm32
case bfd_arch_wasm32:
disassemble = print_insn_wasm32;
#ifdef ARCH_wasm32
case bfd_arch_wasm32:
disassemble = print_insn_wasm32;
@@
-556,6
+556,9
@@
disassembler_usage (FILE *stream ATTRIBUTE_UNUSED)
#ifdef ARCH_mips
print_mips_disassembler_options (stream);
#endif
#ifdef ARCH_mips
print_mips_disassembler_options (stream);
#endif
+#ifdef ARCH_nfp
+ print_nfp_disassembler_options (stream);
+#endif
#ifdef ARCH_powerpc
print_ppc_disassembler_options (stream);
#endif
#ifdef ARCH_powerpc
print_ppc_disassembler_options (stream);
#endif
@@
-595,6
+598,13
@@
disassemble_init_for_target (struct disassemble_info * info)
info->disassembler_needs_relocs = TRUE;
break;
#endif
info->disassembler_needs_relocs = TRUE;
break;
#endif
+#ifdef ARCH_csky
+ case bfd_arch_csky:
+ info->symbol_is_valid = csky_symbol_is_valid;
+ info->disassembler_needs_relocs = TRUE;
+ break;
+#endif
+
#ifdef ARCH_ia64
case bfd_arch_ia64:
info->skip_zeroes = 16;
#ifdef ARCH_ia64
case bfd_arch_ia64:
info->skip_zeroes = 16;
@@
-646,6
+656,11
@@
disassemble_init_for_target (struct disassemble_info * info)
disassemble_init_powerpc (info);
break;
#endif
disassemble_init_powerpc (info);
break;
#endif
+#ifdef ARCH_riscv
+ case bfd_arch_riscv:
+ info->symbol_is_valid = riscv_symbol_is_valid;
+ break;
+#endif
#ifdef ARCH_wasm32
case bfd_arch_wasm32:
disassemble_init_wasm32 (info);
#ifdef ARCH_wasm32
case bfd_arch_wasm32:
disassemble_init_wasm32 (info);
@@
-656,6
+671,11
@@
disassemble_init_for_target (struct disassemble_info * info)
disassemble_init_s390 (info);
break;
#endif
disassemble_init_s390 (info);
break;
#endif
+#ifdef ARCH_nds32
+ case bfd_arch_nds32:
+ disassemble_init_nds32 (info);
+ break;
+ #endif
default:
break;
}
default:
break;
}
This page took
0.028083 seconds
and
4
git commands to generate.