forked from Imagelibrary/binutils-gdb
gas/testsuite:
* gas/arm/mapsecs.d, gas/arm/mapsecs.s: New. opcodes: * arm-dis.c (print_insn): Also check section matches in backwards search for mapping symbol.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2009-03-30 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* arm-dis.c (print_insn): Also check section matches in backwards
|
||||
search for mapping symbol.
|
||||
|
||||
2009-03-26 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* i386-dis.c (get_valid_dis386): Abort on unhandled table.
|
||||
|
||||
@@ -4041,7 +4041,9 @@ print_insn (bfd_vma pc, struct disassemble_info *info, bfd_boolean little)
|
||||
for a preceeding one. */
|
||||
for (; n >= 0; n--)
|
||||
{
|
||||
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;
|
||||
found = TRUE;
|
||||
|
||||
Reference in New Issue
Block a user