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