mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-18 23:12:15 +08:00
* peicode.h (coff_swap_filehdr_in): can't use e_magic because we
can't assume the PE header is at 0x80. * coff/pe.h: clarify a comment
This commit is contained in:
parent
d3b715788a
commit
86e25f234a
@ -1,3 +1,7 @@
|
||||
2000-06-30 DJ Delorie <dj@cygnus.com>
|
||||
|
||||
* coff/pe.h: clarify a comment
|
||||
|
||||
2000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
|
||||
|
||||
* dis-asm.h (print_insn_m68hc12): Define.
|
||||
|
@ -110,7 +110,7 @@
|
||||
|
||||
struct external_PEI_filehdr
|
||||
{
|
||||
/* DOS header fields */
|
||||
/* DOS header fields - always at offset zero in the EXE file */
|
||||
char e_magic[2]; /* Magic number, 0x5a4d */
|
||||
char e_cblp[2]; /* Bytes on last page of file, 0x90 */
|
||||
char e_cp[2]; /* Pages in file, 0x3 */
|
||||
@ -129,8 +129,12 @@ struct external_PEI_filehdr
|
||||
char e_oemid[2]; /* OEM identifier (for e_oeminfo), 0x0 */
|
||||
char e_oeminfo[2]; /* OEM information; e_oemid specific, 0x0 */
|
||||
char e_res2[10][2]; /* Reserved words, all 0x0 */
|
||||
char e_lfanew[4]; /* File address of new exe header, 0x80 */
|
||||
char e_lfanew[4]; /* File address of new exe header, usually 0x80 */
|
||||
char dos_message[16][4]; /* other stuff, always follow DOS header */
|
||||
|
||||
/* Note: additional bytes may be inserted before the signature. Use
|
||||
the e_lfanew field to find the actual location of the NT signature */
|
||||
|
||||
char nt_signature[4]; /* required NT signature, 0x4550 */
|
||||
|
||||
/* From standard header */
|
||||
|
Loading…
x
Reference in New Issue
Block a user