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 /binutils/NEWS | |
parent | 8d624a9d8050ca96e154215c7858ac5c2d8b0b19 (diff) | |
download | gdb-1996d0f12cd57391e01e0eebe32e44510e6ec17d.zip gdb-1996d0f12cd57391e01e0eebe32e44510e6ec17d.tar.gz 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 'binutils/NEWS')
-rw-r--r-- | binutils/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/binutils/NEWS b/binutils/NEWS index a4d7a61..c035f52 100644 --- a/binutils/NEWS +++ b/binutils/NEWS @@ -1,5 +1,9 @@ -*- text -*- +* A new format has been added to the nm program. Specifying + --format=just-symbols (or just using -j) will tell the program to only + display symbol names and nothing else. + * A new command line --keep-section-symbols has been added to objcopy and strip. This stops the removal of unused section symbols when the file is copied. Removing these symbols saves space, but sometimes they are needed by |