projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b72ef6b
)
* arm-dis.c (print_insn): Check symtab_size not *symtab.
author
Alan Modra
<amodra@gmail.com>
Sat, 3 Oct 2009 00:39:53 +0000
(
00:39
+0000)
committer
Alan Modra
<amodra@gmail.com>
Sat, 3 Oct 2009 00:39:53 +0000
(
00:39
+0000)
opcodes/ChangeLog
patch
|
blob
|
history
opcodes/arm-dis.c
patch
|
blob
|
history
diff --git
a/opcodes/ChangeLog
b/opcodes/ChangeLog
index 7628aa42c054186a3a15cbe162ab560037f27241..b7a9eaa99a69557247c6256fc21741c37e47b3b9 100644
(file)
--- a/
opcodes/ChangeLog
+++ b/
opcodes/ChangeLog
@@
-1,3
+1,7
@@
+2009-10-03 Paul Reed <paulreed@paddedcell.com>
+
+ * arm-dis.c (print_insn): Check symtab_size not *symtab.
+
2009-10-02 H.J. Lu <hongjiu.lu@intel.com>
* i386-opc.tbl: Drop Disp64 on jump and loop instructions.
diff --git
a/opcodes/arm-dis.c
b/opcodes/arm-dis.c
index 3cbdf9e04b29cb481a8313d4bb8d940a5e6a186d..75512499048d5d05b8dff7d7ff9ed0794b61c66f 100644
(file)
--- 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;