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

            Bug ID: 22810
           Summary: ld.bfd,gold,gas --help|grep compress
           Product: binutils
           Version: 2.31 (HEAD)
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gas
          Assignee: unassigned at sourceware dot org
          Reporter: dilyan.palauzov at aegee dot org
  Target Milestone: ---

ld.bfd --help prints:
  --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi]
                              Compress DWARF debug sections using zlib
                               Default: zlib-gabi
ld.gold --help prints:
  --compress-debug-sections [none,zlib,zlib-gnu,zlib-gabi]
                              Compress .debug_* sections in the output file

as --help prints:
  --compress-debug-sections[={none|zlib|zlib-gnu|zlib-gabi}]
                          compress DWARF debug sections using zlib [default]
  --nocompress-debug-sections
                          don't compress DWARF debug sections

Gold and gas shall print like ld.bfd, when compression is enabled by default,
which compression method is used, none being a compression method.

I think for ld.bfd things are tweaked ideally, so gold and as shall adopt this
form.  Maybe the line "Default: zlib-gabi" can be replaced by a suffix "
[zlib-gabi]" on the previous line.

For as, provided that --compress-debug-sections=none is equivalent to
--no-compress-debug-sections, the latter could be hidden from the output of as
--help.

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