From 09c11c861badb766bb5140bac0e7dba017730f8a Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 30 Aug 2007 13:47:35 +0000 Subject: * readelf.c (dump_type): New type used to classify the kinds of dump requested by the user. (dump_sects, cmdline_dump_sects): Use the new type. (options): Add --string-dump option. (request_dump): Rename to request_dump_bynumber. Use dump_type. (request_dump_byname): Use dump_type. (parse_args): Parse --string-dump option. (process_section_headers): Fix calls to request_dump. (initialise_dumps_byname): Likewise. (dump_section): Rename to dump_section_as_bytes. (dump_section_as_strings): New function. Display the contents of a section as printable strings. (process_section_contents): String dump the section if requested. (process_object): Use dump_type. (main): Likewise. * Makefile.am: Add dependency for readelf.c on safe-ctype.h. * Makefile.in: Regenerate. * NEWS: Mention the new feature. * doc/binutils.texi: Document the new feature. * testsuite/binutils-all/dumptest.s: New test file. * testsuite/binutils-all/readelf.exp: Add test of readelf's -p switch. --- binutils/NEWS | 2 ++ 1 file changed, 2 insertions(+) (limited to 'binutils/NEWS') diff --git a/binutils/NEWS b/binutils/NEWS index 20070d7..0009c6f 100644 --- a/binutils/NEWS +++ b/binutils/NEWS @@ -1,4 +1,6 @@ -*- text -*- +* Added -p switch to readelf to allow string dumps of sections. + Changes in 2.18: * Resolved 37 coding problems in bfd including static array overruns, null pointer dereferences and use of a malloc buffer after it has been freed, as -- cgit v1.1