Major cleanup of ElfLinker.

This commit is contained in:
Markus F.X.J. Oberhumer
2006-11-12 10:57:18 +01:00
parent 6e763b0b42
commit a74e239e28
4 changed files with 217 additions and 155 deletions
+6 -6
View File
@@ -932,12 +932,6 @@ unsigned Packer::unoptimizeReloc32(upx_byte **in, upx_byte *image,
// loader util
**************************************************************************/
void Packer::freezeLoader()
{
linker->freeze();
}
upx_byte *Packer::getLoader() const
{
int size = -1;
@@ -1034,6 +1028,12 @@ void Packer::initLoader(const void *pdata, int plen, int small)
}
void Packer::addLoader(const char *s)
{
if (s && *s)
linker->addLoader(s);
}
void __acc_cdecl_va Packer::addLoader(const char *s, ...)
{
va_list ap;