Fix the size of the dos_message field in the internal_extra_pe_filehdr structure...
authorAndrew Eikum <aeikum@codeweavers.com>
Tue, 29 Oct 2019 08:02:34 +0000 (08:02 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 29 Oct 2019 08:02:34 +0000 (08:02 +0000)
* coff/internal.h (struct internal_extra_pe_filehdr): Use ints
instead of longs to hold dos_message.

include/ChangeLog
include/coff/internal.h

index 1b3a519f6ce3d4a320b878bfd0306ec70dd05ff4..44c71a72fc45b1ac9a13cf11bbf7ae6ef59a0496 100644 (file)
@@ -1,3 +1,8 @@
+2019-10-29  Andrew Eikum  <aeikum@codeweavers.com>
+
+       * coff/internal.h (struct internal_extra_pe_filehdr): Use ints
+       instead of longs to hold dos_message.
+
 2019-10-25  Alan Modra  <amodra@gmail.com>
 
        PR 4499
index c87dc8abaf72420f51cdac097174b7dc86a868b7..31a9e4189a09d49f85ffd6409d6979b79d4a6400 100644 (file)
@@ -54,7 +54,7 @@ struct internal_extra_pe_filehdr
   unsigned short e_oeminfo;    /* OEM information; e_oemid specific, 0x0 */
   unsigned short e_res2[10];   /* Reserved words, all 0x0 */
   bfd_vma  e_lfanew;           /* File address of new exe header, 0x80 */
-  unsigned long dos_message[16]; /* text which always follows dos header */
+  unsigned int dos_message[16]; /* Text which always follows DOS header.  */
   bfd_vma  nt_signature;       /* required NT signature, 0x4550 */
 };