[patch] ARM mapping symbols and disassembly

Nick Clifton nickc@redhat.com
Tue Oct 31 17:52:00 GMT 2006


Hi Paul,

> 2006-10-20  Paul Brook  <paul@codesourcery.com>
> 
> 	binutils/
> 	* objdump.c (disassemble_section): Set info->symtab{,_size,_pos}.
> 
> 	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.

Approved - please apply, but...

> +//printf("Scan %d %s\n", n, bfd_asymbol_name(info->symtab[n]));

Left over debugging ?  (Plus C++ style comment).

> +//printf("Mapping %d %d %d\n", last_mapping_sym, info->symtab_pos, info->symtab_size);

Likewise.

Cheers
   Nick




More information about the Binutils mailing list