ea2a190bd1
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
159 lines
10 KiB
C++
Generated
159 lines
10 KiB
C++
Generated
/* powerpc64-linux.elf-entry.h
|
|
created from powerpc64-linux.elf-entry.bin, 1879 (0x757) bytes
|
|
|
|
This file is part of the UPX executable compressor.
|
|
|
|
Copyright (C) 1996-2024 Markus Franz Xaver Johannes Oberhumer
|
|
Copyright (C) 1996-2024 Laszlo Molnar
|
|
Copyright (C) 2000-2024 John F. Reiser
|
|
All Rights Reserved.
|
|
|
|
UPX and the UCL library are free software; you can redistribute them
|
|
and/or modify them under the terms of the GNU General Public License as
|
|
published by the Free Software Foundation; either version 2 of
|
|
the License, or (at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program; see the file COPYING.
|
|
If not, write to the Free Software Foundation, Inc.,
|
|
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
Markus F.X.J. Oberhumer Laszlo Molnar
|
|
<markus@oberhumer.com> <ezerotven+github@gmail.com>
|
|
|
|
John F. Reiser
|
|
<jreiser@users.sourceforge.net>
|
|
*/
|
|
|
|
/* clang-format off */
|
|
|
|
#define STUB_POWERPC64_LINUX_ELF_ENTRY_SIZE 1879
|
|
#define STUB_POWERPC64_LINUX_ELF_ENTRY_ADLER32 0x969e054f
|
|
#define STUB_POWERPC64_LINUX_ELF_ENTRY_CRC32 0x5047614c
|
|
|
|
unsigned char stub_powerpc64_linux_elf_entry[1879] = {
|
|
/* 0x0000 */ 127, 69, 76, 70, 2, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
/* 0x0010 */ 0, 1, 0, 21, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
/* 0x0020 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4,200,
|
|
/* 0x0030 */ 0, 0, 0, 0, 0, 64, 0, 0, 0, 0, 0, 64, 0, 0, 0, 0,
|
|
/* 0x0040 */ 72, 0, 0, 1,124, 0, 41,236,125,168, 2,166, 40, 7, 0, 2,
|
|
/* 0x0050 */ 64,130, 0,236,248,166, 0, 0,124,132, 26, 20, 60, 0,128, 0,
|
|
/* 0x0060 */ 120, 0, 7,198,124, 9, 3,120, 56, 99,255,255, 56,165,255,255,
|
|
/* 0x0070 */ 57, 64,255,255, 72, 0, 0,184,125, 41, 73, 20,121, 41,248, 36,
|
|
/* 0x0080 */ 124, 41, 0, 64,125, 41, 72, 20, 76,226, 0, 32, 57, 32, 0, 1,
|
|
/* 0x0090 */ 125, 41, 28, 44, 56, 99, 0, 4, 75,255,255,224,141, 3, 0, 1,
|
|
/* 0x00a0 */ 157, 5, 0, 1, 75,255,255,221, 65,225,255,244, 56,224, 0, 1,
|
|
/* 0x00b0 */ 75,255,255,209,124,231, 57, 21, 75,255,255,201, 65,192,255,244,
|
|
/* 0x00c0 */ 52,231,255,253, 57, 0, 0, 0, 65,192, 0, 24,141, 99, 0, 1,
|
|
/* 0x00d0 */ 84,231, 64, 46,124,234, 88,248, 85, 75, 0, 63, 65,194, 0, 96,
|
|
/* 0x00e0 */ 75,255,255,161,125, 8, 65, 21, 75,255,255,153,125, 8, 65, 21,
|
|
/* 0x00f0 */ 56,224, 0, 1, 64,194, 0, 28, 56,224, 0, 3, 57, 0, 0, 1,
|
|
/* 0x0100 */ 75,255,255,129,125, 8, 65, 21, 75,255,255,121, 65,192,255,244,
|
|
/* 0x0110 */ 33,106,242,255,125, 8, 57, 20,124,234, 42, 20,125, 9, 3,166,
|
|
/* 0x0120 */ 141, 7, 0, 1,157, 5, 0, 1, 67, 32,255,248, 56,224, 1, 0,
|
|
/* 0x0130 */ 124, 7, 41,236,124, 7, 26, 44, 75,255,255,108,232,230, 0, 0,
|
|
/* 0x0140 */ 125,168, 3,166,124,100, 24, 80,124,135, 40, 80, 56, 99, 0, 1,
|
|
/* 0x0150 */ 56,132, 0, 1,248,134, 0, 0, 96,231, 0, 31,124, 0, 56,108,
|
|
/* 0x0160 */ 124, 39, 40, 64,124, 0, 63,172, 56,231, 0, 32, 65,128,255,240,
|
|
/* 0x0170 */ 124, 0, 4,172, 76, 0, 1, 44, 78,128, 0, 32, 0, 0, 0, 0,
|
|
/* 0x0180 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
/* 0x0190 */ 0, 0, 0, 0, 0, 0, 0, 0,126,200, 2,166,128, 31,255,248,
|
|
/* 0x01a0 */ 59, 63,255,248,127, 32,200, 80,131,150, 0, 4, 72, 0, 0, 9,
|
|
/* 0x01b0 */ 117,112,120, 0,124,104, 2,166, 56,128, 0, 16, 56, 0, 1,104,
|
|
/* 0x01c0 */ 68, 0, 0, 2, 64,227, 0, 8,124,128, 0, 8,124,123, 27,120,
|
|
/* 0x01d0 */ 124, 62, 11,120, 56, 0,255,224,124, 60, 8, 80,124, 33, 0, 56,
|
|
/* 0x01e0 */ 130,118, 0, 0,127,233, 3,166,136,246, 0, 12,251,158, 1,136,
|
|
/* 0x01f0 */ 56,222, 1,136,124, 37, 11,120,128,150, 0, 8, 56,118, 0, 16,
|
|
/* 0x0200 */ 78,128, 4, 33,250,129, 0, 0,127, 99,219,120,124, 36, 11,120,
|
|
/* 0x0210 */ 127,133,227,120, 56, 0, 0, 4, 68, 0, 0, 2, 64,227, 0, 8,
|
|
/* 0x0220 */ 124,128, 0, 8,127,193,243,120, 57, 0, 0, 0,127,103,219,120,
|
|
/* 0x0230 */ 56,192, 0, 2, 56,160, 0, 5,127,132,227,120, 56, 96, 0, 0,
|
|
/* 0x0240 */ 56, 0, 0, 90, 68, 0, 0, 2, 64,227, 0, 8,124,128, 0, 8,
|
|
/* 0x0250 */ 124,125, 27,120,127, 99,219,120, 56, 0, 0, 6, 68, 0, 0, 2,
|
|
/* 0x0260 */ 64,227, 0, 8,124,128, 0, 8, 56, 29, 0, 16,127, 25,154, 20,
|
|
/* 0x0270 */ 124, 9, 3,166, 56, 0, 0, 50,130,255,255,248, 78,128, 4, 32,
|
|
/* 0x0280 */ 232, 3, 0, 0, 56, 99, 0, 8, 47,160, 0, 0, 64,254,255,244,
|
|
/* 0x0290 */ 78,128, 0, 32,248, 33,254,113,248, 65, 0,152,248, 97, 0,160,
|
|
/* 0x02a0 */ 248,129, 0,168,248,161, 0,176,248,193, 0,184,248,225, 0,192,
|
|
/* 0x02b0 */ 249, 1, 0,200,249, 33, 0,208,249, 65, 0,216,249, 97, 0,224,
|
|
/* 0x02c0 */ 249,129, 0,232,249,161, 0,240,249,193, 0,248,249,225, 1, 0,
|
|
/* 0x02d0 */ 250, 1, 1, 8,250, 33, 1, 16,250, 65, 1, 24,250, 97, 1, 32,
|
|
/* 0x02e0 */ 250,129, 1, 40,250,161, 1, 48,250,193, 1, 56,250,225, 1, 64,
|
|
/* 0x02f0 */ 251, 1, 1, 72,251, 33, 1, 80,251, 65, 1, 88,251, 97, 1, 96,
|
|
/* 0x0300 */ 251,129, 1,104,251,161, 1,112,251,193, 1,120,251,225, 1,128,
|
|
/* 0x0310 */ 127,232, 2,166, 56, 97, 1,152, 75,255,255,105, 75,255,255,101,
|
|
/* 0x0320 */ 124,122, 27,120,232, 3, 0, 0,232,131, 0, 8, 56, 99, 0, 16,
|
|
/* 0x0330 */ 47,160, 0, 6, 65,222, 0, 16, 44, 32, 0, 0, 64,226,255,232,
|
|
/* 0x0340 */ 60,128, 0, 1,126,132, 0,208, 75,255,254, 81, 0, 0, 0, 0,
|
|
/* 0x0350 */ 102,105,108,101, 32,102,111,114,109, 97,116, 32,101,108,102, 54,
|
|
/* 0x0360 */ 52, 45,112,111,119,101,114,112, 99, 10, 10, 83,101, 99,116,105,
|
|
/* 0x0370 */ 111,110,115, 58, 10, 73,100,120, 32, 78, 97,109,101, 32, 32, 32,
|
|
/* 0x0380 */ 32, 32, 32, 32, 32, 32, 32, 83,105,122,101, 32, 32, 32, 32, 32,
|
|
/* 0x0390 */ 32, 86, 77, 65, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
|
|
/* 0x03a0 */ 32, 32, 32, 76, 77, 65, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
|
|
/* 0x03b0 */ 32, 32, 32, 32, 32, 70,105,108,101, 32,111,102,102, 32, 32, 65,
|
|
/* 0x03c0 */ 108,103,110, 32, 32, 70,108, 97,103,115, 10, 32, 32, 48, 32, 69,
|
|
/* 0x03d0 */ 76, 70, 77, 65, 73, 78, 88, 32, 32, 32, 32, 32, 32, 48, 49, 51,
|
|
/* 0x03e0 */ 99, 32, 32, 48, 32, 32, 48, 32, 32, 48, 52, 48, 32, 32, 50, 42,
|
|
/* 0x03f0 */ 42, 48, 32, 32, 67, 79, 78, 84, 69, 78, 84, 83, 10, 32, 32, 49,
|
|
/* 0x0400 */ 32, 69, 76, 70, 77, 65, 73, 78, 89, 32, 32, 32, 32, 32, 32, 48,
|
|
/* 0x0410 */ 32, 32, 48, 32, 32, 48, 32, 32, 48, 49, 55, 99, 32, 32, 50, 42,
|
|
/* 0x0420 */ 42, 48, 32, 32, 67, 79, 78, 84, 69, 78, 84, 83, 10, 32, 32, 50,
|
|
/* 0x0430 */ 32, 69, 76, 70, 77, 65, 73, 78, 90,101, 32, 32, 32, 32, 32, 48,
|
|
/* 0x0440 */ 49, 56, 32, 32, 48, 32, 32, 48, 32, 32, 48, 49, 56, 48, 32, 32,
|
|
/* 0x0450 */ 50, 42, 42, 51, 32, 32, 67, 79, 78, 84, 69, 78, 84, 83, 10, 32,
|
|
/* 0x0460 */ 32, 51, 32, 69, 76, 70, 77, 65, 73, 78, 90, 32, 32, 32, 32, 32,
|
|
/* 0x0470 */ 32, 48, 49, 98, 56, 32, 32, 48, 32, 32, 48, 32, 32, 48, 49, 57,
|
|
/* 0x0480 */ 56, 32, 32, 50, 42, 42, 48, 32, 32, 67, 79, 78, 84, 69, 78, 84,
|
|
/* 0x0490 */ 83, 10, 83, 89, 77, 66, 79, 76, 32, 84, 65, 66, 76, 69, 58, 10,
|
|
/* 0x04a0 */ 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
|
|
/* 0x04b0 */ 32,108, 32, 32, 32, 32,100, 32, 32, 69, 76, 70, 77, 65, 73, 78,
|
|
/* 0x04c0 */ 90, 32, 48, 32, 69, 76, 70, 77, 65, 73, 78, 90, 10, 48, 48, 48,
|
|
/* 0x04d0 */ 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 32,108, 32,
|
|
/* 0x04e0 */ 32, 32, 32,100, 32, 32, 69, 76, 70, 77, 65, 73, 78, 88, 32, 48,
|
|
/* 0x04f0 */ 32, 69, 76, 70, 77, 65, 73, 78, 88, 10, 48, 48, 48, 48, 48, 48,
|
|
/* 0x0500 */ 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 32,108, 32, 32, 32, 32,
|
|
/* 0x0510 */ 100, 32, 32, 69, 76, 70, 77, 65, 73, 78, 89, 32, 48, 32, 69, 76,
|
|
/* 0x0520 */ 70, 77, 65, 73, 78, 89, 10, 48, 48, 48, 48, 48, 48, 48, 48, 48,
|
|
/* 0x0530 */ 48, 48, 48, 48, 48, 48, 48, 32,108, 32, 32, 32, 32,100, 32, 32,
|
|
/* 0x0540 */ 69, 76, 70, 77, 65, 73, 78, 90,101, 32, 48, 32, 69, 76, 70, 77,
|
|
/* 0x0550 */ 65, 73, 78, 90,101, 10, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
|
|
/* 0x0560 */ 48, 48, 48, 48, 48, 48, 32,103, 32, 32, 32, 32, 32, 32, 32, 69,
|
|
/* 0x0570 */ 76, 70, 77, 65, 73, 78, 88, 32, 48, 32, 95,115,116, 97,114,116,
|
|
/* 0x0580 */ 10, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
|
|
/* 0x0590 */ 48, 32,103, 32, 32, 32, 32, 32, 32, 32, 69, 76, 70, 77, 65, 73,
|
|
/* 0x05a0 */ 78, 90,101, 32, 48, 32,101,110,116,114,121, 95,100,101,115, 99,
|
|
/* 0x05b0 */ 114, 10, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
|
|
/* 0x05c0 */ 48, 48, 32, 32, 32, 32, 32, 32, 32, 32, 32, 42, 85, 78, 68, 42,
|
|
/* 0x05d0 */ 32, 48, 32, 79, 95, 66, 73, 78, 70, 79, 10, 10, 82, 69, 76, 79,
|
|
/* 0x05e0 */ 67, 65, 84, 73, 79, 78, 32, 82, 69, 67, 79, 82, 68, 83, 32, 70,
|
|
/* 0x05f0 */ 79, 82, 32, 91, 69, 76, 70, 77, 65, 73, 78, 88, 93, 58, 10, 79,
|
|
/* 0x0600 */ 70, 70, 83, 69, 84, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
|
|
/* 0x0610 */ 84, 89, 80, 69, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
|
|
/* 0x0620 */ 32, 32, 86, 65, 76, 85, 69, 10, 48, 48, 48, 48, 48, 48, 48, 48,
|
|
/* 0x0630 */ 48, 48, 48, 48, 48, 48, 48, 48, 32, 82, 95, 80, 80, 67, 54, 52,
|
|
/* 0x0640 */ 95, 82, 69, 76, 50, 52, 32, 32, 32, 32, 32, 69, 76, 70, 77, 65,
|
|
/* 0x0650 */ 73, 78, 90, 43, 48,120, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
|
|
/* 0x0660 */ 48, 48, 48, 48,102, 99, 10, 10, 82, 69, 76, 79, 67, 65, 84, 73,
|
|
/* 0x0670 */ 79, 78, 32, 82, 69, 67, 79, 82, 68, 83, 32, 70, 79, 82, 32, 91,
|
|
/* 0x0680 */ 69, 76, 70, 77, 65, 73, 78, 90,101, 93, 58, 10, 79, 70, 70, 83,
|
|
/* 0x0690 */ 69, 84, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 84, 89, 80,
|
|
/* 0x06a0 */ 69, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 86,
|
|
/* 0x06b0 */ 65, 76, 85, 69, 10, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
|
|
/* 0x06c0 */ 48, 48, 48, 48, 48, 32, 82, 95, 80, 80, 67, 54, 52, 95, 65, 68,
|
|
/* 0x06d0 */ 68, 82, 54, 52, 32, 32, 32, 32, 95,115,116, 97,114,116, 10, 10,
|
|
/* 0x06e0 */ 82, 69, 76, 79, 67, 65, 84, 73, 79, 78, 32, 82, 69, 67, 79, 82,
|
|
/* 0x06f0 */ 68, 83, 32, 70, 79, 82, 32, 91, 69, 76, 70, 77, 65, 73, 78, 90,
|
|
/* 0x0700 */ 93, 58, 10, 79, 70, 70, 83, 69, 84, 32, 32, 32, 32, 32, 32, 32,
|
|
/* 0x0710 */ 32, 32, 32, 32, 84, 89, 80, 69, 32, 32, 32, 32, 32, 32, 32, 32,
|
|
/* 0x0720 */ 32, 32, 32, 32, 32, 32, 86, 65, 76, 85, 69, 10, 48, 48, 48, 48,
|
|
/* 0x0730 */ 48, 48, 48, 48, 48, 48, 48, 48, 48, 49, 98, 52, 32, 82, 95, 80,
|
|
/* 0x0740 */ 80, 67, 54, 52, 95, 65, 68, 68, 82, 51, 50, 32, 32, 32, 32, 79,
|
|
/* 0x0750 */ 95, 66, 73, 78, 70, 79, 10
|
|
};
|