From: Rui Ueyama Date: Fri, 24 Jan 2014 04:21:00 +0000 (+0000) Subject: Add constants for optional header magic field. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=da89d6acf4d999970eb971dcd5a8b02c5246ab8f;hp=a1f7c26cc8028c73842065e33f0acdee40cf868d;p=oota-llvm.git Add constants for optional header magic field. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199972 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Support/COFF.h b/include/llvm/Support/COFF.h index 2de01000a74..d9529dcc38b 100644 --- a/include/llvm/Support/COFF.h +++ b/include/llvm/Support/COFF.h @@ -451,6 +451,11 @@ namespace COFF { }; struct PEHeader { + enum { + PE32 = 0x10b, + PE32_PLUS = 0x20b + }; + uint16_t Magic; uint8_t MajorLinkerVersion; uint8_t MinorLinkerVersion;