+2004-10-11 Alan Modra <amodra@bigpond.net.au>
+
+ * objdump.c (dump_symbols): Fix thinko last change. Improve error
+ messages.
+
2004-10-08 Nick Clifton <nickc@redhat.com>
* nm.c: Add a new switch --special-syms which, if enabled, will
bfd *cur_bfd;
if (*current == NULL)
- printf (_("no information for the %ld'th symbol"), count);
+ printf (_("no information for symbol number %ld\n"), count);
else if ((cur_bfd = bfd_asymbol_bfd (*current)) == NULL)
- printf (_("could not determine the type of the %ld'th symbol"),
+ printf (_("could not determine the type of symbol number %ld\n"),
count);
- else if (! dump_special_syms
- && bfd_is_target_special_symbol (cur_bfd, *current))
- continue;
-
- else
+ else if (dump_special_syms
+ || !bfd_is_target_special_symbol (cur_bfd, *current))
{
const char *name = (*current)->name;
else
bfd_print_symbol (cur_bfd, stdout, *current,
bfd_print_symbol_all);
+ printf ("\n");
}
-
- printf ("\n");
current++;
}
printf ("\n\n");