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: nickc at redhat dot com
Subject: [Bug binutils/26028] Readelf truncates symbol names - which is both undocumented, and unnecessary
Date: Thu, 04 Jun 2020 16:16:46 +0000

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

Nick Clifton <nickc at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2020-06-04
     Ever confirmed|0                           |1
           Assignee|unassigned at sourceware dot org   |nickc at redhat dot com
             Status|UNCONFIRMED                 |ASSIGNED
                 CC|                            |nickc at redhat dot com

--- Comment #1 from Nick Clifton <nickc at redhat dot com> ---
Created attachment 12588
  --> https://sourceware.org/bugzilla/attachment.cgi?id=12588&action=edit
Proposed patch

Hi Nadav,

  I agree that the symbols should really be displayed in full.  But the intent
has always been that readelf's output will fit neatly into an 80 column display
if the --wide option is not used.

  So I am proposing this patch as a compromise.  With the patch applied symbol
names will still be displayed in a truncated format (unless --wide is used) but
now they will be suffixed with "[...]" to indicate that truncation has
happened.  
A new command line option -T/--silent-truncation will restore the old
behaviour, in case there are tools that depend upon this.

  The patch also fixes the display of dynamic symbols so that they should end
at the 80th column.

  Please could you try the patch out and let me know what you think.

Cheers
  Nick

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