diff options
author | Fangrui Song <maskray@google.com> | 2021-02-26 09:25:45 -0800 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2021-02-26 09:26:41 -0800 |
commit | 7fe1b1388ff80f10e932cde5d82d7268742ef336 (patch) | |
tree | 9ec68f36082035547db348a864d106a8bcec594f /binutils/doc | |
parent | fe0171d248e6d4cbc59c3101b9e74e18a9292294 (diff) | |
download | gdb-7fe1b1388ff80f10e932cde5d82d7268742ef336.zip gdb-7fe1b1388ff80f10e932cde5d82d7268742ef336.tar.gz gdb-7fe1b1388ff80f10e932cde5d82d7268742ef336.tar.bz2 |
nm: Add --quiet to suppress "no symbols" diagnostic
PR binutils/27408
* readelf.c (quiet): New option flag.
(enum long_option_values): New enum to hold long option value.
(long_options): Add --quiet.
(usage): Mention --quiet.
(display_rel_file): If quiet is enabled, suppress "no symbols".
(main): Handle the new option.
* NEWS: Mention --quiet.
* docs/binutils.texi: Document --quiet.
Diffstat (limited to 'binutils/doc')
-rw-r--r-- | binutils/doc/binutils.texi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi index 94ea572..b7740df 100644 --- a/binutils/doc/binutils.texi +++ b/binutils/doc/binutils.texi @@ -4741,6 +4741,7 @@ readelf [@option{-a}|@option{--all}] [@option{-s}|@option{--syms}|@option{--symbols}] [@option{--dyn-syms}|@option{--lto-syms}] [@option{--demangle@var{=style}}|@option{--no-demangle}] + [@option{--quiet}] [@option{--recurse-limit}|@option{--no-recurse-limit}] [@option{-n}|@option{--notes}] [@option{-r}|@option{--relocs}] @@ -4822,6 +4823,10 @@ file. Displays the information contained in the file's segment headers, if it has any. +@item --quiet +@cindex quiet +Suppress "no symbols" diagnostic. + @item -S @itemx --sections @itemx --section-headers |