mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
[COFF] Use symbolic constants instead of hardcoded numbers. NFCI.
Patch by Martell Malone. llvm-svn: 337614
This commit is contained in:
parent
b3ba70f006
commit
1110b9f5e4
@ -546,7 +546,12 @@ NewArchiveMember ObjectFactory::createWeakExternal(StringRef Sym,
|
||||
u16(0),
|
||||
IMAGE_SYM_CLASS_WEAK_EXTERNAL,
|
||||
1},
|
||||
{{{2, 0, 0, 0, 3, 0, 0, 0}}, u32(0), u16(0), u16(0), uint8_t(0), 0},
|
||||
{{{2, 0, 0, 0, IMAGE_WEAK_EXTERN_SEARCH_ALIAS, 0, 0, 0}},
|
||||
u32(0),
|
||||
u16(0),
|
||||
u16(0),
|
||||
IMAGE_SYM_CLASS_NULL,
|
||||
0},
|
||||
};
|
||||
SymbolTable[2].Name.Offset.Offset = sizeof(uint32_t);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user