diff options
author | Pali Roh?r <pali@kernel.org> | 2024-07-23 08:52:21 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2024-07-23 08:52:21 +0100 |
commit | 91b999864f9831287f2ea6f960e8fa98e7b13ee9 (patch) | |
tree | b390b844dea3b7f0ca42b9b5e7fab6bd18e37720 /bfd | |
parent | 85402ee9edae1be4a3efd53b14826ab6b1061ae4 (diff) | |
download | binutils-91b999864f9831287f2ea6f960e8fa98e7b13ee9.zip binutils-91b999864f9831287f2ea6f960e8fa98e7b13ee9.tar.gz binutils-91b999864f9831287f2ea6f960e8fa98e7b13ee9.tar.bz2 |
Improve objdump's display of PE header information.
PR 31953
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/peXXigen.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bfd/peXXigen.c b/bfd/peXXigen.c index 57cb3f5..51b567e 100644 --- a/bfd/peXXigen.c +++ b/bfd/peXXigen.c @@ -492,7 +492,7 @@ _bfd_XXi_swap_aouthdr_in (bfd * abfd, a->MinorImageVersion = H_GET_16 (abfd, src->MinorImageVersion); a->MajorSubsystemVersion = H_GET_16 (abfd, src->MajorSubsystemVersion); a->MinorSubsystemVersion = H_GET_16 (abfd, src->MinorSubsystemVersion); - a->Reserved1 = H_GET_32 (abfd, src->Reserved1); + a->Win32Version = H_GET_32 (abfd, src->Win32Version); a->SizeOfImage = H_GET_32 (abfd, src->SizeOfImage); a->SizeOfHeaders = H_GET_32 (abfd, src->SizeOfHeaders); a->CheckSum = H_GET_32 (abfd, src->CheckSum); @@ -755,7 +755,7 @@ _bfd_XXi_swap_aouthdr_out (bfd * abfd, void * in, void * out) aouthdr_out->MajorSubsystemVersion); H_PUT_16 (abfd, extra->MinorSubsystemVersion, aouthdr_out->MinorSubsystemVersion); - H_PUT_32 (abfd, extra->Reserved1, aouthdr_out->Reserved1); + H_PUT_32 (abfd, extra->Win32Version, aouthdr_out->Win32Version); H_PUT_32 (abfd, extra->SizeOfImage, aouthdr_out->SizeOfImage); H_PUT_32 (abfd, extra->SizeOfHeaders, aouthdr_out->SizeOfHeaders); H_PUT_32 (abfd, extra->CheckSum, aouthdr_out->CheckSum); @@ -2849,7 +2849,7 @@ _bfd_XX_print_private_bfd_data_common (bfd * abfd, void * vfile) fprintf (file, "MinorImageVersion\t%d\n", i->MinorImageVersion); fprintf (file, "MajorSubsystemVersion\t%d\n", i->MajorSubsystemVersion); fprintf (file, "MinorSubsystemVersion\t%d\n", i->MinorSubsystemVersion); - fprintf (file, "Win32Version\t\t%08x\n", i->Reserved1); + fprintf (file, "Win32Version\t\t%08x\n", i->Win32Version); fprintf (file, "SizeOfImage\t\t%08x\n", i->SizeOfImage); fprintf (file, "SizeOfHeaders\t\t%08x\n", i->SizeOfHeaders); fprintf (file, "CheckSum\t\t%08x\n", i->CheckSum); |