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:
parent
d556f58e34
commit
26024770b8
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user