Removed unused Packer::freezeLoader(). Changed return type of

buildLoader() from "int" to "void".
This commit is contained in:
Markus F.X.J. Oberhumer
2006-11-12 20:57:08 +01:00
parent 9e72ecd93d
commit be235ddc38
38 changed files with 84 additions and 122 deletions
+3 -5
View File
@@ -90,7 +90,7 @@ void PackMachPPC32::defineSymbols(Filter const *)
}
int
void
PackMachPPC32::buildMachLoader(
upx_byte const *const proto,
unsigned const szproto,
@@ -131,16 +131,14 @@ PackMachPPC32::buildMachLoader(
addStubEntrySections(ft);
freezeLoader();
defineSymbols(ft);
linker->relocate();
return getLoaderSize();
}
int
void
PackMachPPC32::buildLoader(const Filter *ft)
{
return buildMachLoader(
buildMachLoader(
l_mac_ppc32_loader, sizeof(l_mac_ppc32_loader),
fold_machppc32, sizeof(fold_machppc32), ft );
}