aboutsummaryrefslogtreecommitdiff
path: root/include/coff
diff options
context:
space:
mode:
authorAndrew Eikum <aeikum@codeweavers.com>2019-10-29 08:02:34 +0000
committerNick Clifton <nickc@redhat.com>2019-10-29 08:02:34 +0000
commit2f1575ea6f93a3f0c2b439ac6bf5fe34ef42a1ad (patch)
tree424dc470dbceeb150e3b6255c0f5f4ec9cbd5958 /include/coff
parentb9d8f5601bcfbe96ab0476286ae8e249ada10db5 (diff)
downloadgdb-2f1575ea6f93a3f0c2b439ac6bf5fe34ef42a1ad.zip
gdb-2f1575ea6f93a3f0c2b439ac6bf5fe34ef42a1ad.tar.gz
gdb-2f1575ea6f93a3f0c2b439ac6bf5fe34ef42a1ad.tar.bz2
Fix the size of the dos_message field in the internal_extra_pe_filehdr structure on hosts where sizeof(long) == 8.
* coff/internal.h (struct internal_extra_pe_filehdr): Use ints instead of longs to hold dos_message.
Diffstat (limited to 'include/coff')
-rw-r--r--include/coff/internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/coff/internal.h b/include/coff/internal.h
index c87dc8a..31a9e41 100644
--- a/include/coff/internal.h
+++ b/include/coff/internal.h
@@ -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 */
};