mirror of
https://github.com/autc04/Retro68.git
synced 2025-02-18 18:31:07 +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"])
|
else if(getI16(syms[symndx].e_scnum) == xcoffSectionNumbers[".bss"])
|
||||||
relocInstructions.push_back(PEFRelocComposeBySectD(1));
|
relocInstructions.push_back(PEFRelocComposeBySectD(1));
|
||||||
else
|
else
|
||||||
assert(false);
|
{
|
||||||
|
//assert(false);
|
||||||
|
std::cerr << "RELOC for section " << getI16(syms[symndx].e_scnum) << std::endl;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
delete[] relocs;
|
delete[] relocs;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user