Enhance objdump's --private option so that it can display the contents of PE format...
commit45b8517aae872adf7756dce6e138e487e5bc9b96
authorNick Clifton <nickc@redhat.com>
Fri, 26 May 2023 14:41:20 +0000 (26 15:41 +0100)
committerNick Clifton <nickc@redhat.com>
Fri, 26 May 2023 14:41:20 +0000 (26 15:41 +0100)
tree8dd8e6a0c1d0a5f9e5a4ef478c3e7dd07245d57a
parent5fd6b60d86ab6ab4bbd173524062b5d2aeac199a
Enhance objdump's --private option so that it can display the contents of PE format files.

  * od-pe.c: New file: Dumps fields in PE format headers.
  * configure.ac (od_vectors): Add objdump_private_desc_pe for PE format targets. (od_files): Add od-pe for PE format targets.
  * configure: Regenerate.
  * Makefile.am (CFILES): Add od-pe.c (EXTRA_objdump_SOURCE): Likewise.
  * Makefile.in: Generate.
  * NEWS: Mention the new feature.
  * doc/binutils.texi: Document the new support.
  * objdump.c (wide_output): Change from local to global.
  * objdump.h (wide_output): Prototype. (objdump_private_desc_pe): Prototype.
  * testsuite/binutils-all/objdump.exp: Add a test of the new feature.
binutils/ChangeLog
binutils/Makefile.am
binutils/Makefile.in
binutils/NEWS
binutils/configure
binutils/configure.ac
binutils/doc/binutils.texi
binutils/objdump.c
binutils/objdump.h
binutils/od-pe.c [new file with mode: 0644]
binutils/testsuite/binutils-all/objdump.exp