Compress the compiled C code in the stub on lx_exec86 (saves 157 bytes).

Also make 'fold_begin' processing more robust.
	p_lx_elf.cpp p_lx_sh.cpp p_unix.cpp
	stub/Makefile stub/l_lx_exec86.asm

committer: jreiser <jreiser> 958923851 +0000
This commit is contained in:
John Reiser
2000-05-21 15:44:11 +00:00
parent fdebd78d50
commit 6bb104b39f
5 changed files with 154 additions and 56 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ void PackLinuxI386sh::patchLoader()
patch_le32(loader,lsize,"UPX2",o_shname);
// stub/scripts/setfold.pl puts address of 'fold_begin' in phdr[1].p_offset
off_t const fold_begin = phdri[1].p_offset + 0x80;
off_t const fold_begin = phdri[1].p_offset;
MemBuffer cprLoader(lsize);
// compress compiled C-code portion of loader