aboutsummaryrefslogtreecommitdiff
path: root/binutils/doc
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2023-05-26 15:41:20 +0100
committerNick Clifton <nickc@redhat.com>2023-05-26 15:41:20 +0100
commit45b8517aae872adf7756dce6e138e487e5bc9b96 (patch)
tree8dd8e6a0c1d0a5f9e5a4ef478c3e7dd07245d57a /binutils/doc
parent5fd6b60d86ab6ab4bbd173524062b5d2aeac199a (diff)
downloadgdb-45b8517aae872adf7756dce6e138e487e5bc9b96.zip
gdb-45b8517aae872adf7756dce6e138e487e5bc9b96.tar.gz
gdb-45b8517aae872adf7756dce6e138e487e5bc9b96.tar.bz2
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.
Diffstat (limited to 'binutils/doc')
-rw-r--r--binutils/doc/binutils.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi
index b1982a9..8c14d11 100644
--- a/binutils/doc/binutils.texi
+++ b/binutils/doc/binutils.texi
@@ -2754,6 +2754,12 @@ For XCOFF, the available options are:
@item ldinfo
@end table
+For PE, the available options are:
+@table @code
+@item header
+@item sections
+@end table
+
Not all object formats support this option. In particular the ELF
format does not use it.