diff options
author | Nick Clifton <nickc@redhat.com> | 2021-03-15 10:55:49 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2021-03-15 10:55:49 +0000 |
commit | 1996d0f12cd57391e01e0eebe32e44510e6ec17d (patch) | |
tree | 9c5ae8fdf4eb04328ff41b4459d571b4f8a7f7fb /gdb | |
parent | 8d624a9d8050ca96e154215c7858ac5c2d8b0b19 (diff) | |
download | fsf-binutils-gdb-1996d0f12cd57391e01e0eebe32e44510e6ec17d.zip fsf-binutils-gdb-1996d0f12cd57391e01e0eebe32e44510e6ec17d.tar.gz fsf-binutils-gdb-1996d0f12cd57391e01e0eebe32e44510e6ec17d.tar.bz2 |
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.
Diffstat (limited to 'gdb')
0 files changed, 0 insertions, 0 deletions