bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/30684] New: readelf -s: support an option to display secti


From: i at maskray dot me
Subject: [Bug binutils/30684] New: readelf -s: support an option to display section names
Date: Tue, 25 Jul 2023 18:23:54 +0000

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

            Bug ID: 30684
           Summary: readelf -s: support an option to display section names
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: i at maskray dot me
  Target Milestone: ---

I almost always prefer readelf -Ws to objdump -t for ELF symbol information as
the former presents all information without distortion. Certain symbol types
have strange output for objdump -t output, e.g. STT_SECTION=>'d',
STT_NOTYPE=>no particular character.

There is, however, one feature that objdump -t is better: it displays the
section name for a symbol defined relative to a section. readelf -Ws just
prints st_shndx, which is sometimes less readable.

I wonder whether readelf can add an option to change the "Ndx" column to
display section names instead.

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