Commit: Enhance 'objdump -p' to display the contents of .rsrc sections

Nick Clifton nickc@redhat.com
Tue Dec 3 14:08:00 GMT 2013


Hi Guys,

  I am applying the attached patch to enhance objdump's -p output to
  include the contents of .rsrc sections found in COFF/PE binaries.
  This is part of a larger patch (still in development) which will
  handle the merging of .rsrc sections.

Cheers
  Nick

bfd/ChangeLog
2013-12-03  Nick Clifton  <nickc@redhat.com>

	* peXXigen.c (pe_print_resource_entries): New function: Displays
	an entry in a .rsrc section.
	(pe_print_resource_directory): New function: Displays a directory
	in a .rsrc section.
	(pe_print_rsrc): New function: Displays the contents of .rsrc
	section.
	(_bfd_XX_print_private_bfd_data_common): Call pe_print_rsrc.

binutils/testsuite/ChangeLog
2013-12-03  Nick Clifton  <nickc@redhat.com>

	* binutils-all/windres/windres.exp: Run for x86_64-pc-cygwin.
	Add test of "objump -p" output.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pe-rsrc.patch
Type: text/x-patch
Size: 7883 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20131203/0ccee728/attachment.bin>


More information about the Binutils mailing list