removed unneeded entry point address check

committer: ml1050 <ml1050> 1144745835 +0000
This commit is contained in:
László Molnár 2006-04-11 08:57:15 +00:00
parent f6fdf5cb7f
commit d23d7e8775
2 changed files with 2 additions and 2 deletions

View File

@ -1611,7 +1611,7 @@ void PackArmPe::pack(OutputFile *fo)
if (memcmp(isection[0].name,"UPX",3) == 0)
throwAlreadyPackedByUPX();
if (!opt->force && (IDSIZE(15) || ih.entry > isection[1].vaddr))
if (!opt->force && IDSIZE(15))
throwCantPack("file is possibly packed/protected (try --force)");
if (ih.entry && ih.entry < rvamin)
throwCantPack("run a virus scanner on this file!");

View File

@ -1702,7 +1702,7 @@ void PackW32Pe::pack(OutputFile *fo)
if (memcmp(isection[0].name,"UPX",3) == 0)
throwAlreadyPackedByUPX();
if (!opt->force && (IDSIZE(15) || ih.entry > isection[1].vaddr))
if (!opt->force && IDSIZE(15))
throwCantPack("file is possibly packed/protected (try --force)");
if (ih.entry && ih.entry < rvamin)
throwCantPack("run a virus scanner on this file!");