bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/26302] nm -D -u now by default displays symbol versions, a


From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/26302] nm -D -u now by default displays symbol versions, adding --with-symbol-versions duplicates them
Date: Thu, 31 Dec 2020 23:50:14 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=26302

--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The binutils-2_35-branch branch has been updated by Alan Modra
<amodra@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=794e008bac4ed9948015644bcf9b3ae178ef9a50

commit 794e008bac4ed9948015644bcf9b3ae178ef9a50
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Aug 10 05:17:28 2020 -0700

    nm: Remove --with-symbol-versions

    Since

    commit 7e6e972f74aeac0ebdbd95a7f905d871cd2581de
    Author: H.J. Lu <hjl.tools@gmail.com>
    Date:   Tue Mar 24 04:23:11 2020 -0700

        bfd: Display symbol version for nm -D

    always displays symbol version for nm, remove --with-symbol-versions and
    silently accept it for backward compatibility.

    binutils/

            PR binutils/26302
            * nm.c (with_symbol_versions): Removed.
            (long_option_values): Add OPTION_WITH_SYMBOL_VERSIONS.
            (long_options): Update --with-symbol-versions entry.
            (print_symbol): Remove the with_symbol_versions check.
            (main): Add OPTION_WITH_SYMBOL_VERSIONS for backward
            compatibility.
            * doc/binutils.texi: Remove --with-symbol-versions.

    ld/

            PR binutils/26302
            * testsuite/ld-elf/pr26302.nd: New file.
            * testsuite/ld-elf/pr26302.ver: Likewise.
            * testsuite/ld-elf/pr26302a.c: Likewise.
            * testsuite/ld-elf/pr26302b.c: Likewise.
            * testsuite/ld-elf/shared.exp: Run binutils/26302 tests.

    (cherry picked from commit 9b0ac51b22d0cf900f39e17e615bb22e32720f6e)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]