MakePEF: warn rather than abort for unexpected relocs

This commit is contained in:
Wolfgang Thaller 2015-09-01 00:04:47 +02:00
parent 4ae36b70fb
commit b4f51aad89

View File

@ -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;
}