aboutsummaryrefslogtreecommitdiff
path: root/dis-asm.h
diff options
context:
space:
mode:
authorMichael Walle <michael@walle.cc>2012-03-31 19:54:20 +0200
committerMichael Walle <michael@walle.cc>2012-04-01 20:30:23 +0200
commit79368f4984eefcbed5d714c6131e58fd71178030 (patch)
treed8803db0048545aaa9f4c9a078773bb3ad6a1e41 /dis-asm.h
parent060544d30f4cc94bced1186e1b042960aebcdfea (diff)
target-lm32: add simple disassembler
Because binutils disassembler is based on libopcode, this is a rewrite from scratch. Signed-off-by: Michael Walle <michael@walle.cc>
Diffstat (limited to 'dis-asm.h')
-rw-r--r--dis-asm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/dis-asm.h b/dis-asm.h
index 4f15fad4fa..3944b3cf7e 100644
--- a/dis-asm.h
+++ b/dis-asm.h
@@ -221,6 +221,8 @@ enum bfd_architecture
bfd_arch_ia64, /* HP/Intel ia64 */
#define bfd_mach_ia64_elf64 64
#define bfd_mach_ia64_elf32 32
+ bfd_arch_lm32, /* Lattice Mico32 */
+#define bfd_mach_lm32 1
bfd_arch_last
};
#define bfd_mach_s390_31 31
@@ -404,6 +406,7 @@ int print_insn_crisv32 (bfd_vma, disassemble_info*);
int print_insn_crisv10 (bfd_vma, disassemble_info*);
int print_insn_microblaze (bfd_vma, disassemble_info*);
int print_insn_ia64 (bfd_vma, disassemble_info*);
+int print_insn_lm32 (bfd_vma, disassemble_info*);
#if 0
/* Fetch the disassembler for a given BFD, if that support is available. */