+2012-01-17 James Murray <jsm@jsm-net.demon.co.uk>
+
+ PR binutils/10173
+ * cr16-dis.c (print_arg): Test symtab_size not num_symbols.
+
2012-01-17 Andreas Schwab <schwab@linux-m68k.org>
* m68k-opc.c (m68k_opcodes): Fix entries for pmove with BADx/BACx
/* Disassembler code for CR16.
- Copyright 2007, 2008, 2009 Free Software Foundation, Inc.
+ Copyright 2007, 2008, 2009, 2012 Free Software Foundation, Inc.
Contributed by M R Swami Reddy (MR.Swami.Reddy@nsc.com).
This file is part of GAS, GDB and the GNU binutils.
(sign_flag) ? func (stream, "%s", "*-"): func (stream, "%s","*+");
/* PR 10173: Avoid printing the 0x prefix twice. */
- if (info->num_symbols > 0)
+ if (info->symtab_size > 0)
func (stream, "%s", "0x");
number = ((relative ? memaddr : 0) +
(sign_flag ? ((- a->constant) & 0xffffffe) : a->constant));