bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/31062] objdump -s missing option to dump uncompressed cont


From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/31062] objdump -s missing option to dump uncompressed contents of compressed debug sections
Date: Tue, 14 Nov 2023 10:59:34 +0000

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

--- Comment #8 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by Nick Clifton <nickc@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=fab62191f84583780c2c6d024d0e583400881770

commit fab62191f84583780c2c6d024d0e583400881770
Author: Nick Clifton <nickc@redhat.com>
Date:   Tue Nov 14 10:57:58 2023 +0000

    Improve objdump's handling of compressed sections.

      PR 31062
      * objdump.c (decompressed_dumps): New local variable. (usage): Mention
the -z/--decompress option. (long_options): Add --decompress.
(dump_section_header): Add "COMPRESSED" to the Flags field of any compressed
section. (dump_section): Warn users when dumping a compressed section.
(display_any_bfd): Decompress the section if decompressed_dumps is true.
(main): Handle the -z/--decompress option.
      * NEWS: Mention the new feature.
      * doc/binutils.texi: Document the new feature.
      * testsuite/binutils-all/objdump.s: Update expected output.
      * testsuite/binutils-all/objdump.exp: Add test of -Z -s.
      * testsuite/binutils-all/objdump.Zs: New file.
      * readelf.c (maybe_expand_or_relocate_section): New function. Contains
common code found in dump functions.  Adds a note message if a compressed
section is not being decompressed. (dump_section_as_strings): Use new function.
(dump_section_as_bytes): Likewise.

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