wc/le: Refuse to pack files without relocations. This should be fixed.
committer: mfx <mfx> 1048283863 +0000
This commit is contained in:
@@ -274,6 +274,12 @@ void PackWcle::preprocessFixups()
|
||||
for (ic = jc = 0; ic < objects; ic++)
|
||||
jc += counts[ic];
|
||||
|
||||
if (jc == 0)
|
||||
{
|
||||
// FIXME: implement this
|
||||
thowCantPack("files without relocations are not supported");
|
||||
}
|
||||
|
||||
ByteArray(rl, jc);
|
||||
ByteArray(srf, counts[objects+0]+1);
|
||||
ByteArray(slf, counts[objects+1]+1);
|
||||
|
||||
Reference in New Issue
Block a user