This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: readelf on elf64


Jakub Jelinek <jakub@redhat.com> writes:

> Hi!
>
> I find readelf -l and especially readelf -S output very unreadable when
> handling 64bit ELF:
>
>   [Nr] Name              Type             Address           Offset
>        Size              EntSize          Flags  Link  Info  Align
>   [ 0]                   NULL             0000000000000000  00000000
>        0000000000000000  0000000000000000           0     0     0
>   [ 1] .interp           PROGBITS         0000000120000190  00000190
>        0000000000000010  0000000000000000   A       0     0     1
>   [ 2] .note.ABI-tag     NOTE             00000001200001a0  000001a0
>        0000000000000020  0000000000000000   A       0     0     16
>   [ 3] .hash             HASH             00000001200001c0  000001c0
>        00000000000001e0  0000000000000004   A       4     0     8
>   [ 4] .dynsym           DYNSYM           00000001200003a0  000003a0
>        00000000000001f8  0000000000000018   A      24     1     8
>   [ 5] .gnu.liblist      SHT_LOOS+ffffff  0000000120000598  00000598
>        0000000000000050  0000000000000014   A      24     0     4
>
> What do you think about adding readelf option which would cause these two to
> be a section (resp. segment) per line (especially now when 80 column
> consoles are so rare)?

I would love it, it has annoyed me already several times,

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]