mirror of
https://github.com/upx/upx
synced 2025-09-28 19:06:07 +08:00
Fix newLinker() for mach/ppc32.
This commit is contained in:
parent
8b662bc6b5
commit
aab984618d
|
@ -150,11 +150,6 @@ PackLinuxElf::~PackLinuxElf()
|
|||
delete[] file_image;
|
||||
}
|
||||
|
||||
Linker *PackLinuxElf::newLinker() const
|
||||
{
|
||||
return new ElfLinker;
|
||||
}
|
||||
|
||||
void PackLinuxElf::pack3(OutputFile *fo, Filter &ft)
|
||||
{
|
||||
unsigned disp;
|
||||
|
|
|
@ -54,7 +54,6 @@ protected:
|
|||
virtual void pack3(OutputFile *, Filter &) = 0; // append loader
|
||||
//virtual void pack4(OutputFile *, Filter &) = 0; // append pack header
|
||||
|
||||
virtual Linker* newLinker() const;
|
||||
virtual void generateElfHdr(
|
||||
OutputFile *,
|
||||
void const *proto,
|
||||
|
|
|
@ -66,7 +66,7 @@ const int *PackMachPPC32::getFilters() const
|
|||
|
||||
Linker *PackMachPPC32::newLinker() const
|
||||
{
|
||||
return new ElfLinker;
|
||||
return new ElfLinkerPpc32;
|
||||
}
|
||||
|
||||
int
|
||||
|
|
Loading…
Reference in New Issue
Block a user