Add constants for optional header magic field.

llvm-svn: 199972
This commit is contained in:
Rui Ueyama 2014-01-24 04:21:00 +00:00
parent 0e2ccb2df1
commit 4d97536ad0
1 changed files with 5 additions and 0 deletions

View File

@ -451,6 +451,11 @@ namespace COFF {
};
struct PEHeader {
enum {
PE32 = 0x10b,
PE32_PLUS = 0x20b
};
uint16_t Magic;
uint8_t MajorLinkerVersion;
uint8_t MinorLinkerVersion;