summaryrefslogtreecommitdiff
path: root/include/dis-asm.h
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2006-10-31 20:21:57 +0000
committerPaul Brook <paul@codesourcery.com>2006-10-31 20:21:57 +0000
commitc57abcc9a2e5777387d3639b9314a479b6fe779c (patch)
treefaffea3ffae65b8967a45d6599442c44c7c73d59 /include/dis-asm.h
parent987195d6729877c5aca3f9461f6b3d8b7c5d72d3 (diff)
downloadbinutils-redhat-c57abcc9a2e5777387d3639b9314a479b6fe779c.tar.gz
2006-10-30 Paul Brook <paul@codesourcery.com>
binutils/ * objdump.c (disassemble_section): Set info->symtab_pos. (disassemble_data): Set info->symtab and info->symtab_size. include/ * dis-asm.h (disassemble_info): Add symtab, symtab_pos and symtab_size. opcodes/ * arm-dis.c (last_is_thumb, last_mapping_sym, last_mapping_addr): New. (get_sym_code_type): New function. (print_insn): Search for mapping symbols.
Diffstat (limited to 'include/dis-asm.h')
-rw-r--r--include/dis-asm.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/dis-asm.h b/include/dis-asm.h
index cb8039bf35..af48e8528e 100644
--- a/include/dis-asm.h
+++ b/include/dis-asm.h
@@ -96,6 +96,12 @@ typedef struct disassemble_info
/* Number of symbols in array. */
int num_symbols;
+ /* Symbol table provided for targets that want to look at it. This is
+ used on Arm to find mapping symbols and determine Arm/Thumb code. */
+ asymbol **symtab;
+ int symtab_pos;
+ int symtab_size;
+
/* For use by the disassembler.
The top 16 bits are reserved for public use (and are documented here).
The bottom 16 bits are for the internal use of the disassembler. */