mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-05 15:15:42 +00:00
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.
10 lines
325 B
Plaintext
10 lines
325 B
Plaintext
|
|
.*dw2-compressed.o: file format .*
|
|
|
|
Contents of section .zdebug_abbrev:
|
|
0000 01110110 06120111 01030825 08130b00 ...........%....
|
|
0010 00022e00 3f0c3a0b 3b0b0308 49131101 ....\?.:.;...I...
|
|
0020 1201400a 00000324 0003080b 0b3e0b00 ..@....\$.....>..
|
|
0030 000000 ...
|
|
#pass
|