László Molnár
ed9fd3f0e0
watcom/le using nrv2e converted to ElfLinker
2006-07-02 23:21:15 +02:00
László Molnár
fa9573436a
tmp/adam using nrv2e converted to ElfLinker
2006-07-02 22:39:53 +02:00
László Molnár
6d2058c3b7
reloc32 uncommented
2006-07-02 22:32:12 +02:00
John Reiser
0d7f93b877
unused: getrusage personality msync getcwd
2006-07-02 12:04:12 -07:00
László Molnár
f022c9d510
dos/djgpp2 using nrv2e converted to ElfLinker
2006-07-01 17:29:41 +02:00
László Molnár
5964a06386
arm/pe works with ElfLinker
2006-07-01 12:36:07 +02:00
László Molnár
08962a74ab
started the arm/pe conversion to ElfLinker
2006-07-01 00:21:53 +02:00
László Molnár
f850d36c52
dos/com & dos/sys: use the new ElfLinker features
2006-07-01 00:21:06 +02:00
László Molnár
bfc2fab33f
use "//" instead of "#" for comments
2006-07-01 00:01:35 +02:00
John Reiser
ec9d6c4fd2
workaround linux bug which demands writeable PT_LOAD for .bss
2006-06-29 19:07:02 -07:00
John Reiser
6135d61e3d
*-fold.h depends on *.lds
2006-06-29 17:01:38 -07:00
Markus F.X.J. Oberhumer
a4b8dc18c1
Strip unneeded symbols and sections from i086-* stubs.
2006-06-29 19:09:16 +02:00
László Molnár
b33718180c
ElfLinkerX86 introduced.
...
Simple alignment handling added to ElfLinker.
dos/exe device drivers can be compressed again.
2006-06-29 18:21:01 +02:00
László Molnár
20bf214d6e
dos/com & dos/sys: xchg si,di vs. xchg di,si difference fixed. i086-dos16.com.h rebuilt
2006-06-29 14:27:25 +02:00
László Molnár
0dc03214c5
merge
2006-06-29 11:51:47 +02:00
Markus F.X.J. Oberhumer
c7bf0b6ddd
Removed trailing whitespace.
2006-06-29 05:12:39 +02:00
Markus F.X.J. Oberhumer
c360806f47
Small Makefile updates.
2006-06-29 04:16:58 +02:00
Markus F.X.J. Oberhumer
7b74b73b08
Start using binutils-multiarch-2.17.
2006-06-29 01:52:05 +02:00
László Molnár
e9a851c0d4
dos/exe: migrated to ElfLinker
2006-06-29 00:44:12 +02:00
Markus F.X.J. Oberhumer
b13b169149
Fixed assembly for binutils-2.16.91.
2006-06-29 00:38:12 +02:00
László Molnár
455329a745
dos/sys: got rid of the "next" symbol
2006-06-29 00:28:47 +02:00
László Molnár
3c87e6b270
merge
2006-06-28 15:10:01 +02:00
László Molnár
6d8afec510
ElfLinker started. Dos/com & dos/sys formats converted
2006-06-28 14:45:58 +02:00
John Reiser
29387f1fcf
lzma Elf i386 minor tuning
2006-06-27 09:53:28 -07:00
John Reiser
58e885c052
un-debug
2006-06-26 17:21:45 -07:00
John Reiser
984dfcd7e1
adapt to new 2-byte replacement for LzmaDecodeProperties()
2006-06-26 17:16:45 -07:00
Markus F.X.J. Oberhumer
3785479086
Use custom encoding for LZMA properties.
2006-06-26 17:28:46 +02:00
John Reiser
87e72c28a4
no PROT_WRITE for .text on i386-linux.elf.shell
2006-06-25 06:05:53 -07:00
John Reiser
4dee357362
optimize PackLinuxI386::buildLinuxLoader
2006-06-25 05:56:36 -07:00
John Reiser
431f4b9b0d
fix i386-linux.elf.shell
2006-06-25 05:44:39 -07:00
John Reiser
dd5b7825d5
save 4 bytes in __LZMA_ELF00__
2006-06-24 16:48:43 -07:00
John Reiser
02bc48925a
lzma ELF minimal CLzmaDecoderState each time
2006-06-24 14:44:40 -07:00
John Reiser
4eb505755e
lzma for ELF
2006-06-24 14:00:41 -07:00
László Molnár
392f283d9e
added some comments
2006-06-22 15:54:25 +02:00
László Molnár
8020c52c48
merge
2006-06-22 15:04:39 +02:00
László Molnár
3f566e541d
djgpp2: lzma seems to work
2006-06-22 15:00:15 +02:00
Markus F.X.J. Oberhumer
f3a47c7e70
Add more lzma_d.ash includes.
2006-06-22 14:07:23 +02:00
Markus F.X.J. Oberhumer
7dbc1d894b
Add default defines like -Dstub_i386_dos32_djgpp2=1 to nasm.
2006-06-21 21:31:20 +02:00
Markus F.X.J. Oberhumer
5720445d15
Use ebx for state pointer. Decrease local stack size.
2006-06-21 14:34:23 +02:00
Markus F.X.J. Oberhumer
efadb8fd31
More lzma stubs.
2006-06-19 23:19:34 +02:00
Markus F.X.J. Oberhumer
a19d06561b
Added amd64 implementations of lzma.
2006-06-19 22:33:18 +02:00
Markus F.X.J. Oberhumer
0b685d11c9
More lzma updates - win32/pe + lzma seems to work.
2006-06-19 22:08:06 +02:00
Markus F.X.J. Oberhumer
bf5cbfffc2
Start major refactoring.
2006-06-19 19:20:50 +02:00
Markus F.X.J. Oberhumer
c42fb54bc6
Assorted cleanups.
2006-06-17 18:54:11 +02:00
Markus F.X.J. Oberhumer
9382b68781
Fix srcdir for VPATH build.
2006-06-16 20:08:21 +02:00
Markus F.X.J. Oberhumer
1c762f23d0
Simplify stub/Makefile.
2006-06-16 15:51:59 +02:00
Markus F.X.J. Oberhumer
db43910288
Enter 2006.
2006-06-16 15:17:29 +02:00
Markus F.X.J. Oberhumer
f248c0460e
Use -mcpu=405 for powerpc stubs. Also run sstrip on powerpc-linux.elf-fold.
2006-06-16 14:36:13 +02:00
Markus F.X.J. Oberhumer
7817e88d03
Updated stub/Makefile.
2006-06-16 13:26:36 +02:00
Markus F.X.J. Oberhumer
88e3cb3be1
Stub: remove files again which seem to have been brought back by some merge.
2006-06-16 12:31:14 +02:00
John Reiser
299dcf6686
Merge
2006-06-15 12:21:01 -07:00
Markus F.X.J. Oberhumer
27f9ae5bbb
Small cleanups.
2006-06-15 19:59:30 +02:00
Markus F.X.J. Oberhumer
9cb3a853f1
Added option --MMD= to gpp_inc.py for automated dependencies.
2006-06-15 19:03:18 +02:00
Markus F.X.J. Oberhumer
95c8ef4148
Added a number of convenience Makefiles.
2006-06-15 18:07:23 +02:00
Markus F.X.J. Oberhumer
a41bb52014
Updated comments.
2006-06-15 18:03:24 +02:00
Markus F.X.J. Oberhumer
2dfc0a58ab
Renamed src/stub/util/ to src/stub/tools/ .
2006-06-15 17:56:57 +02:00
Markus F.X.J. Oberhumer
1e0c38b5f9
Renamed i386-linux-sstrip to sstrip.
2006-06-15 08:41:33 +02:00
Markus F.X.J. Oberhumer
d3323d6550
Major refactoring of src/stub directory.
2006-06-15 08:17:50 +02:00
Markus F.X.J. Oberhumer
72906cdc6a
Removed all files from src/stub directory.
2006-06-14 17:37:59 +02:00
Markus F.X.J. Oberhumer
fba4375be0
Cleanups.
2006-06-14 17:06:33 +02:00
Markus F.X.J. Oberhumer
7daf63fd3f
Merge.
2006-06-14 11:48:44 +02:00
John Reiser
1af5820db0
hack printf()
2006-06-13 08:24:38 -07:00
John Reiser
c117491549
arm-9tdmi-linux-gnu-gcc is gcc-3.4.5-glibc-2.3.6; old was gcc-3.4.1-glibc-2.3.3
2006-06-12 11:05:52 -07:00
Markus F.X.J. Oberhumer
869fb8e327
Merge.
2006-06-11 00:01:56 +02:00
John Reiser
fbbc3024d6
Linux ARM cacheflush
2006-06-10 14:41:50 -07:00
Markus F.X.J. Oberhumer
54340ab4bf
Renamed environment variable UCLDIR to UPX_UCLDIR.
2006-06-09 15:22:42 +02:00
John Reiser
57a6d2abf9
Merge
2006-06-08 20:51:59 -07:00
John Reiser
d6246941ac
fix f_unfilter 0x50
2006-06-08 20:48:43 -07:00
Markus F.X.J. Oberhumer
ee9f8c184b
Small updates.
2006-06-06 19:07:38 +02:00
John Reiser
1f18050930
elf32arm escape hatch: avoid Elf32_Ehdr if possible
2006-06-02 08:51:02 -07:00
John Reiser
537b78d564
fix elf32arm unmapping hatch
2006-06-01 22:48:52 -07:00
John Reiser
717fd57ce1
remember b_info for Elf headers; also: escape hatch
2006-06-01 12:00:05 -07:00
John Reiser
3fb7786868
[re-]comment-out debugging 'int3'
2006-06-01 11:12:30 -07:00
John Reiser
5326260a76
new elf32arm; small effects in elf86, linux.hh
2006-06-01 06:32:33 -07:00
John Reiser
60b4cca5e5
use powerpc-750-linux-gnu/gcc-3.4.3.20050210-glibc-2.2.5
2006-05-22 13:14:54 -07:00
John Reiser
d2718e99a4
Change class PackLinuxI386elf : public PackLinuxI386
...
into class PackLinuxElf32x86 : public PackLinuxElf32Le : public PackLinuxElf32
which makes the code for compressing ELF (for direct-to-memory decompression)
cleaner because ELF has some of the class tree to itself.
This assumes PROT_EXEC|PROT_WRITE ought to work.
This is checked at runtime, and if it fails then
give a message on stderr and exit(127).
Modify --force-execve so that runtime avoids PROT_EXEC|PROT_WRITE.
Then executables compressed with --force-execve will run under
PaX, grSecurity, and strict SELinux.
2006-05-21 13:58:24 -07:00
John Reiser
69a00c0ab3
*BSD requires -1==fd for MAP_ANONYMOUS
...
stub/l_lx_exec.c stub/l_lx_sh.c stub/l_lx_sh86.asm
2006-05-21 13:45:57 -07:00
László Molnár
7a00c12065
arm/pe: minor cleanup in the thumb mode stub
2006-05-18 15:18:50 +02:00
László Molnár
af71e67681
arm/pe: saved 4 bytes in the arm mode stub
2006-05-18 15:18:36 +02:00
László Molnár
bd1014abb6
dos/exe: saved some bytes in device driver mode
2006-05-18 15:17:53 +02:00
Markus F.X.J. Oberhumer
0ece50c122
Removed .cvsignore and .gitignore files.
2006-05-18 09:02:00 +02:00
Markus F.X.J. Oberhumer
9fb4af8658
Updated Makefile.
...
committer: mfx <mfx> 1147081156 +0000
2006-05-08 09:39:16 +00:00
László Molnár
9bb6ba9311
dos/exe: device driver support added (thanks Michael Devore)
...
committer: ml1050 <ml1050> 1147078121 +0000
2006-05-08 08:48:41 +00:00
László Molnár
596827a912
remove obsolete files: l_armpe.asm l_armpe.h l_armpe_c.c l_armpe_s.S
...
committer: ml1050 <ml1050> 1146763209 +0000
2006-05-04 17:20:09 +00:00
László Molnár
89b4292445
saved 2 bytes
...
committer: ml1050 <ml1050> 1146763076 +0000
2006-05-04 17:17:56 +00:00
László Molnár
dd88737414
it works on wince now (only with dlls)
...
committer: ml1050 <ml1050> 1146763013 +0000
2006-05-04 17:16:53 +00:00
László Molnár
1e66096ea7
arm/pe stubs: the import address table is moved to the stub
...
committer: ml1050 <ml1050> 1146646915 +0000
2006-05-03 09:01:55 +00:00
John Reiser
2b6ae3908c
/usr/bin/dyld can be a "fat binary" [how stupid!]
...
m_mac_mach32.c fold_machppc32.S fold_machppc32.h
committer: jreiser <jreiser> 1146434013 +0000
2006-04-30 21:53:33 +00:00
László Molnár
1924612479
a small fix for the thumb stub
...
committer: ml1050 <ml1050> 1146224685 +0000
2006-04-28 11:44:45 +00:00
László Molnár
2af5bdeaab
added some debugging code
...
committer: ml1050 <ml1050> 1146154452 +0000
2006-04-27 16:14:12 +00:00
László Molnár
b28565b38d
new files: l_armpea.h l_armpet.h
...
committer: ml1050 <ml1050> 1146154411 +0000
2006-04-27 16:13:31 +00:00
László Molnár
6753c5f45a
trying to implement the user space loader on native wince
...
committer: ml1050 <ml1050> 1146152386 +0000
2006-04-27 15:39:46 +00:00
Markus F.X.J. Oberhumer
e6274904a7
Rebuilt using i386-linux-ld-2.16.1 and i386-linux-objcopy-2.16.1.
...
committer: mfx <mfx> 1146079399 +0000
2006-04-26 19:23:19 +00:00
Markus F.X.J. Oberhumer
3677395444
Add version suffix to the binutils we use. Prefix all linux/386 tools
...
with i386-linux-.
committer: mfx <mfx> 1146079325 +0000
2006-04-26 19:22:05 +00:00
László Molnár
22ba35b3b5
new arm/pe assembly with UPX linker support
...
committer: ml1050 <ml1050> 1145955479 +0000
2006-04-25 08:57:59 +00:00
Markus F.X.J. Oberhumer
9c1ab9979b
Split "$Id" strings so that CVS does not interfere. Explicitlty
...
use ".p2align" and ".balign" instead of ".align".
committer: mfx <mfx> 1145864788 +0000
2006-04-24 07:46:28 +00:00
John Reiser
eaa463e1c9
Insert copyright notice (equivalent to ident_s.ash) into stub by hand
...
because buildLoader is not fully working yet
l_lx_elf64amd.S l_lx_elfppc32.S l_mac_ppc32.S
committer: jreiser <jreiser> 1145825498 +0000
2006-04-23 20:51:38 +00:00
John Reiser
6984be48c3
build sync: compile using crosstool gcc-3.4.3.20050507-glibc-2.3.5
...
committer: jreiser <jreiser> 1145820281 +0000
2006-04-23 19:24:41 +00:00
John Reiser
b739bd3d79
Work better with SELinux. We still require allow_execmem.
...
p_lx_elf.cpp
stub/fold_elfppc32.h
stub/l_lx_elfppc32.h
stub/l_lx_elfppc32.S
stub/m_lx_elfppc32.c
committer: jreiser <jreiser> 1145666524 +0000
2006-04-22 00:42:04 +00:00
John Reiser
23f3e4396c
For elf64and and elfppc32: -fno-exceptions -fno-asynchronous-unwind-tables
...
committer: jreiser <jreiser> 1145666377 +0000
2006-04-22 00:39:37 +00:00