PowerPC cannot branch on CArry; requires contortions

https://github.com/upx/upx/issues/813
	modified:   src/stub/src/arch/powerpc/32/nrv2b_d.S
	modified:   misc/testsuite/upx_testsuite_1-expected_sha256sums.sh

	modified:   src/stub/powerpc-darwin.dylib-entry.h
	modified:   src/stub/powerpc-darwin.macho-entry.h
	modified:   src/stub/powerpc-linux.elf-entry.h
	modified:   src/stub/powerpc-linux.kernel.vmlinux.h
	modified:   src/stub/src/i386-linux.elf-main.c
	modified:   src/stub/tmp/powerpc-darwin.dylib-entry.bin.dump
	modified:   src/stub/tmp/powerpc-darwin.macho-entry.bin.dump
	modified:   src/stub/tmp/powerpc-linux.elf-entry.bin.dump
	modified:   src/stub/tmp/powerpc-linux.kernel.vmlinux.bin.dump
This commit is contained in:
John Reiser
2024-04-23 17:40:07 -07:00
parent 842d2cbb0d
commit 6db0af8d04
11 changed files with 2022 additions and 2023 deletions
+12 -12
View File
@@ -6,17 +6,17 @@ Idx Name Size VMA LMA File off Algn Flags
1 LINUX010 08 0 0 03c 2**0 CONTENTS
2 LINUX020 064 0 0 044 2**0 CONTENTS
3 LINUX030 0 0 0 0a8 2**0 CONTENTS
4 NRV2B 0f0 0 0 0a8 2**0 CONTENTS
5 NRV2D 012c 0 0 0198 2**0 CONTENTS
6 NRV2E 0148 0 0 02c4 2**0 CONTENTS
7 NRV_TAIL 01c 0 0 040c 2**0 CONTENTS
8 CFLUSH 024 0 0 0428 2**0 CONTENTS
9 LZMA 0 0 0 044c 2**0 CONTENTS
10 LZMA_ELF00 090 0 0 044c 2**0 CONTENTS
11 LZMA_DEC10 099c 0 0 04dc 2**0 CONTENTS
12 LZMA_DEC20 099c 0 0 0e78 2**0 CONTENTS
13 LZMA_DEC30 024 0 0 01814 2**0 CONTENTS
14 UPX1HEAD 020 0 0 01838 2**0 CONTENTS
4 NRV2B 0f4 0 0 0a8 2**0 CONTENTS
5 NRV2D 012c 0 0 019c 2**0 CONTENTS
6 NRV2E 0148 0 0 02c8 2**0 CONTENTS
7 NRV_TAIL 01c 0 0 0410 2**0 CONTENTS
8 CFLUSH 024 0 0 042c 2**0 CONTENTS
9 LZMA 0 0 0 0450 2**0 CONTENTS
10 LZMA_ELF00 090 0 0 0450 2**0 CONTENTS
11 LZMA_DEC10 099c 0 0 04e0 2**0 CONTENTS
12 LZMA_DEC20 099c 0 0 0e7c 2**0 CONTENTS
13 LZMA_DEC30 024 0 0 01818 2**0 CONTENTS
14 UPX1HEAD 020 0 0 0183c 2**0 CONTENTS
SYMBOL TABLE:
00000000 l d LINUX020 0 LINUX020
00000000 l d LINUX030 0 LINUX030
@@ -48,7 +48,7 @@ OFFSET TYPE VALUE
RELOCATION RECORDS FOR [NRV2B]:
OFFSET TYPE VALUE
00000090 R_PPC_REL14 NRV_TAIL
00000094 R_PPC_REL14 NRV_TAIL
RELOCATION RECORDS FOR [NRV2D]:
OFFSET TYPE VALUE