* arm-dis.c (print_insn): Check for a symtab that exists but is empty.

This commit is contained in:
Nick Clifton
2007-10-26 11:27:12 +00:00
parent 08a80eb619
commit 2cc7bb5dcf
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2007-10-26 Nick Clifton <nickc@redhat.com>
* arm-dis.c (print_insn): Check for a symtab that exists but is
empty.
2007-10-24 Alan Modra <amodra@bigpond.net.au>
* po/POTFILES.in: Regenerate.

View File

@ -3989,6 +3989,7 @@ print_insn (bfd_vma pc, struct disassemble_info *info, bfd_boolean little)
/* First check the full symtab for a mapping symbol, even if there
are no usable non-mapping symbols for this address. */
if (info->symtab != NULL
&& * info->symtab
&& bfd_asymbol_flavour (*info->symtab) == bfd_target_elf_flavour)
{
bfd_vma addr;