]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - binutils/ChangeLog
Add a symbols-only mode to nm.
authorNick Clifton <nickc@redhat.com>
Mon, 15 Mar 2021 10:55:49 +0000 (10:55 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 15 Mar 2021 10:55:49 +0000 (10:55 +0000)
commit1996d0f12cd57391e01e0eebe32e44510e6ec17d
tree9c5ae8fdf4eb04328ff41b4459d571b4f8a7f7fb
parent8d624a9d8050ca96e154215c7858ac5c2d8b0b19
Add a symbols-only mode to nm.

PR 27487
* nm.c (FORMAT_JUST_SYMBOLS): Define.
(struct optput_fns): Add entry for FORMAT_JUST_SYMBOLS.
(long_options): Add just-symbols.
(set_output_format): Add support for just-symbols.
(get_print_format): Likewise.
(do_not_print_object_filename): New function.
(do_not_print_archive_filename): New function.
(do_not_print_archive_member): New function.
(do_not_print_symbol_filename): New function.
(just_print_symbol_name): New function.
(main): Handle --just-symbols.
* NEWS: Mention the new feature.
* doc/binutils.texi: Document the new feature.
binutils/ChangeLog
binutils/NEWS
binutils/doc/binutils.texi
binutils/nm.c