Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2006-10-26 23:41:53 +0400
committerPaul Brook <paul@codesourcery.com>2006-10-26 23:41:53 +0400
commit159f289a59022d1dd0d342616bbfca334584b823 (patch)
tree59813896eb60bce50afc485ebd3900e929ef9335
parentecc7773c46506d12a806ccb55527c889575daff4 (diff)
2006-10-26 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.
-rw-r--r--ChangeLog.csl15
-rw-r--r--include/dis-asm.h6
2 files changed, 21 insertions, 0 deletions
diff --git a/ChangeLog.csl b/ChangeLog.csl
index bc7d24df4..98e6ccf14 100644
--- a/ChangeLog.csl
+++ b/ChangeLog.csl
@@ -1,5 +1,20 @@
2006-10-26 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.
+
+2006-10-26 Paul Brook <paul@codesourcery.com>
+
gas/
* config/tc-arm.c (arm_adjust_symtab): Don't use STT_ARM_16BIT
for EABIv4.
diff --git a/include/dis-asm.h b/include/dis-asm.h
index bdbf9f88c..5c488c1ad 100644
--- a/include/dis-asm.h
+++ b/include/dis-asm.h
@@ -94,6 +94,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. */