commit | 2c3cc81e068464b5a3d5bf19a9cf3cf3dd6b7b55 | [log] [tgz] |
---|---|---|
author | Nick Clifton <nickc@redhat.com> | Wed May 18 13:15:22 2022 +0100 |
committer | Nick Clifton <nickc@redhat.com> | Wed May 18 13:15:22 2022 +0100 |
tree | 5d5ae06c550788f2885c324e074395f6f10a971e | |
parent | c76d61da4a65eaadca861bf6c77d579a5cc3f422 [diff] |
Add a --no-weak option to nm. PR 29135 * nm.c (non_weak): New variable. (filter_symbols): When non-weak is true, ignore weak symbols. (long_options): Add --no-weak. (usage): Mention --no-weak. (main): Handle -W/--no-weak. * doc/binutils.texi: Document new feature. * NEWS: Mention the new feature. * testsuite/binutils-all/nm.exp: Add test of new feature. * testsuite/binutils-all/no-weak.s: New test source file.