mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 22:48:57 +08:00
* arm-dis.c (print_insn): Only look for a mapping symbol in the section
being disassembled.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2007-04-20 Richard Earnshaw <rearnsha@arm.com>
|
||||||
|
|
||||||
|
* arm-dis.c (print_insn): Only look for a mapping symbol in the section
|
||||||
|
being disassembled.
|
||||||
|
|
||||||
2007-04-19 Alan Modra <amodra@bigpond.net.au>
|
2007-04-19 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
* Makefile.am: Run "make dep-am".
|
* Makefile.am: Run "make dep-am".
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/* Instruction printing code for the ARM
|
/* Instruction printing code for the ARM
|
||||||
Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
|
Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
|
||||||
Free Software Foundation, Inc.
|
2007, Free Software Foundation, Inc.
|
||||||
Contributed by Richard Earnshaw (rwe@pegasus.esprit.ec.org)
|
Contributed by Richard Earnshaw (rwe@pegasus.esprit.ec.org)
|
||||||
Modification by James G. Smith (jsmith@cygnus.co.uk)
|
Modification by James G. Smith (jsmith@cygnus.co.uk)
|
||||||
|
|
||||||
@ -3982,7 +3982,9 @@ print_insn (bfd_vma pc, struct disassemble_info *info, bfd_boolean little)
|
|||||||
addr = bfd_asymbol_value (info->symtab[n]);
|
addr = bfd_asymbol_value (info->symtab[n]);
|
||||||
if (addr > pc)
|
if (addr > pc)
|
||||||
break;
|
break;
|
||||||
if (get_sym_code_type (info, n, &type))
|
if ((info->section == NULL
|
||||||
|
|| info->section == info->symtab[n]->section)
|
||||||
|
&& get_sym_code_type (info, n, &type))
|
||||||
{
|
{
|
||||||
last_sym = n;
|
last_sym = n;
|
||||||
found = TRUE;
|
found = TRUE;
|
||||||
|
Reference in New Issue
Block a user