nm handling of synthetic symbols
authorAlan Modra <amodra@gmail.com>
Fri, 16 Sep 2016 14:58:05 +0000 (00:28 +0930)
committerAlan Modra <amodra@gmail.com>
Mon, 19 Sep 2016 05:46:50 +0000 (15:16 +0930)
commit2387dd904938566f5d1d6df6670b5dec9dd3f463
treeab07ba274beeffbbc4e29b4f7202a3567328ea74
parentbc1e6c81d5b77d78282c47f6fd7f697e564a6eb6
nm handling of synthetic symbols

Symbol sorting means we can't assume that the last n symbols are
synthetic.

* nm.c (print_symbol): Remove is_synthetic param.  Test sym->flags
instead.
(print_size_symbols, print_symbols): Adjust to suit, deleting
now unused synth_count param and fromsynth var.
(display_rel_file): Adjust, localizing synth_count.
binutils/ChangeLog
binutils/nm.c