mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-23 00:34:22 +00:00
MakePEF: warn rather than abort for unexpected relocs
This commit is contained in:
parent
4ae36b70fb
commit
b4f51aad89
@ -391,7 +391,10 @@ void mkpef(std::istream& in, std::ostream& out, std::string mainSymbol = "__star
|
||||
else if(getI16(syms[symndx].e_scnum) == xcoffSectionNumbers[".bss"])
|
||||
relocInstructions.push_back(PEFRelocComposeBySectD(1));
|
||||
else
|
||||
assert(false);
|
||||
{
|
||||
//assert(false);
|
||||
std::cerr << "RELOC for section " << getI16(syms[symndx].e_scnum) << std::endl;
|
||||
}
|
||||
}
|
||||
delete[] relocs;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user