John Reiser
5de83a606e
Cleanup after Thierry Fauck changes for ppc64le.
...
We need a "UPX standard" compiler in order to re-compile the stubs for ppc64le;
meanwhile use Thierry's "pre-compiled" stubs.
Revert powerpc stubs to those produced by UPX standard powerpc.405-linux-gcc-3.4.5.
Cleanup the workarounds that Thierry used because he lacked upx-stubtools 20130920.
ARMv8 (64-bit) compiles but is incomplete and does not run yet.
changed src/Makefile
changed src/linker.cpp
changed src/stub/Makefile
changed src/stub/amd64-linux.elf-entry.h
changed src/stub/arm64-darwin.macho-entry.h
changed src/stub/arm64-darwin.macho-fold.h
changed src/stub/powerpc-darwin.dylib-entry.h
changed src/stub/powerpc-darwin.macho-entry.h
changed src/stub/powerpc-darwin.macho-fold.h
changed src/stub/powerpc-linux.elf-entry.h
changed src/stub/powerpc-linux.elf-fold.h
changed src/stub/powerpc-linux.kernel.vmlinux.h
changed src/stub/scripts/xstrip.py
changed src/stub/src/arch/arm/v8a/lzma_d.S
changed src/stub/src/arch/arm/v8a/macros.S
changed src/stub/src/arm64-darwin.macho-entry.S
changed src/stub/tmp/arm64-darwin.macho-entry.bin.dump
2016-07-26 21:29:29 -07:00
John Reiser
01a0c8672d
changeset: 2451:4e2a6c33d5fb
...
tag: ppc64le
user: Thierry Fauck <tfauck@free.fr>
date: Wed Jun 22 08:25:13 2016 -0400
summary: Add support for ppc64le statically linked binaries
2016-07-26 17:00:25 -07:00
John Reiser
fa522c0ffc
Hacking convert v4a/lzma_d-arm.S from 32-bit to 64-bit
2016-02-14 21:26:37 -08:00
John Reiser
16241d010f
PUSH+POP now in macros.S
2016-02-14 21:25:28 -08:00
John Reiser
bd7ef27628
ARM64LE begins implementation
...
added src/stub/arm64-darwin.macho-entry.h
added src/stub/arm64-darwin.macho-fold.h
added src/stub/src/arch/arm/v8a/lzma_d.S
added src/stub/src/arch/arm/v8a/macros.S
added src/stub/src/arch/arm/v8a/nrv2b_d8.S
added src/stub/src/arch/arm/v8a/nrv2d_d8.S
added src/stub/src/arch/arm/v8a/nrv2e_d32.S
added src/stub/src/arch/arm/v8a/nrv2e_d8.S
added src/stub/src/arm64-darwin.macho-entry.S
added src/stub/src/arm64-darwin.macho-fold.S
added src/stub/src/arm64-darwin.macho-main.c
added src/stub/src/arm64-linux.elf-entry.S
added src/stub/src/arm64-linux.elf-fold.S
added src/stub/tmp/arm64-darwin.macho-entry.bin.dump
changed src/p_mach.cpp
changed src/p_mach.h
changed src/stub/Makefile
2016-01-31 20:09:38 -08:00
John Reiser
b89c3ebb42
LZMA version 15.05
2015-08-03 22:36:16 -07:00
Markus F.X.J. Oberhumer
c37f582c10
Merge.
2015-01-04 11:11:05 +01:00
John Reiser
6272fb3822
ARM --lzma && is_big: stub mmap must allow for cpr0.sz_unc [How did this ever work before?]
2015-01-02 17:36:26 -08:00
Markus F.X.J. Oberhumer
fb611a98f9
Welcome 2015.
2015-01-03 00:24:07 +01:00
László Molnár
424cd497d3
pe64: saved a few bytes in the nrv decompressors
2014-03-18 23:35:30 +01:00
László Molnár
6520f2061e
arm/pe: thumb mode stub hopefully fixed
2014-03-10 21:44:23 +01:00
László Molnár
5d93f86b4b
armpe_tester: better import handling
2014-03-10 21:42:11 +01:00
László Molnár
56de770682
armpe_tester now works on android
2014-03-09 23:42:41 +01:00
László Molnár
940341bc9d
arm/pe: import handling updates (untested)
2014-03-08 18:59:26 +01:00
László Molnár
804a0ce601
merge
2014-03-06 22:38:15 +01:00
László Molnár
129cb0b3cd
pe: packing of pe64 starts to work again
2014-03-04 23:51:59 +01:00
Markus F.X.J. Oberhumer
f0eb171b2a
Strip trailing whitespace.
2014-01-07 23:09:11 +01:00
Markus F.X.J. Oberhumer
a26c982e93
Welcome 2014.
2014-01-07 23:05:10 +01:00
Markus F.X.J. Oberhumer
bf6ecaeeb9
stub: minor cosmetic cleanups.
2013-12-02 19:37:28 +01:00
John Reiser
cd3132667a
ARM shlib escape hatch moves to just beyond .text.
...
https://sourceforge.net/p/upx/bugs/223/
2013-11-22 19:26:19 -08:00
John Reiser
1c459a7bea
Sync stubs.
2013-11-16 14:29:52 -08:00
John Reiser
4f0bfeab4c
Round down unfilter length to a multiple of 4.
...
https://sourceforge.net/p/upx/bugs/223
2013-11-16 14:28:59 -08:00
John Reiser
45d2adeb9c
Android < 4.1 (kernel < 3.0.31) often has PT_INTERP of /system/bin/linker
...
with bad PT_LOAD[0]. https://sourceforge.net/p/upx/bugs/221
2013-10-21 07:27:53 -07:00
John Reiser
13090d1219
ARM close /proc/self/exe after mmap
2013-10-06 19:56:14 -07:00
John Reiser
583cd078dc
ARM elf-fold: preserve /proc/self/exe by mmap of one page into stack
2013-10-06 13:22:05 -07:00
László Molnár
aa2ac1bbb8
pe: ImportLinker introduced
2013-10-04 22:48:21 +02:00
John Reiser
9d0f9e967f
Avoid stmdb with write-back register in stored list,
...
even when stored value is don't care.
2013-09-21 09:52:21 -07:00
John Reiser
d7609088e5
Silence "warning: cannot find entry symbol _start"
2013-09-21 08:39:15 -07:00
Markus F.X.J. Oberhumer
b2643b6926
Start using the new intergral type names.
2013-09-20 08:19:18 +02:00
Markus F.X.J. Oberhumer
7d8ae6b4b1
Make amd64-win64.pep.S compile with current upx stubtools.
2013-09-20 07:08:09 +02:00
Markus F.X.J. Oberhumer
312d4cccaf
stub: start using stubtools bin-upx-20130920.
2013-09-20 06:59:27 +02:00
Markus F.X.J. Oberhumer
ce5f9f95ea
stub: fix i386 syntax for current gas versions, and add some explicit
...
alignments at the end of the file so that we do not depend on gas defaults.
2013-09-20 06:15:46 +02:00
Markus F.X.J. Oberhumer
d9bf8a76d9
Protect against changes from future gas versions in amd64-linux.elf-entry.S.
2013-09-20 05:22:05 +02:00
Markus F.X.J. Oberhumer
f7a35fb9fe
stub: save 1 byte in amd64-darwin.{dylib,macho}-entry.S.
2013-09-20 04:20:23 +02:00
Markus F.X.J. Oberhumer
3ba691ded5
Remove trailing whitespace.
2013-09-20 03:25:59 +02:00
Markus F.X.J. Oberhumer
7a7277d56f
Use correct "movzwl" opcode in src/stub/src/arch/i386/macros.S.
2013-09-20 03:18:19 +02:00
László Molnár
9da09b51ed
win64/pe: tls callback assembly improvements + misc cleanups
2013-08-28 21:53:23 +02:00
László Molnár
86392f197f
win64/pe: lzma support added
2013-08-28 00:24:54 +02:00
László Molnár
1c13046297
win64/pe: added nrv2b and nrv2d support
2013-08-27 22:06:52 +02:00
László Molnár
fbc756b531
win64/pe: filter support added
2013-08-27 21:22:21 +02:00
László Molnár
6c64b06453
win64/pe: uncompression seems to work; tls handling improvement
2013-08-26 22:07:55 +02:00
László Molnár
241834029a
64 relocation handling added; basic DLL support works
2013-08-25 23:54:13 +02:00
László Molnár
5b8a9c0b47
basic win64 PE support added
2013-08-22 22:01:09 +02:00
John Reiser
2b42acf7b8
ARM heuristic dcache flush by sweeping 1/2 MB
2013-06-10 14:20:59 -07:00
John Reiser
f65b80ed42
ARM remember readlink("/proc/self/exe",) as environment variable " =" (3 spaces)
2013-06-09 20:33:59 -07:00
John Reiser
e84abbdc82
ARM __clear_cache() has bugs
...
Linux hostname 3.0.8-482645-user #1 SMP PREEMPT Mon Apr 30 19:43:45 KST 2012 armv7l GNU/Linux
Processor : ARMv7 Processor rev 3 (v7l)
processor : 0
BogoMIPS : 597.12
processor : 1
BogoMIPS : 597.12
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x1
CPU part : 0xc09
CPU revision : 3
Hardware : Espresso10
Revision : 000a
2013-06-09 13:03:06 -07:00
John Reiser
36c0928483
ARM __clear_cache() on escape hatch; http://sourceforge.net/p/upx/bugs/214/
2013-06-07 07:08:03 -07:00
John Reiser
9237e15adc
Fix ARM compress shared library.
2013-05-10 16:20:52 -07:00
John Reiser
9c9fb6a485
DEBUG-only bug in decimal()
2013-02-15 16:35:45 -08:00
John Reiser
5438a4837b
more AT_PHDR trouble
2013-02-15 16:32:51 -08:00