1
0
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:
Markus F.X.J. Oberhumer 2006-08-19 14:29:40 +02:00
parent 8b662bc6b5
commit aab984618d
3 changed files with 1 additions and 7 deletions

View File

@ -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;

View File

@ -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,

View File

@ -66,7 +66,7 @@ const int *PackMachPPC32::getFilters() const
Linker *PackMachPPC32::newLinker() const
{
return new ElfLinker;
return new ElfLinkerPpc32;
}
int