From: amodra Date: Sat, 3 Oct 2009 00:39:53 +0000 (+0000) Subject: * arm-dis.c (print_insn): Check symtab_size not *symtab. X-Git-Tag: cgen-snapshot-20091101~396 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=4d8622fed451d17f7f93f67ec407c4c0b06fc872;p=pf3gnuchains%2Fpf3gnuchains4x.git * arm-dis.c (print_insn): Check symtab_size not *symtab. --- diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 7628aa42c0..b7a9eaa99a 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,7 @@ +2009-10-03 Paul Reed + + * arm-dis.c (print_insn): Check symtab_size not *symtab. + 2009-10-02 H.J. Lu * i386-opc.tbl: Drop Disp64 on jump and loop instructions. diff --git a/opcodes/arm-dis.c b/opcodes/arm-dis.c index 3cbdf9e04b..7551249904 100644 --- a/opcodes/arm-dis.c +++ b/opcodes/arm-dis.c @@ -4267,8 +4267,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 + if (info->symtab_size != 0 && bfd_asymbol_flavour (*info->symtab) == bfd_target_elf_flavour) { bfd_vma addr;