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
141 lines
9.1 KiB
C++
Generated
141 lines
9.1 KiB
C++
Generated
/* powerpc64le-linux.elf-entry.h
|
|
created from powerpc64le-linux.elf-entry.bin, 1587 (0x633) 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_POWERPC64LE_LINUX_ELF_ENTRY_SIZE 1587
|
|
#define STUB_POWERPC64LE_LINUX_ELF_ENTRY_ADLER32 0x095cc8e5
|
|
#define STUB_POWERPC64LE_LINUX_ELF_ENTRY_CRC32 0x117a71c1
|
|
|
|
unsigned char stub_powerpc64le_linux_elf_entry[1587] = {
|
|
/* 0x0000 */ 127, 69, 76, 70, 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
/* 0x0010 */ 1, 0, 21, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
/* 0x0020 */ 0, 0, 0, 0, 0, 0, 0, 0, 72, 4, 0, 0, 0, 0, 0, 0,
|
|
/* 0x0030 */ 0, 0, 0, 0, 64, 0, 0, 0, 0, 0, 64, 0, 0, 0, 0, 0,
|
|
/* 0x0040 */ 1, 0, 0, 72,236, 41, 0,124,166, 2,168,125, 2, 0, 7, 40,
|
|
/* 0x0050 */ 236, 0,130, 64, 0, 0,166,248, 20, 26,132,124, 0,128, 0, 60,
|
|
/* 0x0060 */ 198, 7, 0,120,120, 3, 9,124,255,255, 99, 56,255,255,165, 56,
|
|
/* 0x0070 */ 255,255, 64, 57,184, 0, 0, 72, 20, 73, 41,125, 36,248, 41,121,
|
|
/* 0x0080 */ 64, 0, 41,124, 20, 72, 41,125, 32, 0,226, 76, 1, 0, 32, 57,
|
|
/* 0x0090 */ 46, 24, 41,125, 4, 0, 99, 56,224,255,255, 75, 1, 0, 3,141,
|
|
/* 0x00a0 */ 1, 0, 5,157,221,255,255, 75,244,255,225, 65, 1, 0,224, 56,
|
|
/* 0x00b0 */ 209,255,255, 75, 21, 57,231,124,201,255,255, 75,244,255,192, 65,
|
|
/* 0x00c0 */ 253,255,231, 52, 0, 0, 0, 57, 24, 0,192, 65, 1, 0, 99,141,
|
|
/* 0x00d0 */ 46, 64,231, 84,248, 88,234,124, 63, 0, 75, 85, 96, 0,194, 65,
|
|
/* 0x00e0 */ 161,255,255, 75, 21, 65, 8,125,153,255,255, 75, 21, 65, 8,125,
|
|
/* 0x00f0 */ 1, 0,224, 56, 28, 0,194, 64, 3, 0,224, 56, 1, 0, 0, 57,
|
|
/* 0x0100 */ 129,255,255, 75, 21, 65, 8,125,121,255,255, 75,244,255,192, 65,
|
|
/* 0x0110 */ 255,242,106, 33, 20, 57, 8,125, 20, 42,234,124,166, 3, 9,125,
|
|
/* 0x0120 */ 1, 0, 7,141, 1, 0, 5,157,248,255, 32, 67, 0, 1,224, 56,
|
|
/* 0x0130 */ 236, 41, 7,124, 44, 26, 7,124,108,255,255, 75, 0, 0,230,232,
|
|
/* 0x0140 */ 166, 3,168,125, 80, 24,100,124, 80, 40,135,124, 1, 0, 99, 56,
|
|
/* 0x0150 */ 1, 0,132, 56, 0, 0,134,248, 31, 0,231, 96,108, 56, 0,124,
|
|
/* 0x0160 */ 64, 40, 39,124,172, 63, 0,124, 32, 0,231, 56,240,255,128, 65,
|
|
/* 0x0170 */ 172, 4, 0,124, 44, 1, 0, 76, 32, 0,128, 78,166, 2,200,126,
|
|
/* 0x0180 */ 248,255, 31,128,248,255, 63, 59, 80,200, 32,127, 4, 0,150,131,
|
|
/* 0x0190 */ 9, 0, 0, 72,117,112,120, 0,166, 2,104,124, 16, 0,128, 56,
|
|
/* 0x01a0 */ 104, 1, 0, 56, 2, 0, 0, 68, 8, 0,227, 64, 8, 0,128,124,
|
|
/* 0x01b0 */ 120, 27,123,124,120, 11, 62,124,224,255, 0, 56, 80, 8, 60,124,
|
|
/* 0x01c0 */ 56, 0, 33,124, 0, 0,118,130,166, 3,233,127, 12, 0,246,136,
|
|
/* 0x01d0 */ 136, 1,158,251,136, 1,222, 56,120, 11, 37,124, 8, 0,150,128,
|
|
/* 0x01e0 */ 16, 0,118, 56, 33, 4,128, 78, 0, 0,129,250,120,219, 99,127,
|
|
/* 0x01f0 */ 120, 11, 36,124,120,227,133,127, 4, 0, 0, 56, 2, 0, 0, 68,
|
|
/* 0x0200 */ 8, 0,227, 64, 8, 0,128,124,120,243,193,127, 0, 0, 0, 57,
|
|
/* 0x0210 */ 120,219,103,127, 2, 0,192, 56, 5, 0,160, 56,120,227,132,127,
|
|
/* 0x0220 */ 0, 0, 96, 56, 90, 0, 0, 56, 2, 0, 0, 68, 8, 0,227, 64,
|
|
/* 0x0230 */ 8, 0,128,124,120, 27,125,124,120,219, 99,127, 6, 0, 0, 56,
|
|
/* 0x0240 */ 2, 0, 0, 68, 8, 0,227, 64, 8, 0,128,124, 16, 0, 29, 56,
|
|
/* 0x0250 */ 20,154, 25,127,166, 3, 9,124, 50, 0, 0, 56,248,255,255,130,
|
|
/* 0x0260 */ 32, 4,128, 78, 0, 0, 3,232, 8, 0, 99, 56, 0, 0,160, 47,
|
|
/* 0x0270 */ 244,255,254, 64, 32, 0,128, 78,113,254, 33,248,152, 0, 65,248,
|
|
/* 0x0280 */ 160, 0, 97,248,168, 0,129,248,176, 0,161,248,184, 0,193,248,
|
|
/* 0x0290 */ 192, 0,225,248,200, 0, 1,249,208, 0, 33,249,216, 0, 65,249,
|
|
/* 0x02a0 */ 224, 0, 97,249,232, 0,129,249,240, 0,161,249,248, 0,193,249,
|
|
/* 0x02b0 */ 0, 1,225,249, 8, 1, 1,250, 16, 1, 33,250, 24, 1, 65,250,
|
|
/* 0x02c0 */ 32, 1, 97,250, 40, 1,129,250, 48, 1,161,250, 56, 1,193,250,
|
|
/* 0x02d0 */ 64, 1,225,250, 72, 1, 1,251, 80, 1, 33,251, 88, 1, 65,251,
|
|
/* 0x02e0 */ 96, 1, 97,251,104, 1,129,251,112, 1,161,251,120, 1,193,251,
|
|
/* 0x02f0 */ 128, 1,225,251,166, 2,232,127,152, 1, 97, 56,105,255,255, 75,
|
|
/* 0x0300 */ 101,255,255, 75,120, 27,122,124, 0, 0, 3,232, 8, 0,131,232,
|
|
/* 0x0310 */ 16, 0, 99, 56, 6, 0,160, 47, 16, 0,222, 65, 0, 0, 32, 44,
|
|
/* 0x0320 */ 232,255,226, 64, 1, 0,128, 60,208, 0,132,126, 81,254,255, 75,
|
|
/* 0x0330 */ 0, 0, 0, 0,102,105,108,101, 32,102,111,114,109, 97,116, 32,
|
|
/* 0x0340 */ 101,108,102, 54, 52, 45,112,111,119,101,114,112, 99,108,101, 10,
|
|
/* 0x0350 */ 10, 83,101, 99,116,105,111,110,115, 58, 10, 73,100,120, 32, 78,
|
|
/* 0x0360 */ 97,109,101, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 83,105,122,
|
|
/* 0x0370 */ 101, 32, 32, 32, 32, 32, 32, 86, 77, 65, 32, 32, 32, 32, 32, 32,
|
|
/* 0x0380 */ 32, 32, 32, 32, 32, 32, 32, 32, 32, 76, 77, 65, 32, 32, 32, 32,
|
|
/* 0x0390 */ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 70,105,108,101, 32,
|
|
/* 0x03a0 */ 111,102,102, 32, 32, 65,108,103,110, 32, 32, 70,108, 97,103,115,
|
|
/* 0x03b0 */ 10, 32, 32, 48, 32, 69, 76, 70, 77, 65, 73, 78, 88, 32, 32, 32,
|
|
/* 0x03c0 */ 32, 32, 32, 48, 49, 51, 99, 32, 32, 48, 32, 32, 48, 32, 32, 48,
|
|
/* 0x03d0 */ 52, 48, 32, 32, 50, 42, 42, 48, 32, 32, 67, 79, 78, 84, 69, 78,
|
|
/* 0x03e0 */ 84, 83, 10, 32, 32, 49, 32, 69, 76, 70, 77, 65, 73, 78, 89, 32,
|
|
/* 0x03f0 */ 32, 32, 32, 32, 32, 48, 32, 32, 48, 32, 32, 48, 32, 32, 48, 49,
|
|
/* 0x0400 */ 55, 99, 32, 32, 50, 42, 42, 48, 32, 32, 67, 79, 78, 84, 69, 78,
|
|
/* 0x0410 */ 84, 83, 10, 32, 32, 50, 32, 69, 76, 70, 77, 65, 73, 78, 90, 32,
|
|
/* 0x0420 */ 32, 32, 32, 32, 32, 48, 49, 98, 56, 32, 32, 48, 32, 32, 48, 32,
|
|
/* 0x0430 */ 32, 48, 49, 55, 99, 32, 32, 50, 42, 42, 48, 32, 32, 67, 79, 78,
|
|
/* 0x0440 */ 84, 69, 78, 84, 83, 10, 83, 89, 77, 66, 79, 76, 32, 84, 65, 66,
|
|
/* 0x0450 */ 76, 69, 58, 10, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
|
|
/* 0x0460 */ 48, 48, 48, 48, 32,108, 32, 32, 32, 32,100, 32, 32, 69, 76, 70,
|
|
/* 0x0470 */ 77, 65, 73, 78, 90, 32, 48, 32, 69, 76, 70, 77, 65, 73, 78, 90,
|
|
/* 0x0480 */ 10, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
|
|
/* 0x0490 */ 48, 32,108, 32, 32, 32, 32,100, 32, 32, 69, 76, 70, 77, 65, 73,
|
|
/* 0x04a0 */ 78, 88, 32, 48, 32, 69, 76, 70, 77, 65, 73, 78, 88, 10, 48, 48,
|
|
/* 0x04b0 */ 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 32,108,
|
|
/* 0x04c0 */ 32, 32, 32, 32,100, 32, 32, 69, 76, 70, 77, 65, 73, 78, 89, 32,
|
|
/* 0x04d0 */ 48, 32, 69, 76, 70, 77, 65, 73, 78, 89, 10, 48, 48, 48, 48, 48,
|
|
/* 0x04e0 */ 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 32,103, 32, 32, 32,
|
|
/* 0x04f0 */ 32, 32, 32, 32, 69, 76, 70, 77, 65, 73, 78, 88, 32, 48, 32, 95,
|
|
/* 0x0500 */ 115,116, 97,114,116, 10, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
|
|
/* 0x0510 */ 48, 48, 48, 48, 48, 48, 32, 32, 32, 32, 32, 32, 32, 32, 32, 42,
|
|
/* 0x0520 */ 85, 78, 68, 42, 32, 48, 32, 79, 95, 66, 73, 78, 70, 79, 10, 10,
|
|
/* 0x0530 */ 82, 69, 76, 79, 67, 65, 84, 73, 79, 78, 32, 82, 69, 67, 79, 82,
|
|
/* 0x0540 */ 68, 83, 32, 70, 79, 82, 32, 91, 69, 76, 70, 77, 65, 73, 78, 88,
|
|
/* 0x0550 */ 93, 58, 10, 79, 70, 70, 83, 69, 84, 32, 32, 32, 32, 32, 32, 32,
|
|
/* 0x0560 */ 32, 32, 32, 32, 84, 89, 80, 69, 32, 32, 32, 32, 32, 32, 32, 32,
|
|
/* 0x0570 */ 32, 32, 32, 32, 32, 32, 86, 65, 76, 85, 69, 10, 48, 48, 48, 48,
|
|
/* 0x0580 */ 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 32, 82, 95, 80,
|
|
/* 0x0590 */ 80, 67, 54, 52, 95, 82, 69, 76, 50, 52, 32, 32, 32, 32, 32, 69,
|
|
/* 0x05a0 */ 76, 70, 77, 65, 73, 78, 90, 43, 48,120, 48, 48, 48, 48, 48, 48,
|
|
/* 0x05b0 */ 48, 48, 48, 48, 48, 48, 48, 48,102, 99, 10, 10, 82, 69, 76, 79,
|
|
/* 0x05c0 */ 67, 65, 84, 73, 79, 78, 32, 82, 69, 67, 79, 82, 68, 83, 32, 70,
|
|
/* 0x05d0 */ 79, 82, 32, 91, 69, 76, 70, 77, 65, 73, 78, 90, 93, 58, 10, 79,
|
|
/* 0x05e0 */ 70, 70, 83, 69, 84, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
|
|
/* 0x05f0 */ 84, 89, 80, 69, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
|
|
/* 0x0600 */ 32, 32, 86, 65, 76, 85, 69, 10, 48, 48, 48, 48, 48, 48, 48, 48,
|
|
/* 0x0610 */ 48, 48, 48, 48, 48, 49, 98, 52, 32, 82, 95, 80, 80, 67, 54, 52,
|
|
/* 0x0620 */ 95, 65, 68, 68, 82, 51, 50, 32, 32, 32, 32, 79, 95, 66, 73, 78,
|
|
/* 0x0630 */ 70, 79, 10
|
|
};
|