From 0e602686df5677fee06cbd1718b4a7aa5379cd2a Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 15 May 2015 17:16:31 +0100 Subject: Add --decompress option to readelf to decompress sections before they are dumped. 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. --- binutils/ChangeLog | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'binutils/ChangeLog') diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 5d017a1..ee2ddf0 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,14 @@ +2015-05-15 Nick Clifton + + * 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. + 2015-05-14 Peter Bergner * MAINTAINERS: Add myself as PPC maintainer. -- cgit v1.1