ELF2 main programs pass src/testsuite and upx-testsuite-v2

Decompressing lzma required many adjustments.
Backwards compatibility probably is broken for
    stub/amd64-win64.pe.h
    stub/arm64-win64.pe.h
Also: shared libraries need memfd_create.
	modified:   ../misc/testsuite/upx_testsuite_1-expected_sha256sums.sh
	modified:   p_lx_elf.cpp
	modified:   stub/Makefile
	modified:   stub/scripts/xstrip.py
	modified:   stub/src/amd64-expand.S
	modified:   stub/src/arch/amd64/lzma_d.S
	modified:   stub/src/arch/arm/v4a/lzma_d.S
	modified:   stub/src/arch/arm/v4t/macros.S
	modified:   stub/src/arch/arm64/v8/lzma_d.S
	modified:   stub/src/arch/powerpc/32/lzma_d.S
	modified:   stub/src/arch/powerpc/64le/lzma_d-common.S
	modified:   stub/src/arm.v4a-expand.S
	modified:   stub/src/arm.v4t-linux.shlib-init.S
	modified:   stub/src/arm64-expand.S
	modified:   stub/src/i386-expand.S
	modified:   stub/src/mips.r3000-expand.S
	modified:   stub/src/powerpc-expand.S
	modified:   stub/src/powerpc-linux.elf-entry.S
	modified:   stub/src/powerpc-linux.elf-fold.S
	modified:   stub/src/powerpc64-expand.S
	modified:   stub/src/powerpc64-linux.elf-entry.S
	modified:   stub/src/powerpc64-linux.elf-fold.S
           plus generated *.h *.map *.dump
This commit is contained in:
John Reiser
2024-07-25 13:36:02 -07:00
parent e6f3c1b3da
commit ea2a190bd1
87 changed files with 29531 additions and 30001 deletions
+15 -12
View File
@@ -56,23 +56,26 @@ SYSCALLS 0x0000000000000000 0xc0
.note.GNU-stack
0x0000000000000000 0x0 tmp/i386-linux.elf-upxfd_android.o
EXP_HEAD 0x0000000000000000 0xf3
EXP_HEAD 0x0000000000000000 0xf3 tmp/i386-expand.o
0x0000000000000057 f_expand
0x0000000000000087 __clear_cache
EXP_HEAD 0x0000000000000000 0xfc
EXP_HEAD 0x0000000000000000 0xfc tmp/i386-expand.o
0x0000000000000060 f_expand
0x0000000000000090 __clear_cache
EXP_TAIL 0x0000000000000000 0xb
EXP_TAIL 0x0000000000000000 0xb tmp/i386-expand.o
EXP_TAIL 0x0000000000000000 0xd
EXP_TAIL 0x0000000000000000 0xd tmp/i386-expand.o
NRV2E 0x0000000000000000 0xd2
NRV2E 0x0000000000000000 0xd2 tmp/i386-expand.o
NRV2E 0x0000000000000000 0xd0
NRV2E 0x0000000000000000 0xd0 tmp/i386-expand.o
NRV2D 0x0000000000000000 0xc5
NRV2D 0x0000000000000000 0xc5 tmp/i386-expand.o
NRV2D 0x0000000000000000 0xc3
NRV2D 0x0000000000000000 0xc3 tmp/i386-expand.o
NRV2B 0x0000000000000000 0xb0
NRV2B 0x0000000000000000 0xb0 tmp/i386-expand.o
LZMA_DAISY 0x0000000000000000 0x9
LZMA_DAISY 0x0000000000000000 0x9 tmp/i386-expand.o
LZMA_DEC00 0x0000000000000000 0x2e
LZMA_DEC00 0x0000000000000000 0x2e tmp/i386-expand.o
@@ -85,5 +88,5 @@ LZMA_DEC10 0x0000000000000000 0xa86
LZMA_DEC20 0x0000000000000000 0xa86
LZMA_DEC20 0x0000000000000000 0xa86 tmp/i386-expand.o
LZMA_DEC30 0x0000000000000000 0x1a
LZMA_DEC30 0x0000000000000000 0x1a tmp/i386-expand.o
LZMA_DEC30 0x0000000000000000 0x1f
LZMA_DEC30 0x0000000000000000 0x1f tmp/i386-expand.o