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
+6 -10
View File
@@ -7,13 +7,12 @@ Idx Name Size VMA LMA File off Algn
2 NRV2D 0170 0 0 0184 2**0 CONTENTS
3 NRV2E 017c 0 0 02f4 2**0 CONTENTS
4 LZMA_HEAD 0 0 0 0470 2**0 CONTENTS
5 LZMA_ELF00 010c 0 0 0470 2**0 CONTENTS
6 LZMA_DEC20 0968 0 0 057c 2**0 CONTENTS
7 LZMA_DEC10 04a0 0 0 0ee4 2**0 CONTENTS
8 LZMA_DEC30 0 0 0 01384 2**0 CONTENTS
9 LZMA_TAIL 0 0 0 01384 2**0 CONTENTS
5 LZMA_ELF00 0104 0 0 0470 2**0 CONTENTS
6 LZMA_DEC20 0968 0 0 0574 2**0 CONTENTS
7 LZMA_DEC10 04a0 0 0 0edc 2**0 CONTENTS
8 LZMA_DEC30 0 0 0 0137c 2**0 CONTENTS
9 LZMA_TAIL 0 0 0 0137c 2**0 CONTENTS
SYMBOL TABLE:
0000000000000000 l d LZMA_DEC30 0 LZMA_DEC30
0000000000000000 l d NRV_HEAD 0 NRV_HEAD
0000000000000000 l d NRV2B 0 NRV2B
0000000000000000 l d NRV2D 0 NRV2D
@@ -22,12 +21,9 @@ SYMBOL TABLE:
0000000000000000 l d LZMA_ELF00 0 LZMA_ELF00
0000000000000000 l d LZMA_DEC20 0 LZMA_DEC20
0000000000000000 l d LZMA_DEC10 0 LZMA_DEC10
0000000000000000 l d LZMA_DEC30 0 LZMA_DEC30
0000000000000000 l d LZMA_TAIL 0 LZMA_TAIL
0000000000000000 g F NRV2B 0144 ucl_nrv2b_decompress_32
0000000000000000 g F NRV2D 0170 ucl_nrv2d_decompress_32
0000000000000000 g F NRV2E 017c ucl_nrv2e_decompress_32
0000000000000000 g LZMA_DEC10 0 LzmaDecode
RELOCATION RECORDS FOR [LZMA_ELF00]:
OFFSET TYPE VALUE
0000000000000004 R_AARCH64_CONDBR19 LZMA_DEC30