1
0
mirror of https://github.com/upx/upx synced 2025-09-28 19:06:07 +08:00

For the moment we always throwCantPack() for arm/pe and win32/pe.

This commit is contained in:
Markus F.X.J. Oberhumer 2007-07-30 17:47:42 +02:00
parent d556f58e34
commit 26024770b8
2 changed files with 8 additions and 0 deletions

View File

@ -507,6 +507,10 @@ void PackArmPe::buildLoader(const Filter *ft)
void PackArmPe::pack(OutputFile *fo)
{
// FIXME: we need to think about better support for --exact
if (opt->exact)
throwCantPackExact();
const unsigned objs = ih.objects;
isection = new pe_section_t[objs];
fi->seek(pe_offset+sizeof(ih),SEEK_SET);

View File

@ -592,6 +592,10 @@ void PackW32Pe::buildLoader(const Filter *ft)
void PackW32Pe::pack(OutputFile *fo)
{
// FIXME: we need to think about better support for --exact
if (opt->exact)
throwCantPackExact();
const unsigned objs = ih.objects;
isection = new pe_section_t[objs];
fi->seek(pe_offset+sizeof(ih),SEEK_SET);