PackLinuxElf32x86::newLinker()

This commit is contained in:
John Reiser
2006-07-09 16:59:41 -07:00
parent c5b3107f83
commit d5e0e66426
2 changed files with 11 additions and 3 deletions
+8 -1
View File
@@ -468,7 +468,9 @@ PackLinuxElf32x86::buildLinuxLoader(
// PackHeader and overlay_offset at the end of the output file,
// after the compressed data.
return getLoaderSize();
unsigned const lsize = getLoaderSize();
linker->relocate();
return lsize;
}
int
@@ -2013,6 +2015,11 @@ PackLinuxElf32x86::~PackLinuxElf32x86()
{
}
Linker* PackLinuxElf32x86::newLinker() const
{
return new ElfLinkerX86;
}
PackBSDElf32x86::PackBSDElf32x86(InputFile *f) : super(f)
{
e_machine = Elf32_Ehdr::EM_386;