bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/30684] readelf -s: support an option to display section na


From: nickc at redhat dot com
Subject: [Bug binutils/30684] readelf -s: support an option to display section names
Date: Wed, 26 Jul 2023 08:46:08 +0000

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

Nick Clifton <nickc at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |nickc at redhat dot com
           Assignee|unassigned at sourceware dot org   |nickc at redhat dot com

--- Comment #1 from Nick Clifton <nickc at redhat dot com> ---
Hi Fanguri,

  I like the idea, although I am not sure of the format the output should take.
  I tried a small experiment and the output looked like this (pruned to just 
  show some interesting cases):

     0: 0000000000000000     0 NOTYPE  LOCAL  DEFAULT  UND    
     1: 0000000000000000     0 SECTION LOCAL  DEFAULT    1 .text
     2: 0000000000000000     0 FILE    LOCAL  DEFAULT  ABS crt1.o
     3: 0000000000405fa6     0 NOTYPE  LOCAL  HIDDEN    14 (.text)
.annobin_abi_note.c
    12: 000000000040039c    32 OBJECT  LOCAL  DEFAULT    4 (.note.ABI-tag)
__abi_tag
    40: 0000000000423ea0    19 OBJECT  LOCAL  DEFAULT   16 (.rodata)
__PRETTY_FUNCTION__.1

  The problem is that I wanted to associate the section names with the section
  indexes, where the index is relevant, but this results in the symbol names
  being mis-indented and the output looking messy.

  Do you have any suggestions for a better format ?

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]