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.
11 lines
468 B
ArmAsm
11 lines
468 B
ArmAsm
|
|
.*dw2-compressed.o: file format .*
|
|
|
|
Contents of section .zdebug_abbrev:
|
|
NOTE: This section is compressed, but its contents have NOT been expanded for this dump.
|
|
0000 5a4c4942 00000000 00000033 785e6314 ZLIB.......3x\^c.
|
|
0010 64146013 62146464 e650e510 e6666060 d.`.b.dd.P...f``
|
|
0020 d263b0e7 b1e2b6e6 66e6f014 16641462 .c......f....d.b
|
|
0030 74e00200 25780281 789c6360 60566160 t...%x..x.c``Va`
|
|
0040 e6e0e6b6 e3660002 00049c00 92 .....f.......
|