bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/24887] New: readelf --notes: left justify "Data size"


From: maskray at google dot com
Subject: [Bug binutils/24887] New: readelf --notes: left justify "Data size"
Date: Wed, 07 Aug 2019 05:41:33 +0000

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

            Bug ID: 24887
           Summary: readelf --notes: left justify "Data size"
           Product: binutils
           Version: 2.33 (HEAD)
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: maskray at google dot com
  Target Milestone: ---

% readelf -n core
...
  Owner                 Data size       Description                             
  CORE                 0x00000150       NT_PRSTATUS (prstatus structure)

"Data size" is right justified. It will look slightly better if it is left
justified, to be consistent with "Owner" and "Description":

--- i/binutils/readelf.c
+++ w/binutils/readelf.c
@@ -19184 +19184 @@ process_notes_at (Filedata *           filedata,
-  printf (_("  %-20s %10s\tDescription\n"), _("Owner"), _("Data size"));
+  printf (_("  %-20s %-10s\tDescription\n"), _("Owner"), _("Data size"));


% readelf -n core
...
  Owner                Data size        Description                             
  CORE                 0x00000150       NT_PRSTATUS (prstatus structure)

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