Add option to nm to change the characters displayed for ifunc symbols. Add a configu...
authorNick Clifton <nickc@redhat.com>
Fri, 20 Nov 2020 13:04:56 +0000 (13:04 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 20 Nov 2020 13:04:56 +0000 (13:04 +0000)
commite6f6aa8d184c38230d9acd91a49aa0cbe3f37e42
treee79643c26315046beb132228fdbb4d26b025e4fa
parent8881640c8071b04fa2566f21eb2a47e691caf11c
Add option to nm to change the characters displayed for ifunc symbols.  Add a configure time option to change the default characters.

PR 22967
* nm.c (ifunc_type_chars): New variable.
(long_options): Add --ifunc-chars.
(print_symbol): Use ifunc_type_chars for ifunc symbols.
(main): Handle the new option.
* doc/binutils.texi: Document the new option.
* configure.ac: Add --enable-f-for-ifunc-symbols option which
changes the default symbol displayed by nm.
* NEWS: Mention the new feature.
* testsuite/binutils-all/nm.exp: Test the new feature.
* config.in: Regenerate.
* configure: Regenerate.
binutils/ChangeLog
binutils/NEWS
binutils/config.in
binutils/configure
binutils/configure.ac
binutils/doc/binutils.texi
binutils/nm.c
binutils/testsuite/binutils-all/nm.exp