binutils-gdb/binutils/testsuite/binutils-all
Nick Clifton 09c11c861b * 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.
2007-08-30 13:47:35 +00:00
..
arm bfd: 2007-08-28 13:21:58 +00:00
hppa Change sources over to using GPLv3 2007-07-05 16:54:46 +00:00
m68k Change sources over to using GPLv3 2007-07-05 16:54:46 +00:00
vax Change sources over to using GPLv3 2007-07-05 16:54:46 +00:00
windres * windres/windres.exp: Return unsupported rather than fail if 2007-08-09 11:43:03 +00:00
alias.def * dlltool.c: Include <assert.h>. 2004-10-24 17:49:55 +00:00
ar.exp bfd: 2007-08-28 13:21:58 +00:00
bintest.s
copy-1.d 2006-05-02 Dave Korn <dave.korn@artimi.com> 2006-05-02 17:46:41 +00:00
copy-1.s 2006-04-26 H.J. Lu <hongjiu.lu@intel.com> 2006-04-26 13:37:05 +00:00
copy-2.d binutils/testsuite/ 2007-08-09 11:25:58 +00:00
copy-3.d binutils/testsuite/ 2007-08-09 11:25:58 +00:00
copytest.s * binutils-all/copy-2.d: Change the name of the section whose flags are 2006-05-02 12:17:30 +00:00
dlltool.exp Change sources over to using GPLv3 2007-07-05 16:54:46 +00:00
dumptest.s * readelf.c (dump_type): New type used to classify the kinds of dump requested by the user. 2007-08-30 13:47:35 +00:00
empty.s 2007-04-12 H.J. Lu <hongjiu.lu@intel.com> 2007-04-12 19:20:46 +00:00
fastcall.def Adds support for fastcall symbols as used on Microsoft Windows platforms 2002-11-06 19:36:20 +00:00
group.s binutils/testsuite/ 2005-10-20 17:06:41 +00:00
link-order.s 2005-10-19 H.J. Lu <hongjiu.lu@intel.com> 2005-10-19 17:39:43 +00:00
localize-hidden-1.d binutils/testsuite/ 2006-06-24 09:10:04 +00:00
localize-hidden-1.s binutils/ 2006-06-23 16:23:09 +00:00
localize-hidden-2.d binutils/ 2006-06-23 16:23:09 +00:00
localize-hidden-2.s binutils/ 2006-06-23 16:23:09 +00:00
needed-by-reloc.s * binutils-all/needed-by-reloc.s: Use .long rather than .4byte. 2007-05-11 07:16:28 +00:00
nm.exp Change sources over to using GPLv3 2007-07-05 16:54:46 +00:00
objcopy.exp bfd: 2007-08-28 13:21:58 +00:00
objdump.exp Change sources over to using GPLv3 2007-07-05 16:54:46 +00:00
readelf.exp * readelf.c (dump_type): New type used to classify the kinds of dump requested by the user. 2007-08-30 13:47:35 +00:00
readelf.h 2003-09-29 H.J. Lu <hongjiu.lu@intel.com> 2003-09-30 00:15:54 +00:00
readelf.r
readelf.r-64
readelf.s 2003-09-29 H.J. Lu <hongjiu.lu@intel.com> 2003-09-30 00:15:54 +00:00
readelf.s-64
readelf.ss 2005-10-08 Paul Brook <paul@codesourcery.com> 2005-10-08 17:07:19 +00:00
readelf.ss-64
readelf.ss-mips * binutils-all/readelf.ss-mips: Allow named section symbols. 2004-04-14 07:38:12 +00:00
readelf.ss-tmips * elfxx-mips.c (_bfd_mips_elf_fake_sections): Remove non-default 2003-06-27 01:16:30 +00:00
size.exp Change sources over to using GPLv3 2007-07-05 16:54:46 +00:00
strip-1.d binutils/ 2006-09-14 23:37:35 +00:00
strip-2.d binutils/ 2006-09-14 23:37:35 +00:00
strip-3.d 2007-06-23 H.J. Lu <hongjiu.lu@intel.com> 2007-06-23 16:15:53 +00:00
testprog.c Add prototype for printf() and make type of "string" array be "char" in 2005-01-04 10:13:02 +00:00
unknown.s binutils/testsuite/ 2005-10-19 20:49:03 +00:00