amd64-linux revamp for compressing shared libraries

Major changes: p_lx_elf.cpp and stub/src/amd64-linux.elf-so*.
(Includes run-time infrastructure for multiple de-compressors.)
	modified:   linker.cpp
	modified:   p_lx_elf.cpp
	modified:   p_lx_elf.h
	modified:   p_unix.cpp
	modified:   p_unix.h
	modified:   stub/Makefile
	modified:   stub/src/amd64-darwin.dylib-entry.S
	modified:   stub/src/amd64-darwin.macho-entry.S
	new file:   stub/src/amd64-expand.S
	modified:   stub/src/amd64-linux.elf-entry.S
	new file:   stub/src/amd64-linux.elf-so_entry.S
	new file:   stub/src/amd64-linux.elf-so_fold.S
	new file:   stub/src/amd64-linux.elf-so_fold.lds
	new file:   stub/src/amd64-linux.elf-so_main.c
	modified:   stub/src/amd64-linux.shlib-init.S
	modified:   stub/src/amd64-win64.pep.S
	modified:   stub/src/arch/amd64/nrv2b_d.S
	modified:   stub/src/arch/amd64/nrv2d_d.S
	modified:   stub/src/arch/amd64/nrv2e_d.S
           plus many generated stub/*.h and stub/tmp/*.bin.dump
This commit is contained in:
John Reiser
2023-01-09 09:39:25 -08:00
committed by Markus F.X.J. Oberhumer
parent 5f3ebc8a7f
commit 26d8e9c4c5
133 changed files with 42126 additions and 48117 deletions
+31 -31
View File
@@ -2,38 +2,38 @@ file format elf32-powerpc
Sections:
Idx Name Size VMA LMA File off Algn Flags
0 PPC32BXX 00000068 00000000 00000000 00000034 2**0 CONTENTS, READONLY
1 MACMAINX 00000004 00000000 00000000 0000009c 2**0 CONTENTS, RELOC, READONLY
2 MACH_UNC 00000000 00000000 00000000 000000a0 2**0 CONTENTS, READONLY
3 NRV_HEAD 00000000 00000000 00000000 000000a0 2**0 CONTENTS, READONLY
4 NRV2E 00000148 00000000 00000000 000000a0 2**0 CONTENTS, RELOC, READONLY
5 NRV2D 0000012c 00000000 00000000 000001e8 2**0 CONTENTS, RELOC, READONLY
6 NRV2B 000000f0 00000000 00000000 00000314 2**0 CONTENTS, RELOC, READONLY
7 LZMA_ELF00 00000090 00000000 00000000 00000404 2**0 CONTENTS, RELOC, READONLY
8 LZMA_DEC10 0000099c 00000000 00000000 00000494 2**0 CONTENTS, READONLY
9 LZMA_DEC20 0000099c 00000000 00000000 00000e30 2**0 CONTENTS, READONLY
10 LZMA_DEC30 00000024 00000000 00000000 000017cc 2**0 CONTENTS, READONLY
11 NRV_TAIL 0000001c 00000000 00000000 000017f0 2**0 CONTENTS, READONLY
12 CFLUSH 00000020 00000000 00000000 0000180c 2**0 CONTENTS, READONLY
13 MACHMAINY 00000004 00000000 00000000 0000182c 2**0 CONTENTS, READONLY
14 MACHMAINZ 00000058 00000000 00000000 00001830 2**0 CONTENTS, READONLY
0 PPC32BXX 068 0 0 034 2**0 CONTENTS
1 MACMAINX 04 0 0 09c 2**0 CONTENTS
2 MACH_UNC 0 0 0 0a0 2**0 CONTENTS
3 NRV_HEAD 0 0 0 0a0 2**0 CONTENTS
4 NRV2E 0148 0 0 0a0 2**0 CONTENTS
5 NRV2D 012c 0 0 01e8 2**0 CONTENTS
6 NRV2B 0f0 0 0 0314 2**0 CONTENTS
7 LZMA_ELF00 090 0 0 0404 2**0 CONTENTS
8 LZMA_DEC10 099c 0 0 0494 2**0 CONTENTS
9 LZMA_DEC20 099c 0 0 0e30 2**0 CONTENTS
10 LZMA_DEC30 024 0 0 017cc 2**0 CONTENTS
11 NRV_TAIL 01c 0 0 017f0 2**0 CONTENTS
12 CFLUSH 020 0 0 0180c 2**0 CONTENTS
13 MACHMAINY 04 0 0 0182c 2**0 CONTENTS
14 MACHMAINZ 058 0 0 01830 2**0 CONTENTS
SYMBOL TABLE:
00000000 l d LZMA_DEC30 00000000 LZMA_DEC30
00000000 l d NRV_TAIL 00000000 NRV_TAIL
00000000 l d MACHMAINZ 00000000 MACHMAINZ
00000000 l d PPC32BXX 00000000 PPC32BXX
00000000 l d MACMAINX 00000000 MACMAINX
00000000 l d MACH_UNC 00000000 MACH_UNC
00000000 l d NRV_HEAD 00000000 NRV_HEAD
00000000 l d NRV2E 00000000 NRV2E
00000000 l d NRV2D 00000000 NRV2D
00000000 l d NRV2B 00000000 NRV2B
00000000 l d LZMA_ELF00 00000000 LZMA_ELF00
00000000 l d LZMA_DEC10 00000000 LZMA_DEC10
00000000 l d LZMA_DEC20 00000000 LZMA_DEC20
00000000 l d CFLUSH 00000000 CFLUSH
00000000 l d MACHMAINY 00000000 MACHMAINY
00000000 g MACMAINX 00000000 _start
00000000 l d LZMA_DEC30 0 LZMA_DEC30
00000000 l d NRV_TAIL 0 NRV_TAIL
00000000 l d MACHMAINZ 0 MACHMAINZ
00000000 l d PPC32BXX 0 PPC32BXX
00000000 l d MACMAINX 0 MACMAINX
00000000 l d MACH_UNC 0 MACH_UNC
00000000 l d NRV_HEAD 0 NRV_HEAD
00000000 l d NRV2E 0 NRV2E
00000000 l d NRV2D 0 NRV2D
00000000 l d NRV2B 0 NRV2B
00000000 l d LZMA_ELF00 0 LZMA_ELF00
00000000 l d LZMA_DEC10 0 LZMA_DEC10
00000000 l d LZMA_DEC20 0 LZMA_DEC20
00000000 l d CFLUSH 0 CFLUSH
00000000 l d MACHMAINY 0 MACHMAINY
00000000 g MACMAINX 0 _start
RELOCATION RECORDS FOR [MACMAINX]:
OFFSET TYPE VALUE