mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-18 16:53:50 +08:00
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.
This commit is contained in:

committed by
Nick Clifton

parent
b9d8f5601b
commit
2f1575ea6f
@ -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>
|
2019-10-25 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
PR 4499
|
PR 4499
|
||||||
|
@ -54,7 +54,7 @@ struct internal_extra_pe_filehdr
|
|||||||
unsigned short e_oeminfo; /* OEM information; e_oemid specific, 0x0 */
|
unsigned short e_oeminfo; /* OEM information; e_oemid specific, 0x0 */
|
||||||
unsigned short e_res2[10]; /* Reserved words, all 0x0 */
|
unsigned short e_res2[10]; /* Reserved words, all 0x0 */
|
||||||
bfd_vma e_lfanew; /* File address of new exe header, 0x80 */
|
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 */
|
bfd_vma nt_signature; /* required NT signature, 0x4550 */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user