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
+10 -10
View File
@@ -8,15 +8,15 @@ Idx Name Size VMA LMA File off Algn Flags
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
6 NRV2B 0f4 0 0 0314 2**0 CONTENTS
7 LZMA_ELF00 090 0 0 0408 2**0 CONTENTS
8 LZMA_DEC10 099c 0 0 0498 2**0 CONTENTS
9 LZMA_DEC20 099c 0 0 0e34 2**0 CONTENTS
10 LZMA_DEC30 024 0 0 017d0 2**0 CONTENTS
11 NRV_TAIL 01c 0 0 017f4 2**0 CONTENTS
12 CFLUSH 020 0 0 01810 2**0 CONTENTS
13 MACHMAINY 04 0 0 01830 2**0 CONTENTS
14 MACHMAINZ 058 0 0 01834 2**0 CONTENTS
SYMBOL TABLE:
00000000 l d LZMA_DEC30 0 LZMA_DEC30
00000000 l d NRV_TAIL 0 NRV_TAIL
@@ -49,7 +49,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 [LZMA_ELF00]:
OFFSET TYPE VALUE