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: Mon, 10 Aug 2020 12:29:51 +0000

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

--- Comment #9 from Nick Clifton <nickc at redhat dot com> ---
(In reply to Fangrui Song from comment #8)
> I think this essentially means that users have to specify -W if they want to
> get some information from the output...

In my opinion though, this would be a good thing.  For example with
the old readelf the output would contain lines like this:

   51: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND getpa@GLIBC_2.2.5 (2)

Which is surely misleading as there is no function called "getpa".
Using -W gets the full function name:

   51: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND
getpagesize@GLIBC_2.2.5 (2)

Admittedly the ellipsis does mean that the output does look overly
abbreviated, but at least it does not lie.

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]