mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
0e602686df
bin * readelf.c (options): Add "decompress". (usage): Mention -z/--decompress. (parse_args): Handle -z. (uncompress_section_contents): Move to earlier in the file. (dump_section_as_strings): If requested, decompress the section before dumping. (dump_section_as_bytes): Likewise. * doc/binutils.texi: Document the new option. tests * binutils-all/z.s: New test. Checks the --decompress option to readelf. * binutils-all/readelf.exp: Run the test. * binutils-all/readelf.z: Expected output from readelf.
9 lines
491 B
Plaintext
9 lines
491 B
Plaintext
Hex dump of section '.debug_loc':
|
|
0x00000000 00000000 00000000 01005000 00000000 ..........P.....
|
|
0x00000010 00000004 00f30150 9f000000 00000000 .......P........
|
|
0x00000020 00000000 00000000 00010051 00000000 ...........Q....
|
|
0x00000030 00000000 0300717f 9f000000 00000000 ......q.........
|
|
0x00000040 000b0070 0020f301 51227000 229f0000 ...p. ..Q"p."...
|
|
0x00000050 00000000 00000b00 70002070 0022f301 ........p. p."..
|
|
0x00000060 51229f00 00000000 000000 Q".........
|