aboutsummaryrefslogtreecommitdiff
path: root/binutils/NEWS
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2022-05-18 13:15:22 +0100
committerNick Clifton <nickc@redhat.com>2022-05-18 13:15:22 +0100
commit2c3cc81e068464b5a3d5bf19a9cf3cf3dd6b7b55 (patch)
tree5d5ae06c550788f2885c324e074395f6f10a971e /binutils/NEWS
parentc76d61da4a65eaadca861bf6c77d579a5cc3f422 (diff)
downloadgdb-2c3cc81e068464b5a3d5bf19a9cf3cf3dd6b7b55.zip
gdb-2c3cc81e068464b5a3d5bf19a9cf3cf3dd6b7b55.tar.gz
gdb-2c3cc81e068464b5a3d5bf19a9cf3cf3dd6b7b55.tar.bz2
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.
Diffstat (limited to 'binutils/NEWS')
-rw-r--r--binutils/NEWS2
1 files changed, 2 insertions, 0 deletions
diff --git a/binutils/NEWS b/binutils/NEWS
index c266bb9..3043a7a 100644
--- a/binutils/NEWS
+++ b/binutils/NEWS
@@ -1,7 +1,9 @@
-*- text -*-
+* Add --no-weak/-W option to nm to make it ignore weak symbols.
* Add an option to objdump and readelf to prevent attempts to access debuginfod
servers when following links.
+
* objcopy --weaken, --weaken-symbol, and --weaken-symbols now make ELF
STB_GNU_UNIQUE symbols weak.