Markus F.X.J. Oberhumer
2162a01848
Enter 2003.
...
committer: mfx <mfx> 1042478199 +0000
2003-01-13 17:16:39 +00:00
John Reiser
54d01790b5
Linux 2.5.53 has some Elf32_auxv_t.a_type >= 32
...
committer: jreiser <jreiser> 1040352519 +0000
2002-12-20 02:48:39 +00:00
John Reiser
d96646b0e0
save 3 bytes by not clearing [AT_NULL].a_un.a_ptr
...
committer: jreiser <jreiser> 1034698533 +0000
2002-10-15 16:15:33 +00:00
John Reiser
8ad3d01d81
Prepare for ability to compress PT_INTERP program.
...
Also save 16 bytes at cost of incompatible with glibc-2.1.1 (1999-12-29).
fold_elf86.asm l_lx_elf.c
committer: jreiser <jreiser> 1032625240 +0000
2002-09-21 16:20:40 +00:00
Markus F.X.J. Oberhumer
74a2d9486b
Initial NRV2E support. Pretty much untested.
...
committer: mfx <mfx> 1031841557 +0000
2002-09-12 14:39:17 +00:00
Markus F.X.J. Oberhumer
789cfea682
Checked in psx/exe patches from Jens.
...
committer: mfx <mfx> 1026820270 +0000
2002-07-16 11:51:10 +00:00
John Reiser
2dfb82d5b9
Linux does not grow the stack below esp, so all accesses must be >= esp.
...
fold_elf86.asm fold_sh86.asm l_lx_sep86.asm
committer: jreiser <jreiser> 1006463120 +0000
2001-11-22 21:05:20 +00:00
John Reiser
d85f48fb97
save 2 bytes when compressed
...
committer: jreiser <jreiser> 994968843 +0000
2001-07-12 20:14:03 +00:00
John Reiser
e4660b8608
need to search auxv for AT_PHDR
...
committer: jreiser <jreiser> 994946170 +0000
2001-07-12 13:56:10 +00:00
John Reiser
96141d82f4
Spend some bytes of code in stub to eliminate wasted stack space.
...
(Choose between this revision and previous, according to taste.)
fold_elf86.asm l_lx_elf.c
committer: jreiser <jreiser> 994887023 +0000
2001-07-11 21:30:23 +00:00
John Reiser
ef17dc10ca
Fix Elf_auxv table. upx was duplicating AT_PHDR (and others)
...
because Linux 2.4.5 supplies many more AT_ entries than before.
First noticed by Sebastian <scut@nb.in-berlin.de >.
fold_elf86.asm fold_sh86.asm l_lx_sep86.asm
l_lx_elf.c l_lx_sh.c l_lx_sep.c
committer: jreiser <jreiser> 994871296 +0000
2001-07-11 17:08:16 +00:00
John Reiser
caca5ffa12
keep zeroed stack as clean as possible (Sebastian <scut@nb.in-berlin.de>)
...
l_lx_sep86.asm fold_elf86.asm
committer: jreiser <jreiser> 994702928 +0000
2001-07-09 18:22:08 +00:00
Markus F.X.J. Oberhumer
0e063b9759
Whitespace changes.
...
committer: mfx <mfx> 984629032 +0000
2001-03-15 04:03:52 +00:00
John Reiser
2ff824e631
get rid of PT_DYNAMIC: not worth the space; instead, use "upx -d" then ldd
...
p_lx_exc.h p_lx_elf.cpp p_lx_exc.cpp p_lx_sh.cpp
stub/l_lx_elf.c stub/l_lx_elf86.lds stub/fold_elf86.asm
committer: jreiser <jreiser> 981747384 +0000
2001-02-09 19:36:24 +00:00
John Reiser
40fddf1715
Put upx stub loader at high end of ELF output file on linux,
...
and allow for block-by-block specification of filter and parameters.
linker.cpp linker.h mem.cpp mem.h p_elf.h
p_lx_elf.cpp p_lx_elf.h
p_lx_exc.cpp p_lx_exc.h
p_lx_sh.cpp p_lx_sh.h
p_unix.cpp p_unix.h
packer.cpp packer.h
stub/fold_elf86.asm stub/fold_exec86.asm stub/fold_sh86.asm
stub/l_lx_elf.c stub/l_lx_elf86.asm stub/l_lx_elf86.lds
stub/l_lx_exec.c stub/l_lx_exec86.asm stub/l_lx_exec86.lds
stub/l_lx_sh.c stub/l_lx_sh86.asm stub/l_lx_sh86.lds
stub/linux.hh
committer: jreiser <jreiser> 981084316 +0000
2001-02-02 03:25:16 +00:00
John Reiser
df9db96bd1
filters for unix(linux)
...
Modified Files:
filteri.cpp filter/ctojr.h linker.cpp linker.h mem.cpp mem.h
p_lx_elf.cpp p_lx_elf.h
p_lx_exc.cpp p_lx_exc.h
p_lx_sh.cpp p_lx_sh.h
p_unix.cpp packer.cpp packer.h packhead.cpp
stub/Makefile stub/macros.ash
stub/l_lx_elf.c stub/l_lx_elf86.asm stub/l_lx_elf86.lds
stub/l_lx_exec.c stub/l_lx_exec86.asm stub/l_lx_exec86.lds
stub/l_lx_sh86.asm stub/l_lx_sh86.lds
Added Files:
filter/ctok.h
stub/fold_elf86.asm stub/fold_exec86.asm stub/fold_sh86.asm
committer: jreiser <jreiser> 979796725 +0000
2001-01-18 05:45:25 +00:00