mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-28 18:10:46 +00:00
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.
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user