bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/26028] Readelf truncates symbol names - which is both undo


From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/26028] Readelf truncates symbol names - which is both undocumented, and unnecessary
Date: Thu, 02 Jul 2020 10:32:29 +0000

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

--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by Nick Clifton <nickc@sourceware.org>:

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

commit 0942c7ab94e554657c3e11ab85ae7f15373ee80d
Author: Nick Clifton <nickc@redhat.com>
Date:   Thu Jul 2 11:30:52 2020 +0100

    Change readelf's display of symbol names (when not in --wide mode) so that
if they are going to be truncated then "[...]" is displayed at the end.  Add a
comment line option to disable this enhancement and restore the old behaviour.

            PR 26028
    binutils* readelf.c (print_symbol): Handle truncation of symbol names.
            (options): Add -T/--silent-truncation option.
            (parse_args): Handle the option.
            (print_dynamic_symbol): Correct calculation of width available to
            display symbol name.
            * doc/binutils.texi: Document the -T option to readelf.
            * NEWS: Mention the new feature.

    gas     * testsuite/gas/ia64/group-2.d: Add -T option to readelf
            command line.
            * testsuite/gas/ia64/unwind.d: Likewise.
            * testsuite/gas/mmix/bspec-1.d: Likewise.
            * testsuite/gas/mmix/bspec-2.d: Likewise.
            * testsuite/gas/mmix/comment-1.d: Likewise.
            * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.

    ld      * testsuite/ld-powerpc/powerpc.exp: Add -T option to readelf
            command line when running some tests.
            * testsuite/ld-arm/arm-elf.exp: Likewise.
            * testsuite/ld-mips-elf/mips-elf.exp: Likewise.
            * testsuite/ld-mmix/local1.d: Likewise.
            * testsuite/ld-mmix/local3.d: Likewise.
            * testsuite/ld-mmix/local5.d: Likewise.
            * testsuite/ld-mmix/local7.d: Likewise.
            * testsuite/ld-powerpc/powerpc.exp: Likewise.

-- 
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]