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
This commit is contained in:
John Reiser
2016-07-26 21:29:29 -07:00
parent 01a0c8672d
commit 5de83a606e
17 changed files with 801 additions and 758 deletions
+16 -3
View File
@@ -7,10 +7,15 @@ Idx Name Size VMA LMA File off Algn
2 NRV2E 0000013c 0000000000000000 0000000000000000 00000084 2**2 CONTENTS, READONLY
3 NRV2D 00000130 0000000000000000 0000000000000000 000001c0 2**2 CONTENTS, READONLY
4 NRV2B 00000108 0000000000000000 0000000000000000 000002f0 2**2 CONTENTS, READONLY
5 NRV_TAIL 00000680 0000000000000000 0000000000000000 000003f8 2**2 CONTENTS, READONLY
6 MACHMAINY 00000000 0000000000000000 0000000000000000 00000a78 2**0 CONTENTS, READONLY
7 MACHMAINZ 00000058 0000000000000000 0000000000000000 00000a78 2**2 CONTENTS, READONLY
5 NRV_TAIL 00000000 0000000000000000 0000000000000000 000003f8 2**0 CONTENTS, READONLY
6 LZMA_ELF00 000000c0 0000000000000000 0000000000000000 000003f8 2**2 CONTENTS, RELOC, READONLY
7 LZMA_DEC20 00000000 0000000000000000 0000000000000000 000004b8 2**0 CONTENTS, READONLY
8 LZMA_DEC10 0000049c 0000000000000000 0000000000000000 000004b8 2**2 CONTENTS, READONLY
9 LZMA_DEC30 00000000 0000000000000000 0000000000000000 00000954 2**0 CONTENTS, READONLY
10 MACHMAINY 00000000 0000000000000000 0000000000000000 00000954 2**0 CONTENTS, READONLY
11 MACHMAINZ 00000058 0000000000000000 0000000000000000 00000954 2**2 CONTENTS, READONLY
SYMBOL TABLE:
0000000000000000 l d LZMA_DEC30 0000000000000000 LZMA_DEC30
0000000000000000 l d MACHMAINZ 0000000000000000 MACHMAINZ
0000000000000000 l d MACHMAINX 0000000000000000 MACHMAINX
0000000000000000 l d NRV_HEAD 0000000000000000 NRV_HEAD
@@ -18,13 +23,21 @@ SYMBOL TABLE:
0000000000000000 l d NRV2D 0000000000000000 NRV2D
0000000000000000 l d NRV2B 0000000000000000 NRV2B
0000000000000000 l d NRV_TAIL 0000000000000000 NRV_TAIL
0000000000000000 l d LZMA_ELF00 0000000000000000 LZMA_ELF00
0000000000000000 l d LZMA_DEC20 0000000000000000 LZMA_DEC20
0000000000000000 l d LZMA_DEC10 0000000000000000 LZMA_DEC10
0000000000000000 l d MACHMAINY 0000000000000000 MACHMAINY
0000000000000000 g MACHMAINX 0000000000000000 _start
0000000000000000 g F NRV2E 000000000000013c ucl_nrv2e_decompress_8
0000000000000000 g F NRV2D 0000000000000130 ucl_nrv2d_decompress_8
0000000000000000 g F NRV2B 0000000000000108 ucl_nrv2b_decompress_8
0000000000000000 g LZMA_DEC10 0000000000000000 LzmaDecode
0000000000000000 g MACHMAINY 0000000000000000 end_decompress
RELOCATION RECORDS FOR [MACHMAINX]:
OFFSET TYPE VALUE
0000000000000040 R_AARCH64_CALL26 MACHMAINZ+0x0000000000000050
RELOCATION RECORDS FOR [LZMA_ELF00]:
OFFSET TYPE VALUE
0000000000000004 R_AARCH64_CONDBR19 LZMA_DEC30