aboutsummaryrefslogtreecommitdiff
path: root/dis-asm.h
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2010-03-29 02:12:51 +0200
committerAurelien Jarno <aurelien@aurel32.net>2010-04-01 21:51:59 +0200
commit903ec55cc00d0bf65573ae0b185e9b8c3593f930 (patch)
treee65463698854a5c6a6ce2437dafa3b98e5efd5ae /dis-asm.h
parent45d679d64350c44df93d918ddacd6ae0c6da9dbb (diff)
ia64 disas support
Taken from binutils SVN, using last GPLv2 version. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'dis-asm.h')
-rw-r--r--dis-asm.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/dis-asm.h b/dis-asm.h
index 5f6f06cf69..9b9657ebdd 100644
--- a/dis-asm.h
+++ b/dis-asm.h
@@ -219,6 +219,9 @@ enum bfd_architecture
#define bfd_mach_cris_v32 32
#define bfd_mach_cris_v10_v32 1032
bfd_arch_microblaze, /* Xilinx MicroBlaze. */
+ bfd_arch_ia64, /* HP/Intel ia64 */
+#define bfd_mach_ia64_elf64 64
+#define bfd_mach_ia64_elf32 32
bfd_arch_last
};
#define bfd_mach_s390_31 31
@@ -401,6 +404,7 @@ extern int print_insn_ppc (bfd_vma, disassemble_info*);
extern int print_insn_s390 (bfd_vma, disassemble_info*);
extern int print_insn_crisv32 (bfd_vma, disassemble_info*);
extern int print_insn_microblaze (bfd_vma, disassemble_info*);
+extern int print_insn_ia64 (bfd_vma, disassemble_info*);
#if 0
/* Fetch the disassembler for a given BFD, if that support is available. */
@@ -468,6 +472,7 @@ extern int generic_symbol_at_address (bfd_vma, struct disassemble_info *);
/* from libbfd */
+bfd_vma bfd_getl64 (const bfd_byte *addr);
bfd_vma bfd_getl32 (const bfd_byte *addr);
bfd_vma bfd_getb32 (const bfd_byte *addr);
bfd_vma bfd_getl16 (const bfd_byte *addr);