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

            Bug ID: 24627
           Summary: readelf -V output is ugly
           Product: binutils
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: maskray at google dot com
  Target Milestone: ---

% readelf -V /lib/x86_64-linux-gnu/libc.so.6
Version symbols section '.gnu.version' contains 2247 entries:
 Addr: 0000000000016a3a  Offset: 0x016a3a  Link: 4 (.dynsym)
  000:   0 (*local*)      1b (GLIBC_PRIVATE)  1b (GLIBC_PRIVATE)  1c
(GLIBC_2.3)  
  004:  1b (GLIBC_PRIVATE)  1b (GLIBC_PRIVATE)   0 (*local*)      1b
(GLIBC_PRIVATE)
  ...

Version definition section '.gnu.version_d' contains 26 entries:
  Addr: 0x0000000000017bc8  Offset: 0x017bc8  Link: 5 (.dynstr)
  000000: Rev: 1  Flags: BASE  Index: 1  Cnt: 1  Name: libc.so.6
  0x001c: Rev: 1  Flags: none  Index: 2  Cnt: 1  Name: GLIBC_2.2.5
  ...

Version needs section '.gnu.version_r' contains 1 entry:
 Addr: 0x0000000000017f60  Offset: 0x017f60  Link: 5 (.dynstr)
  000000: Version: 1  File: ld-linux-x86-64.so.2  Cnt: 2
  0x0010:   Name: GLIBC_2.3  Flags: none  Version: 28
  ...

* In the output .gnu.version and .gnu.version_d, `Addr:` is indented by 2.
* `000000` probably should be printed as `0x0000`

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to