mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-15 22:08:47 +00:00
MakePEF: set weak flag on individual symbols
This commit is contained in:
parent
e56fc8b9c5
commit
d48e1c4798
@ -458,7 +458,9 @@ void mkpef(const std::string& inFn, const std::string& outFn)
|
||||
for(unsigned j=0;j<importLibs[i].imports.size();j++)
|
||||
{
|
||||
PEFImportedSymbol sym;
|
||||
sym.classAndName = PEFComposeImportedSymbol(kPEFTVectorSymbol /* ### */,
|
||||
uint8_t weakflag = importLibs[i].weak ? 0x80 : 0;
|
||||
|
||||
sym.classAndName = PEFComposeImportedSymbol(weakflag | kPEFTVectorSymbol /* ### */,
|
||||
importLibs[i].symNameOffsets[j]);
|
||||
eswap(&sym);
|
||||
out.write((char*)&sym, sizeof(sym));
|
||||
|
Loading…
Reference in New Issue
Block a user