aboutsummaryrefslogtreecommitdiff
path: root/include/coff
diff options
context:
space:
mode:
authorPali Roh?r <pali@kernel.org>2024-07-23 08:52:21 +0100
committerNick Clifton <nickc@redhat.com>2024-07-23 08:52:21 +0100
commit91b999864f9831287f2ea6f960e8fa98e7b13ee9 (patch)
treeb390b844dea3b7f0ca42b9b5e7fab6bd18e37720 /include/coff
parent85402ee9edae1be4a3efd53b14826ab6b1061ae4 (diff)
downloadgdb-91b999864f9831287f2ea6f960e8fa98e7b13ee9.zip
gdb-91b999864f9831287f2ea6f960e8fa98e7b13ee9.tar.gz
gdb-91b999864f9831287f2ea6f960e8fa98e7b13ee9.tar.bz2
Improve objdump's display of PE header information.
PR 31953
Diffstat (limited to 'include/coff')
-rw-r--r--include/coff/internal.h2
-rw-r--r--include/coff/pe.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/include/coff/internal.h b/include/coff/internal.h
index c96ac58..3ffc118 100644
--- a/include/coff/internal.h
+++ b/include/coff/internal.h
@@ -215,7 +215,7 @@ struct internal_extra_pe_aouthdr
short MinorImageVersion; /* exe or dll being created, default to 0. */
short MajorSubsystemVersion; /* Minimum subsystem version required to */
short MinorSubsystemVersion; /* run exe; default to 3.1. */
- uint32_t Reserved1; /* Seems to be 0. */
+ uint32_t Win32Version; /* Set to 0. */
uint32_t SizeOfImage; /* Size of memory to allocate for prog. */
uint32_t SizeOfHeaders; /* Size of PE header and section table. */
uint32_t CheckSum; /* Set to 0. */
diff --git a/include/coff/pe.h b/include/coff/pe.h
index ca5c2e5..37446e4 100644
--- a/include/coff/pe.h
+++ b/include/coff/pe.h
@@ -264,7 +264,7 @@ typedef struct
char MinorImageVersion[2];
char MajorSubsystemVersion[2];
char MinorSubsystemVersion[2];
- char Reserved1[4];
+ char Win32Version[4];
char SizeOfImage[4];
char SizeOfHeaders[4];
char CheckSum[4];
@@ -303,7 +303,7 @@ typedef struct
char MinorImageVersion[2];
char MajorSubsystemVersion[2];
char MinorSubsystemVersion[2];
- char Reserved1[4];
+ char Win32Version[4];
char SizeOfImage[4];
char SizeOfHeaders[4];
char CheckSum[4];