Old powerpc* kernels lack MFD_EXEC
For example: Debian 3.16.43-2+deb8u5 (2017-09-19)
modified: ../misc/testsuite/upx_testsuite_1-expected_sha256sums.sh
modified: stub/Makefile
modified: stub/src/powerpc-linux.elf-entry.S
modified: stub/src/powerpc-linux.elf-fold.S
modified: stub/src/powerpc64-linux.elf-entry.S
modified: stub/src/powerpc64-linux.elf-fold.S
plus generated .h, .dump, .map
This commit is contained in:
parent
0144f81c28
commit
c0bf7bf9ab
@ -64,9 +64,9 @@ a12101d24d8a248163584774c742fa2e054f5c377665b25726f824d2dfdb2878 *i386-win32.pe/
|
||||
6a5d54b5a4805f96cc59a65a137002c1d25531d1429699139b09943ee9caf18f *mips-linux.elf/upx-3.95
|
||||
421ac9190bd99715acd2f4a97becca55039c8f78c350ea6043f8a3b06978f0d8 *mipsel-linux.elf/upx-3.91
|
||||
b17bc6b7673c33075bc3906e1bf7d7f109af7fba7bac3255b1c6fd13df89346d *mipsel-linux.elf/upx-3.95
|
||||
5af2f024990f327b317797b55dca062828d7cba43a4bed90a305c86be05522a9 *powerpc-linux.elf/upx-3.91
|
||||
8caffe2270635d3d6471152ccfeaff28c3365d599372a33ca31a8cf1892a7d64 *powerpc-linux.elf/upx-3.95
|
||||
ed73e238047bde4a5b6972bec82c97cce30ee1454ce1ee106b3d6878e5d258fb *powerpc64le-linux.elf/upx-3.95
|
||||
dd82483277f03e4ed6042a4ac863f76500f9a0ba074c8225590c798d2153e278 *powerpc-linux.elf/upx-3.91
|
||||
d65b9f3241982b4c4a0050cf3f3421f70d0019092560291e1e45cd88f146ee81 *powerpc-linux.elf/upx-3.95
|
||||
0a155990ebcc5af095b907a9a69cf072e5d0f531ec70358d8deee785009cc543 *powerpc64le-linux.elf/upx-3.95
|
||||
"
|
||||
expected_sha256sums__t120_compress_ucl_nrv2d_3_no_filter="\
|
||||
58c0b1d2ba1d1affb532efe1e55646629c53644dc55bf5dff585bbce1db5eb1a *amd64-linux.elf/upx-3.91
|
||||
@ -87,9 +87,9 @@ a4338529d1dfa339cb2ac25fbc0c56028d288e7393b2fda57e5d6588f388313a *i386-win32.pe/
|
||||
595912450d678df1832d3f6e33f0f1d3787ff2fb9fb2ebf9712378d563c06835 *mips-linux.elf/upx-3.95
|
||||
42c3485bdb4455bac91ac7279b061a26d203c46b8bb8284d00d93da9c50acf08 *mipsel-linux.elf/upx-3.91
|
||||
bd20dd1f41bf72d61fbd59be2cfa008e7a0a052272a5731e0d880c47cf6bfd5a *mipsel-linux.elf/upx-3.95
|
||||
2c7cde8efed056ae895a6f5130ebdecd1301d0c9cfb6c0a7e310a524818a1e40 *powerpc-linux.elf/upx-3.91
|
||||
3fc5d89b8d010286f3a9c36077e2defcf1aa1512fe305333b38ee0ce4e8a5317 *powerpc-linux.elf/upx-3.95
|
||||
4a60287243904ce91af931c7e8e16f928d92cf7f022f08b7305e34a6b84fd305 *powerpc64le-linux.elf/upx-3.95
|
||||
a3be663023c7cc534edb14477fb639da47d32ef88c25055ed94f22419bc34159 *powerpc-linux.elf/upx-3.91
|
||||
cc883bf36c11a4ceae5371c66e0f4b28dafa9ea4076df5eae533bcdc611c3be5 *powerpc-linux.elf/upx-3.95
|
||||
ce5bf80740e5c13883f44fecc42f8f4eb61fe768b10eda796e7ab1fc66d76dbe *powerpc64le-linux.elf/upx-3.95
|
||||
"
|
||||
expected_sha256sums__t130_compress_ucl_nrv2e_3_no_filter="\
|
||||
2207030b7262baa62b107c876399753ae080021eebd65bc26f2811ab9c584109 *amd64-linux.elf/upx-3.91
|
||||
@ -110,9 +110,9 @@ c84de2b06d4a82a788c0c63ff1acd92a01344601b156c0cc878ccc24a07bc7d0 *i386-win32.pe/
|
||||
3c2e472ce7aea4d8bf8fcd27488764fef52fee7fa48807f3879c44dfabf3c131 *mips-linux.elf/upx-3.95
|
||||
db72872a3e605bec878dbb7e841b950c8f8b9279b088fdb4b8142accbf85d78b *mipsel-linux.elf/upx-3.91
|
||||
407b5b6465d5af0ef43fbaf0e041115bba224a30f84f061249bfea4a7ed21b2e *mipsel-linux.elf/upx-3.95
|
||||
afc1d71f613f69e7cbb1cc97365b2e7605411b28d4a1fcdccfd6380ce73d77ae *powerpc-linux.elf/upx-3.91
|
||||
f0e845e26faf32d6c876f8f833e56294b9826d71d14c2123153684b828d1a59a *powerpc-linux.elf/upx-3.95
|
||||
df97444435922e0fdecb4e926d09a5f421551b108b3a178e35b220a87dbfc8f9 *powerpc64le-linux.elf/upx-3.95
|
||||
8d751e64f87be51d847dcc4bf0bf54f92213bed18b16919659c94dea5e5e77f8 *powerpc-linux.elf/upx-3.91
|
||||
d56e4ca8274f11a26fb33518e155ca6aad6c88953bdbced23c4378c43ed7e531 *powerpc-linux.elf/upx-3.95
|
||||
c20cde25c44f9c4f1aa68b4307615be23a241d31acffcf612d9f5066e9703b43 *powerpc64le-linux.elf/upx-3.95
|
||||
"
|
||||
expected_sha256sums__t140_compress_lzma_2_no_filter="\
|
||||
50532540dbd85b45c7a5968311144dcc28087453ed053d9b025e59a79d1085a9 *amd64-linux.elf/upx-3.91
|
||||
@ -133,9 +133,9 @@ eaf53678fb35365dd6a20983b0379251b8aa28350a238b1636141ddc555a4520 *m68k-atari.tos
|
||||
77dcc76fda69c13a8f58cbaf34376e734457909810ec351b291b63774752e1de *mips-linux.elf/upx-3.95
|
||||
ad82bf571be17ecdd19520959e9e770205163693561cc6b3a6c206ca7ce8694d *mipsel-linux.elf/upx-3.91
|
||||
7f3f5b2522761550f01d1c88b5f68d0f4a391c3470418b86a10f6ca5872f4357 *mipsel-linux.elf/upx-3.95
|
||||
f0f2f0428bf4bd475c8d6f3e9694795858e6b875d4b74612daa5603b7726a09b *powerpc-linux.elf/upx-3.91
|
||||
adf51d50d3f653f138f9272e95f8ca775152fbbfc10e7ef11ad908ed1c071660 *powerpc-linux.elf/upx-3.95
|
||||
dc783cea4bbe22c6733564abcec8e79bf606212a78b5cd30d36997ad90519ca8 *powerpc64le-linux.elf/upx-3.95
|
||||
63a339a06d497120002ad45d549eef5db2f07e7419f1c68a8ede9f36c7ec4b96 *powerpc-linux.elf/upx-3.91
|
||||
5ba0f8485b832d8da4d7210f01c09850fdad9a9d1f99d3726147494fed90b130 *powerpc-linux.elf/upx-3.95
|
||||
0c89a155ff7acbaf5ca9618a7d632650ceb99c089d3dd8e56280b28d44302361 *powerpc64le-linux.elf/upx-3.95
|
||||
"
|
||||
expected_sha256sums__t150_compress_ucl_2_all_filters="\
|
||||
af5fcd8a9b1c3869b082b2fe72c962a4dc651f1f2d8979eedbea4b2a82e6b955 *amd64-linux.elf/upx-3.91
|
||||
@ -156,9 +156,9 @@ a085aa278eab7c2b82d9d7b931a889bb8cdff2af993b2a446dfc652603c9b8b1 *m68k-atari.tos
|
||||
9ab8d07b0e5aa4269d18bd0783f74c8cad6d681839774f091ea65b35231aa0be *mips-linux.elf/upx-3.95
|
||||
ab46fcc2f009fab7b5186c33e3d288df999e3ac96f3863fa82c314d4f8fa3d43 *mipsel-linux.elf/upx-3.91
|
||||
b23c4c341228a30a7f8a6e027279a2f016510e8011b2da4b460657bc633303fb *mipsel-linux.elf/upx-3.95
|
||||
ba115243640af5c07c2a75cbc32cc8dcc1627e01e2ad59ee6297509425c3312e *powerpc-linux.elf/upx-3.91
|
||||
05e8c28bb6ffe672b093cfe1eddb299afcc09a57dfd067f9887a8694dab6a4f5 *powerpc-linux.elf/upx-3.95
|
||||
b7cf2b760aa4ee8c1818ad674c2effc6b8c4eae9f428a39c1657cc60ea42c573 *powerpc64le-linux.elf/upx-3.95
|
||||
ac26cabae4f900d5dbe06ec2128c66ff3d3934967d4e8f7fa8003d977827b554 *powerpc-linux.elf/upx-3.91
|
||||
f109345301a767465e966c59f9b97fcbc57dd123f0cfd6b3a1508d063afcb71a *powerpc-linux.elf/upx-3.95
|
||||
14925049ea4d38ba1a7b1fa88397ea47c32b3e75aa73311acd5ce984dc9edff9 *powerpc64le-linux.elf/upx-3.95
|
||||
"
|
||||
expected_sha256sums__t160_compress_all_methods_1_no_filter="\
|
||||
0b4129ac4d2660a61f65f89f5e4dfd337e757504ce7cdc865dfc40236a32fb98 *amd64-linux.elf/upx-3.91
|
||||
@ -179,9 +179,9 @@ f90e868783a5f216a59d230e4685d88abdc7d920de78139a841726bfc8a2395b *i386-linux.elf
|
||||
d88760fbaac2c4628c1cb6c8b3828c3ec717ac02e87c7c452d39fb2de9e32412 *mips-linux.elf/upx-3.95
|
||||
a3599c2acd0a449693468612a5ca897e48612cff448489df42f2d78775c36606 *mipsel-linux.elf/upx-3.91
|
||||
bbe0cad71e7c0f93884f972ed1f0b464184a6f7bed57fc8c5120db758166e742 *mipsel-linux.elf/upx-3.95
|
||||
c0e090bd2edaf60b94f2a4895feaf6243a686c0d6b2b3f8c520710103534e35c *powerpc-linux.elf/upx-3.91
|
||||
f55887df2a7c46f3eca78e61719d72e37a655b9985ab80846252ed1e3f42eab9 *powerpc-linux.elf/upx-3.95
|
||||
0e9ea8e962643d4b357ed3601836e67271e10d594e66f4af2539834bb26dea28 *powerpc64le-linux.elf/upx-3.95
|
||||
1247a34c56ae1eea834207a409f955a39362184ed730d0bdf797e20440fbad2a *powerpc-linux.elf/upx-3.91
|
||||
318e5c3db467a6d14d157828931932e4ae822b255970b8a6a8f4038e6c14ad03 *powerpc-linux.elf/upx-3.95
|
||||
424837c52bce0853f0f97dc69273de4e2f0c3cf09fd992b08b1bfd79fbe04281 *powerpc64le-linux.elf/upx-3.95
|
||||
"
|
||||
expected_sha256sums__t170_compress_all_methods_no_lzma_5_no_filter="\
|
||||
301f1ac99e989824b4171305c4bf21f848da49169a0ea35f9d954b6782946e3f *amd64-linux.elf/upx-3.91
|
||||
@ -202,8 +202,8 @@ d391d97db4a4593e8c3871968b3731817a8cac52953649619d0d63deb27fea74 *i386-win32.pe/
|
||||
a18383777c6c3ee7436447e7babb131e29608d235de47ea2583d1233b9b7103e *mips-linux.elf/upx-3.95
|
||||
f4bf1e6fc9ebbdb798a6cd4875419bd9e7bfcf12d9439d926581ff60430dbd84 *mipsel-linux.elf/upx-3.91
|
||||
7df55c1c945968d986ac6321f2503379a4a6b061f2ac59ab2dd68e2cb509839e *mipsel-linux.elf/upx-3.95
|
||||
09910ba81e91d35b7083181afb5b514e6bcbede544c3d64f5d8cf9615b2953f9 *powerpc-linux.elf/upx-3.91
|
||||
3da61d3845710daa405eaab4172c1fec478583286d28e8cef39514a2a29d7d5f *powerpc-linux.elf/upx-3.95
|
||||
9f09dcf3ed18d7c4d9b99080edd79ce0fedf6031b35691facf8799eeb185dd26 *powerpc64le-linux.elf/upx-3.95
|
||||
40b7830288602fb85b8068b7daebdb6c33fb64b79543ad87a412189dfdfc3583 *powerpc-linux.elf/upx-3.91
|
||||
f012035e5268519485025fbc8a1286c4a380f2c80d979df182190bc32d7258e2 *powerpc-linux.elf/upx-3.95
|
||||
439cd93ccaa2b916bfb6d6c1c91cd09451121f9a8d8cad3386d628940b966870 *powerpc64le-linux.elf/upx-3.95
|
||||
"
|
||||
########## end .sha256sums.recreate
|
||||
|
||||
@ -1937,7 +1937,7 @@ tmp/powerpc-linux.elf-fold.o : $(srcdir)/src/$$T.S
|
||||
$(call tc,gcc) -c $< -o $@
|
||||
$(call tc,f-objstrip,$@)
|
||||
|
||||
tmp/powerpc-linux.elf-main2.o : $(srcdir)/src/$$T.c
|
||||
tmp/powerpc-linux.elf-main2.o : $(srcdir)/src/$$T.c $(srcdir)/src/i386-linux.elf-main2.c
|
||||
$(call tc,gcc) -c $< -o $@
|
||||
$(call tc,f-objstrip,$@)
|
||||
|
||||
|
||||
143
src/stub/powerpc-linux.elf-entry.h
generated
143
src/stub/powerpc-linux.elf-entry.h
generated
@ -1,5 +1,5 @@
|
||||
/* powerpc-linux.elf-entry.h
|
||||
created from powerpc-linux.elf-entry.bin, 1400 (0x578) bytes
|
||||
created from powerpc-linux.elf-entry.bin, 1424 (0x590) bytes
|
||||
|
||||
This file is part of the UPX executable compressor.
|
||||
|
||||
@ -32,15 +32,15 @@
|
||||
|
||||
/* clang-format off */
|
||||
|
||||
#define STUB_POWERPC_LINUX_ELF_ENTRY_SIZE 1400
|
||||
#define STUB_POWERPC_LINUX_ELF_ENTRY_ADLER32 0x6c637bd3
|
||||
#define STUB_POWERPC_LINUX_ELF_ENTRY_CRC32 0xad5a35df
|
||||
#define STUB_POWERPC_LINUX_ELF_ENTRY_SIZE 1424
|
||||
#define STUB_POWERPC_LINUX_ELF_ENTRY_ADLER32 0x1ec482dc
|
||||
#define STUB_POWERPC_LINUX_ELF_ENTRY_CRC32 0x1c7bdda1
|
||||
|
||||
unsigned char stub_powerpc_linux_elf_entry[1400] = {
|
||||
unsigned char stub_powerpc_linux_elf_entry[1424] = {
|
||||
/* 0x0000 */ 127, 69, 76, 70, 1, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
/* 0x0010 */ 0, 1, 0, 20, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
/* 0x0020 */ 0, 0, 2,236, 0, 0, 0, 0, 0, 52, 0, 0, 0, 0, 0, 40,
|
||||
/* 0x0030 */ 0, 0, 0, 0, 72, 0, 0,249,124, 0, 41,236,125,168, 2,166,
|
||||
/* 0x0020 */ 0, 0, 3, 4, 0, 0, 0, 0, 0, 52, 0, 0, 0, 0, 0, 40,
|
||||
/* 0x0030 */ 0, 0, 0, 0, 72, 0, 1, 17,124, 0, 41,236,125,168, 2,166,
|
||||
/* 0x0040 */ 40, 7, 0, 2, 64,130, 0,232,144,166, 0, 0,124,132, 26, 20,
|
||||
/* 0x0050 */ 60, 0,128, 0, 61, 32,128, 0, 56, 99,255,255, 56,165,255,255,
|
||||
/* 0x0060 */ 57, 64,255,255, 72, 0, 0,184,124, 9, 0, 64,125, 41, 72, 20,
|
||||
@ -61,68 +61,69 @@ unsigned char stub_powerpc_linux_elf_entry[1400] = {
|
||||
/* 0x0150 */ 124, 7, 40, 64,124, 0, 63,172, 56,231, 0, 32, 65,128,255,240,
|
||||
/* 0x0160 */ 124, 0, 4,172, 76, 0, 1, 44, 78,128, 0, 32,126,200, 2,166,
|
||||
/* 0x0170 */ 128, 31,255,248, 59, 63,255,248,127, 32,200, 80,131,150, 0, 4,
|
||||
/* 0x0180 */ 72, 0, 0, 9,117,112,120, 0,124,104, 2,166, 56,128, 0, 16,
|
||||
/* 0x0190 */ 56, 0, 1,104, 68, 0, 0, 2, 64,163, 0, 8,124,128, 0, 8,
|
||||
/* 0x01a0 */ 124,123, 27,120,124, 62, 11,120, 56, 0,255,224,124, 60, 8, 80,
|
||||
/* 0x01b0 */ 124, 33, 0, 56,130,118, 0, 0,136,246, 0, 12,147,158, 0,140,
|
||||
/* 0x01c0 */ 56,222, 0,140,124, 37, 11,120,128,150, 0, 8, 56,118, 0, 16,
|
||||
/* 0x01d0 */ 72, 0, 0, 5,146,129, 0, 0,127, 99,219,120,124, 36, 11,120,
|
||||
/* 0x01e0 */ 127,133,227,120, 56, 0, 0, 4, 68, 0, 0, 2, 64,163, 0, 8,
|
||||
/* 0x01f0 */ 124,128, 0, 8,127,193,243,120, 57, 0, 0, 0,127,103,219,120,
|
||||
/* 0x0200 */ 56,192, 0, 2, 56,160, 0, 5,127,132,227,120, 56, 96, 0, 0,
|
||||
/* 0x0210 */ 56, 0, 0, 90, 68, 0, 0, 2, 64,163, 0, 8,124,128, 0, 8,
|
||||
/* 0x0220 */ 124,125, 27,120,127, 99,219,120, 56, 0, 0, 6, 68, 0, 0, 2,
|
||||
/* 0x0230 */ 64,163, 0, 8,124,128, 0, 8, 56, 29, 0, 8,127, 25,154, 20,
|
||||
/* 0x0240 */ 124, 9, 3,166, 56, 0, 0, 36,130,255,255,248, 78,128, 4, 32,
|
||||
/* 0x0250 */ 128, 3, 0, 0, 56, 99, 0, 4, 47,128, 0, 0, 64,158,255,244,
|
||||
/* 0x0260 */ 78,128, 0, 32,148, 33,255,112,188, 65, 0, 20,127,232, 2,166,
|
||||
/* 0x0270 */ 56, 97, 0,148, 75,255,255,221, 75,255,255,217,124,122, 27,120,
|
||||
/* 0x0280 */ 128, 3, 0, 0,128,131, 0, 4, 56, 99, 0, 8, 47,128, 0, 6,
|
||||
/* 0x0290 */ 65,158, 0, 16, 44, 0, 0, 0, 64,130,255,232, 56,128, 16, 0,
|
||||
/* 0x02a0 */ 126,132, 0,208, 75,255,254,201, 0, 0, 0, 0,102,105,108,101,
|
||||
/* 0x02b0 */ 32,102,111,114,109, 97,116, 32,101,108,102, 51, 50, 45,112,111,
|
||||
/* 0x02c0 */ 119,101,114,112, 99, 10, 10, 83,101, 99,116,105,111,110,115, 58,
|
||||
/* 0x02d0 */ 10, 73,100,120, 32, 78, 97,109,101, 32, 32, 32, 32, 32, 32, 32,
|
||||
/* 0x02e0 */ 32, 32, 32, 83,105,122,101, 32, 32, 32, 32, 32, 32, 86, 77, 65,
|
||||
/* 0x02f0 */ 32, 32, 32, 32, 32, 32, 32, 76, 77, 65, 32, 32, 32, 32, 32, 32,
|
||||
/* 0x0300 */ 32, 70,105,108,101, 32,111,102,102, 32, 32, 65,108,103,110, 32,
|
||||
/* 0x0310 */ 32, 70,108, 97,103,115, 10, 32, 32, 48, 32, 69, 76, 70, 77, 65,
|
||||
/* 0x0320 */ 73, 78, 88, 32, 32, 32, 32, 32, 32, 48, 49, 51, 56, 32, 32, 48,
|
||||
/* 0x0330 */ 32, 32, 48, 32, 32, 48, 51, 52, 32, 32, 50, 42, 42, 48, 32, 32,
|
||||
/* 0x0340 */ 67, 79, 78, 84, 69, 78, 84, 83, 10, 32, 32, 49, 32, 69, 76, 70,
|
||||
/* 0x0350 */ 77, 65, 73, 78, 89, 32, 32, 32, 32, 32, 32, 48, 32, 32, 48, 32,
|
||||
/* 0x0360 */ 32, 48, 32, 32, 48, 49, 54, 99, 32, 32, 50, 42, 42, 48, 32, 32,
|
||||
/* 0x0370 */ 67, 79, 78, 84, 69, 78, 84, 83, 10, 32, 32, 50, 32, 69, 76, 70,
|
||||
/* 0x0380 */ 77, 65, 73, 78, 90, 32, 32, 32, 32, 32, 32, 48, 49, 52, 48, 32,
|
||||
/* 0x0390 */ 32, 48, 32, 32, 48, 32, 32, 48, 49, 54, 99, 32, 32, 50, 42, 42,
|
||||
/* 0x03a0 */ 48, 32, 32, 67, 79, 78, 84, 69, 78, 84, 83, 10, 83, 89, 77, 66,
|
||||
/* 0x03b0 */ 79, 76, 32, 84, 65, 66, 76, 69, 58, 10, 48, 48, 48, 48, 48, 48,
|
||||
/* 0x03c0 */ 48, 48, 32,108, 32, 32, 32, 32,100, 32, 32, 69, 76, 70, 77, 65,
|
||||
/* 0x03d0 */ 73, 78, 88, 32, 48, 32, 69, 76, 70, 77, 65, 73, 78, 88, 10, 48,
|
||||
/* 0x03e0 */ 48, 48, 48, 48, 48, 48, 48, 32,108, 32, 32, 32, 32,100, 32, 32,
|
||||
/* 0x03f0 */ 69, 76, 70, 77, 65, 73, 78, 90, 32, 48, 32, 69, 76, 70, 77, 65,
|
||||
/* 0x0400 */ 73, 78, 90, 10, 48, 48, 48, 48, 48, 48, 48, 48, 32,108, 32, 32,
|
||||
/* 0x0410 */ 32, 32,100, 32, 32, 69, 76, 70, 77, 65, 73, 78, 89, 32, 48, 32,
|
||||
/* 0x0420 */ 69, 76, 70, 77, 65, 73, 78, 89, 10, 48, 48, 48, 48, 48, 48, 48,
|
||||
/* 0x0430 */ 48, 32,103, 32, 32, 32, 32, 32, 32, 32, 69, 76, 70, 77, 65, 73,
|
||||
/* 0x0440 */ 78, 88, 32, 48, 32, 95,115,116, 97,114,116, 10, 48, 48, 48, 48,
|
||||
/* 0x0450 */ 48, 48, 48, 48, 32, 32, 32, 32, 32, 32, 32, 32, 32, 42, 85, 78,
|
||||
/* 0x0460 */ 68, 42, 32, 48, 32, 79, 95, 66, 73, 78, 70, 79, 10, 10, 82, 69,
|
||||
/* 0x0470 */ 76, 79, 67, 65, 84, 73, 79, 78, 32, 82, 69, 67, 79, 82, 68, 83,
|
||||
/* 0x0480 */ 32, 70, 79, 82, 32, 91, 69, 76, 70, 77, 65, 73, 78, 88, 93, 58,
|
||||
/* 0x0490 */ 10, 79, 70, 70, 83, 69, 84, 32, 32, 32, 84, 89, 80, 69, 32, 32,
|
||||
/* 0x04a0 */ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 86, 65, 76, 85,
|
||||
/* 0x04b0 */ 69, 10, 48, 48, 48, 48, 48, 48, 48, 48, 32, 82, 95, 80, 80, 67,
|
||||
/* 0x04c0 */ 95, 82, 69, 76, 50, 52, 32, 32, 32, 32, 32, 32, 32, 69, 76, 70,
|
||||
/* 0x04d0 */ 77, 65, 73, 78, 90, 43, 48,120, 48, 48, 48, 48, 48, 48,102, 56,
|
||||
/* 0x04e0 */ 10, 10, 82, 69, 76, 79, 67, 65, 84, 73, 79, 78, 32, 82, 69, 67,
|
||||
/* 0x04f0 */ 79, 82, 68, 83, 32, 70, 79, 82, 32, 91, 69, 76, 70, 77, 65, 73,
|
||||
/* 0x0500 */ 78, 90, 93, 58, 10, 79, 70, 70, 83, 69, 84, 32, 32, 32, 84, 89,
|
||||
/* 0x0510 */ 80, 69, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
|
||||
/* 0x0520 */ 86, 65, 76, 85, 69, 10, 48, 48, 48, 48, 48, 48, 54, 52, 32, 82,
|
||||
/* 0x0530 */ 95, 80, 80, 67, 95, 82, 69, 76, 50, 52, 32, 32, 32, 32, 32, 32,
|
||||
/* 0x0540 */ 32, 69, 76, 70, 77, 65, 73, 78, 88, 43, 48,120, 48, 48, 48, 48,
|
||||
/* 0x0550 */ 48, 48, 48, 52, 10, 48, 48, 48, 48, 48, 49, 51, 99, 32, 82, 95,
|
||||
/* 0x0560 */ 80, 80, 67, 95, 65, 68, 68, 82, 51, 50, 32, 32, 32, 32, 32, 32,
|
||||
/* 0x0570 */ 79, 95, 66, 73, 78, 70, 79, 10
|
||||
/* 0x0180 */ 56,128, 0, 16, 72, 0, 0, 9,117,112,120, 0,124,104, 2,166,
|
||||
/* 0x0190 */ 56, 0, 1,104, 68, 0, 0, 2, 64,163, 0, 32, 47,132, 0, 0,
|
||||
/* 0x01a0 */ 64,158, 0, 8,124,128, 0, 8, 47,131, 0, 22, 64,158,255,248,
|
||||
/* 0x01b0 */ 56,128, 0, 0, 75,255,255,208,124,123, 27,120,124, 62, 11,120,
|
||||
/* 0x01c0 */ 56, 0,255,224,124, 60, 8, 80,124, 33, 0, 56,130,118, 0, 0,
|
||||
/* 0x01d0 */ 136,246, 0, 12,147,158, 0,140, 56,222, 0,140,124, 37, 11,120,
|
||||
/* 0x01e0 */ 128,150, 0, 8, 56,118, 0, 16, 72, 0, 0, 5,146,129, 0, 0,
|
||||
/* 0x01f0 */ 127, 99,219,120,124, 36, 11,120,127,133,227,120, 56, 0, 0, 4,
|
||||
/* 0x0200 */ 68, 0, 0, 2, 64,163, 0, 8,124,128, 0, 8,127,193,243,120,
|
||||
/* 0x0210 */ 57, 0, 0, 0,127,103,219,120, 56,192, 0, 2, 56,160, 0, 5,
|
||||
/* 0x0220 */ 127,132,227,120, 56, 96, 0, 0, 56, 0, 0, 90, 68, 0, 0, 2,
|
||||
/* 0x0230 */ 64,163, 0, 8,124,128, 0, 8,124,125, 27,120,127, 99,219,120,
|
||||
/* 0x0240 */ 56, 0, 0, 6, 68, 0, 0, 2, 64,163, 0, 8,124,128, 0, 8,
|
||||
/* 0x0250 */ 56, 29, 0, 8,127, 25,154, 20,124, 9, 3,166, 56, 0, 0, 36,
|
||||
/* 0x0260 */ 130,255,255,248, 78,128, 4, 32,128, 3, 0, 0, 56, 99, 0, 4,
|
||||
/* 0x0270 */ 47,128, 0, 0, 64,158,255,244, 78,128, 0, 32,148, 33,255,112,
|
||||
/* 0x0280 */ 188, 65, 0, 20,127,232, 2,166, 56, 97, 0,148, 75,255,255,221,
|
||||
/* 0x0290 */ 75,255,255,217,124,122, 27,120,128, 3, 0, 0,128,131, 0, 4,
|
||||
/* 0x02a0 */ 56, 99, 0, 8, 47,128, 0, 6, 65,158, 0, 16, 44, 0, 0, 0,
|
||||
/* 0x02b0 */ 64,130,255,232, 56,128, 16, 0,126,132, 0,208, 75,255,254,177,
|
||||
/* 0x02c0 */ 0, 0, 0, 0,102,105,108,101, 32,102,111,114,109, 97,116, 32,
|
||||
/* 0x02d0 */ 101,108,102, 51, 50, 45,112,111,119,101,114,112, 99, 10, 10, 83,
|
||||
/* 0x02e0 */ 101, 99,116,105,111,110,115, 58, 10, 73,100,120, 32, 78, 97,109,
|
||||
/* 0x02f0 */ 101, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 83,105,122,101, 32,
|
||||
/* 0x0300 */ 32, 32, 32, 32, 32, 86, 77, 65, 32, 32, 32, 32, 32, 32, 32, 76,
|
||||
/* 0x0310 */ 77, 65, 32, 32, 32, 32, 32, 32, 32, 70,105,108,101, 32,111,102,
|
||||
/* 0x0320 */ 102, 32, 32, 65,108,103,110, 32, 32, 70,108, 97,103,115, 10, 32,
|
||||
/* 0x0330 */ 32, 48, 32, 69, 76, 70, 77, 65, 73, 78, 88, 32, 32, 32, 32, 32,
|
||||
/* 0x0340 */ 32, 48, 49, 51, 56, 32, 32, 48, 32, 32, 48, 32, 32, 48, 51, 52,
|
||||
/* 0x0350 */ 32, 32, 50, 42, 42, 48, 32, 32, 67, 79, 78, 84, 69, 78, 84, 83,
|
||||
/* 0x0360 */ 10, 32, 32, 49, 32, 69, 76, 70, 77, 65, 73, 78, 89, 32, 32, 32,
|
||||
/* 0x0370 */ 32, 32, 32, 48, 32, 32, 48, 32, 32, 48, 32, 32, 48, 49, 54, 99,
|
||||
/* 0x0380 */ 32, 32, 50, 42, 42, 48, 32, 32, 67, 79, 78, 84, 69, 78, 84, 83,
|
||||
/* 0x0390 */ 10, 32, 32, 50, 32, 69, 76, 70, 77, 65, 73, 78, 90, 32, 32, 32,
|
||||
/* 0x03a0 */ 32, 32, 32, 48, 49, 53, 56, 32, 32, 48, 32, 32, 48, 32, 32, 48,
|
||||
/* 0x03b0 */ 49, 54, 99, 32, 32, 50, 42, 42, 48, 32, 32, 67, 79, 78, 84, 69,
|
||||
/* 0x03c0 */ 78, 84, 83, 10, 83, 89, 77, 66, 79, 76, 32, 84, 65, 66, 76, 69,
|
||||
/* 0x03d0 */ 58, 10, 48, 48, 48, 48, 48, 48, 48, 48, 32,108, 32, 32, 32, 32,
|
||||
/* 0x03e0 */ 100, 32, 32, 69, 76, 70, 77, 65, 73, 78, 88, 32, 48, 32, 69, 76,
|
||||
/* 0x03f0 */ 70, 77, 65, 73, 78, 88, 10, 48, 48, 48, 48, 48, 48, 48, 48, 32,
|
||||
/* 0x0400 */ 108, 32, 32, 32, 32,100, 32, 32, 69, 76, 70, 77, 65, 73, 78, 90,
|
||||
/* 0x0410 */ 32, 48, 32, 69, 76, 70, 77, 65, 73, 78, 90, 10, 48, 48, 48, 48,
|
||||
/* 0x0420 */ 48, 48, 48, 48, 32,108, 32, 32, 32, 32,100, 32, 32, 69, 76, 70,
|
||||
/* 0x0430 */ 77, 65, 73, 78, 89, 32, 48, 32, 69, 76, 70, 77, 65, 73, 78, 89,
|
||||
/* 0x0440 */ 10, 48, 48, 48, 48, 48, 48, 48, 48, 32,103, 32, 32, 32, 32, 32,
|
||||
/* 0x0450 */ 32, 32, 69, 76, 70, 77, 65, 73, 78, 88, 32, 48, 32, 95,115,116,
|
||||
/* 0x0460 */ 97,114,116, 10, 48, 48, 48, 48, 48, 48, 48, 48, 32, 32, 32, 32,
|
||||
/* 0x0470 */ 32, 32, 32, 32, 32, 42, 85, 78, 68, 42, 32, 48, 32, 79, 95, 66,
|
||||
/* 0x0480 */ 73, 78, 70, 79, 10, 10, 82, 69, 76, 79, 67, 65, 84, 73, 79, 78,
|
||||
/* 0x0490 */ 32, 82, 69, 67, 79, 82, 68, 83, 32, 70, 79, 82, 32, 91, 69, 76,
|
||||
/* 0x04a0 */ 70, 77, 65, 73, 78, 88, 93, 58, 10, 79, 70, 70, 83, 69, 84, 32,
|
||||
/* 0x04b0 */ 32, 32, 84, 89, 80, 69, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
|
||||
/* 0x04c0 */ 32, 32, 32, 32, 86, 65, 76, 85, 69, 10, 48, 48, 48, 48, 48, 48,
|
||||
/* 0x04d0 */ 48, 48, 32, 82, 95, 80, 80, 67, 95, 82, 69, 76, 50, 52, 32, 32,
|
||||
/* 0x04e0 */ 32, 32, 32, 32, 32, 69, 76, 70, 77, 65, 73, 78, 90, 43, 48,120,
|
||||
/* 0x04f0 */ 48, 48, 48, 48, 48, 49, 49, 48, 10, 10, 82, 69, 76, 79, 67, 65,
|
||||
/* 0x0500 */ 84, 73, 79, 78, 32, 82, 69, 67, 79, 82, 68, 83, 32, 70, 79, 82,
|
||||
/* 0x0510 */ 32, 91, 69, 76, 70, 77, 65, 73, 78, 90, 93, 58, 10, 79, 70, 70,
|
||||
/* 0x0520 */ 83, 69, 84, 32, 32, 32, 84, 89, 80, 69, 32, 32, 32, 32, 32, 32,
|
||||
/* 0x0530 */ 32, 32, 32, 32, 32, 32, 32, 32, 86, 65, 76, 85, 69, 10, 48, 48,
|
||||
/* 0x0540 */ 48, 48, 48, 48, 55, 99, 32, 82, 95, 80, 80, 67, 95, 82, 69, 76,
|
||||
/* 0x0550 */ 50, 52, 32, 32, 32, 32, 32, 32, 32, 69, 76, 70, 77, 65, 73, 78,
|
||||
/* 0x0560 */ 88, 43, 48,120, 48, 48, 48, 48, 48, 48, 48, 52, 10, 48, 48, 48,
|
||||
/* 0x0570 */ 48, 48, 49, 53, 52, 32, 82, 95, 80, 80, 67, 95, 65, 68, 68, 82,
|
||||
/* 0x0580 */ 51, 50, 32, 32, 32, 32, 32, 32, 79, 95, 66, 73, 78, 70, 79, 10
|
||||
};
|
||||
|
||||
1834
src/stub/powerpc-linux.elf-fold.h
generated
1834
src/stub/powerpc-linux.elf-fold.h
generated
File diff suppressed because it is too large
Load Diff
197
src/stub/powerpc64-linux.elf-entry.h
generated
197
src/stub/powerpc64-linux.elf-entry.h
generated
@ -1,5 +1,5 @@
|
||||
/* powerpc64-linux.elf-entry.h
|
||||
created from powerpc64-linux.elf-entry.bin, 1879 (0x757) bytes
|
||||
created from powerpc64-linux.elf-entry.bin, 1903 (0x76f) bytes
|
||||
|
||||
This file is part of the UPX executable compressor.
|
||||
|
||||
@ -32,14 +32,14 @@
|
||||
|
||||
/* 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
|
||||
#define STUB_POWERPC64_LINUX_ELF_ENTRY_SIZE 1903
|
||||
#define STUB_POWERPC64_LINUX_ELF_ENTRY_ADLER32 0x6c670e35
|
||||
#define STUB_POWERPC64_LINUX_ELF_ENTRY_CRC32 0x2c7960e6
|
||||
|
||||
unsigned char stub_powerpc64_linux_elf_entry[1879] = {
|
||||
unsigned char stub_powerpc64_linux_elf_entry[1903] = {
|
||||
/* 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,
|
||||
/* 0x0020 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4,224,
|
||||
/* 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,
|
||||
@ -63,96 +63,97 @@ unsigned char stub_powerpc64_linux_elf_entry[1879] = {
|
||||
/* 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
|
||||
/* 0x01a0 */ 59, 63,255,248,127, 32,200, 80,131,150, 0, 4, 56,128, 0, 16,
|
||||
/* 0x01b0 */ 72, 0, 0, 9,117,112,120, 0,124,104, 2,166, 56, 0, 1,104,
|
||||
/* 0x01c0 */ 68, 0, 0, 2, 64,227, 0, 32, 47,132, 0, 0, 64,158, 0, 8,
|
||||
/* 0x01d0 */ 124,128, 0, 8, 47,131, 0, 22, 64,158,255,248, 56,128, 0, 0,
|
||||
/* 0x01e0 */ 75,255,255,208,124,123, 27,120,124, 62, 11,120, 56, 0,255,224,
|
||||
/* 0x01f0 */ 124, 60, 8, 80,124, 33, 0, 56,130,118, 0, 0,127,233, 3,166,
|
||||
/* 0x0200 */ 136,246, 0, 12,251,158, 1,136, 56,222, 1,136,124, 37, 11,120,
|
||||
/* 0x0210 */ 128,150, 0, 8, 56,118, 0, 16, 78,128, 4, 33,250,129, 0, 0,
|
||||
/* 0x0220 */ 127, 99,219,120,124, 36, 11,120,127,133,227,120, 56, 0, 0, 4,
|
||||
/* 0x0230 */ 68, 0, 0, 2, 64,227, 0, 8,124,128, 0, 8,127,193,243,120,
|
||||
/* 0x0240 */ 57, 0, 0, 0,127,103,219,120, 56,192, 0, 2, 56,160, 0, 5,
|
||||
/* 0x0250 */ 127,132,227,120, 56, 96, 0, 0, 56, 0, 0, 90, 68, 0, 0, 2,
|
||||
/* 0x0260 */ 64,227, 0, 8,124,128, 0, 8,124,125, 27,120,127, 99,219,120,
|
||||
/* 0x0270 */ 56, 0, 0, 6, 68, 0, 0, 2, 64,227, 0, 8,124,128, 0, 8,
|
||||
/* 0x0280 */ 56, 29, 0, 16,127, 25,154, 20,124, 9, 3,166, 56, 0, 0, 50,
|
||||
/* 0x0290 */ 130,255,255,248, 78,128, 4, 32,232, 3, 0, 0, 56, 99, 0, 8,
|
||||
/* 0x02a0 */ 47,160, 0, 0, 64,254,255,244, 78,128, 0, 32,248, 33,254,113,
|
||||
/* 0x02b0 */ 248, 65, 0,152,248, 97, 0,160,248,129, 0,168,248,161, 0,176,
|
||||
/* 0x02c0 */ 248,193, 0,184,248,225, 0,192,249, 1, 0,200,249, 33, 0,208,
|
||||
/* 0x02d0 */ 249, 65, 0,216,249, 97, 0,224,249,129, 0,232,249,161, 0,240,
|
||||
/* 0x02e0 */ 249,193, 0,248,249,225, 1, 0,250, 1, 1, 8,250, 33, 1, 16,
|
||||
/* 0x02f0 */ 250, 65, 1, 24,250, 97, 1, 32,250,129, 1, 40,250,161, 1, 48,
|
||||
/* 0x0300 */ 250,193, 1, 56,250,225, 1, 64,251, 1, 1, 72,251, 33, 1, 80,
|
||||
/* 0x0310 */ 251, 65, 1, 88,251, 97, 1, 96,251,129, 1,104,251,161, 1,112,
|
||||
/* 0x0320 */ 251,193, 1,120,251,225, 1,128,127,232, 2,166, 56, 97, 1,152,
|
||||
/* 0x0330 */ 75,255,255,105, 75,255,255,101,124,122, 27,120,232, 3, 0, 0,
|
||||
/* 0x0340 */ 232,131, 0, 8, 56, 99, 0, 16, 47,160, 0, 6, 65,222, 0, 16,
|
||||
/* 0x0350 */ 44, 32, 0, 0, 64,226,255,232, 60,128, 0, 1,126,132, 0,208,
|
||||
/* 0x0360 */ 75,255,254, 57, 0, 0, 0, 0,102,105,108,101, 32,102,111,114,
|
||||
/* 0x0370 */ 109, 97,116, 32,101,108,102, 54, 52, 45,112,111,119,101,114,112,
|
||||
/* 0x0380 */ 99, 10, 10, 83,101, 99,116,105,111,110,115, 58, 10, 73,100,120,
|
||||
/* 0x0390 */ 32, 78, 97,109,101, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 83,
|
||||
/* 0x03a0 */ 105,122,101, 32, 32, 32, 32, 32, 32, 86, 77, 65, 32, 32, 32, 32,
|
||||
/* 0x03b0 */ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 76, 77, 65, 32, 32,
|
||||
/* 0x03c0 */ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 70,105,108,
|
||||
/* 0x03d0 */ 101, 32,111,102,102, 32, 32, 65,108,103,110, 32, 32, 70,108, 97,
|
||||
/* 0x03e0 */ 103,115, 10, 32, 32, 48, 32, 69, 76, 70, 77, 65, 73, 78, 88, 32,
|
||||
/* 0x03f0 */ 32, 32, 32, 32, 32, 48, 49, 51, 99, 32, 32, 48, 32, 32, 48, 32,
|
||||
/* 0x0400 */ 32, 48, 52, 48, 32, 32, 50, 42, 42, 48, 32, 32, 67, 79, 78, 84,
|
||||
/* 0x0410 */ 69, 78, 84, 83, 10, 32, 32, 49, 32, 69, 76, 70, 77, 65, 73, 78,
|
||||
/* 0x0420 */ 89, 32, 32, 32, 32, 32, 32, 48, 32, 32, 48, 32, 32, 48, 32, 32,
|
||||
/* 0x0430 */ 48, 49, 55, 99, 32, 32, 50, 42, 42, 48, 32, 32, 67, 79, 78, 84,
|
||||
/* 0x0440 */ 69, 78, 84, 83, 10, 32, 32, 50, 32, 69, 76, 70, 77, 65, 73, 78,
|
||||
/* 0x0450 */ 90,101, 32, 32, 32, 32, 32, 48, 49, 56, 32, 32, 48, 32, 32, 48,
|
||||
/* 0x0460 */ 32, 32, 48, 49, 56, 48, 32, 32, 50, 42, 42, 51, 32, 32, 67, 79,
|
||||
/* 0x0470 */ 78, 84, 69, 78, 84, 83, 10, 32, 32, 51, 32, 69, 76, 70, 77, 65,
|
||||
/* 0x0480 */ 73, 78, 90, 32, 32, 32, 32, 32, 32, 48, 49,100, 48, 32, 32, 48,
|
||||
/* 0x0490 */ 32, 32, 48, 32, 32, 48, 49, 57, 56, 32, 32, 50, 42, 42, 48, 32,
|
||||
/* 0x04a0 */ 32, 67, 79, 78, 84, 69, 78, 84, 83, 10, 83, 89, 77, 66, 79, 76,
|
||||
/* 0x04b0 */ 32, 84, 65, 66, 76, 69, 58, 10, 48, 48, 48, 48, 48, 48, 48, 48,
|
||||
/* 0x04c0 */ 48, 48, 48, 48, 48, 48, 48, 48, 32,108, 32, 32, 32, 32,100, 32,
|
||||
/* 0x04d0 */ 32, 69, 76, 70, 77, 65, 73, 78, 90, 32, 48, 32, 69, 76, 70, 77,
|
||||
/* 0x04e0 */ 65, 73, 78, 90, 10, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
|
||||
/* 0x04f0 */ 48, 48, 48, 48, 48, 32,108, 32, 32, 32, 32,100, 32, 32, 69, 76,
|
||||
/* 0x0500 */ 70, 77, 65, 73, 78, 88, 32, 48, 32, 69, 76, 70, 77, 65, 73, 78,
|
||||
/* 0x0510 */ 88, 10, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
|
||||
/* 0x0520 */ 48, 48, 32,108, 32, 32, 32, 32,100, 32, 32, 69, 76, 70, 77, 65,
|
||||
/* 0x0530 */ 73, 78, 89, 32, 48, 32, 69, 76, 70, 77, 65, 73, 78, 89, 10, 48,
|
||||
/* 0x0540 */ 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 32,
|
||||
/* 0x0550 */ 108, 32, 32, 32, 32,100, 32, 32, 69, 76, 70, 77, 65, 73, 78, 90,
|
||||
/* 0x0560 */ 101, 32, 48, 32, 69, 76, 70, 77, 65, 73, 78, 90,101, 10, 48, 48,
|
||||
/* 0x0570 */ 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 32,103,
|
||||
/* 0x0580 */ 32, 32, 32, 32, 32, 32, 32, 69, 76, 70, 77, 65, 73, 78, 88, 32,
|
||||
/* 0x0590 */ 48, 32, 95,115,116, 97,114,116, 10, 48, 48, 48, 48, 48, 48, 48,
|
||||
/* 0x05a0 */ 48, 48, 48, 48, 48, 48, 48, 48, 48, 32,103, 32, 32, 32, 32, 32,
|
||||
/* 0x05b0 */ 32, 32, 69, 76, 70, 77, 65, 73, 78, 90,101, 32, 48, 32,101,110,
|
||||
/* 0x05c0 */ 116,114,121, 95,100,101,115, 99,114, 10, 48, 48, 48, 48, 48, 48,
|
||||
/* 0x05d0 */ 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 32, 32, 32, 32, 32, 32,
|
||||
/* 0x05e0 */ 32, 32, 32, 42, 85, 78, 68, 42, 32, 48, 32, 79, 95, 66, 73, 78,
|
||||
/* 0x05f0 */ 70, 79, 10, 10, 82, 69, 76, 79, 67, 65, 84, 73, 79, 78, 32, 82,
|
||||
/* 0x0600 */ 69, 67, 79, 82, 68, 83, 32, 70, 79, 82, 32, 91, 69, 76, 70, 77,
|
||||
/* 0x0610 */ 65, 73, 78, 88, 93, 58, 10, 79, 70, 70, 83, 69, 84, 32, 32, 32,
|
||||
/* 0x0620 */ 32, 32, 32, 32, 32, 32, 32, 32, 84, 89, 80, 69, 32, 32, 32, 32,
|
||||
/* 0x0630 */ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 86, 65, 76, 85, 69, 10,
|
||||
/* 0x0640 */ 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
|
||||
/* 0x0650 */ 32, 82, 95, 80, 80, 67, 54, 52, 95, 82, 69, 76, 50, 52, 32, 32,
|
||||
/* 0x0660 */ 32, 32, 32, 69, 76, 70, 77, 65, 73, 78, 90, 43, 48,120, 48, 48,
|
||||
/* 0x0670 */ 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 49, 49, 52, 10, 10,
|
||||
/* 0x0680 */ 82, 69, 76, 79, 67, 65, 84, 73, 79, 78, 32, 82, 69, 67, 79, 82,
|
||||
/* 0x0690 */ 68, 83, 32, 70, 79, 82, 32, 91, 69, 76, 70, 77, 65, 73, 78, 90,
|
||||
/* 0x06a0 */ 101, 93, 58, 10, 79, 70, 70, 83, 69, 84, 32, 32, 32, 32, 32, 32,
|
||||
/* 0x06b0 */ 32, 32, 32, 32, 32, 84, 89, 80, 69, 32, 32, 32, 32, 32, 32, 32,
|
||||
/* 0x06c0 */ 32, 32, 32, 32, 32, 32, 32, 86, 65, 76, 85, 69, 10, 48, 48, 48,
|
||||
/* 0x06d0 */ 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 32, 82, 95,
|
||||
/* 0x06e0 */ 80, 80, 67, 54, 52, 95, 65, 68, 68, 82, 54, 52, 32, 32, 32, 32,
|
||||
/* 0x06f0 */ 95,115,116, 97,114,116, 10, 10, 82, 69, 76, 79, 67, 65, 84, 73,
|
||||
/* 0x0700 */ 79, 78, 32, 82, 69, 67, 79, 82, 68, 83, 32, 70, 79, 82, 32, 91,
|
||||
/* 0x0710 */ 69, 76, 70, 77, 65, 73, 78, 90, 93, 58, 10, 79, 70, 70, 83, 69,
|
||||
/* 0x0720 */ 84, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 84, 89, 80, 69,
|
||||
/* 0x0730 */ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 86, 65,
|
||||
/* 0x0740 */ 76, 85, 69, 10, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
|
||||
/* 0x0750 */ 48, 49, 99, 99, 32, 82, 95, 80, 80, 67, 54, 52, 95, 65, 68, 68,
|
||||
/* 0x0760 */ 82, 51, 50, 32, 32, 32, 32, 79, 95, 66, 73, 78, 70, 79, 10
|
||||
};
|
||||
|
||||
2111
src/stub/powerpc64-linux.elf-fold.h
generated
2111
src/stub/powerpc64-linux.elf-fold.h
generated
File diff suppressed because it is too large
Load Diff
163
src/stub/powerpc64le-linux.elf-entry.h
generated
163
src/stub/powerpc64le-linux.elf-entry.h
generated
@ -1,5 +1,5 @@
|
||||
/* powerpc64le-linux.elf-entry.h
|
||||
created from powerpc64le-linux.elf-entry.bin, 1587 (0x633) bytes
|
||||
created from powerpc64le-linux.elf-entry.bin, 1611 (0x64b) bytes
|
||||
|
||||
This file is part of the UPX executable compressor.
|
||||
|
||||
@ -32,14 +32,14 @@
|
||||
|
||||
/* 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
|
||||
#define STUB_POWERPC64LE_LINUX_ELF_ENTRY_SIZE 1611
|
||||
#define STUB_POWERPC64LE_LINUX_ELF_ENTRY_ADLER32 0x9b9ad1cb
|
||||
#define STUB_POWERPC64LE_LINUX_ELF_ENTRY_CRC32 0x362c6cc4
|
||||
|
||||
unsigned char stub_powerpc64le_linux_elf_entry[1587] = {
|
||||
unsigned char stub_powerpc64le_linux_elf_entry[1611] = {
|
||||
/* 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,
|
||||
/* 0x0020 */ 0, 0, 0, 0, 0, 0, 0, 0, 96, 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,
|
||||
@ -62,79 +62,80 @@ unsigned char stub_powerpc64le_linux_elf_entry[1587] = {
|
||||
/* 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
|
||||
/* 0x0190 */ 16, 0,128, 56, 9, 0, 0, 72,117,112,120, 0,166, 2,104,124,
|
||||
/* 0x01a0 */ 104, 1, 0, 56, 2, 0, 0, 68, 32, 0,227, 64, 0, 0,132, 47,
|
||||
/* 0x01b0 */ 8, 0,158, 64, 8, 0,128,124, 22, 0,131, 47,248,255,158, 64,
|
||||
/* 0x01c0 */ 0, 0,128, 56,208,255,255, 75,120, 27,123,124,120, 11, 62,124,
|
||||
/* 0x01d0 */ 224,255, 0, 56, 80, 8, 60,124, 56, 0, 33,124, 0, 0,118,130,
|
||||
/* 0x01e0 */ 166, 3,233,127, 12, 0,246,136,136, 1,158,251,136, 1,222, 56,
|
||||
/* 0x01f0 */ 120, 11, 37,124, 8, 0,150,128, 16, 0,118, 56, 33, 4,128, 78,
|
||||
/* 0x0200 */ 0, 0,129,250,120,219, 99,127,120, 11, 36,124,120,227,133,127,
|
||||
/* 0x0210 */ 4, 0, 0, 56, 2, 0, 0, 68, 8, 0,227, 64, 8, 0,128,124,
|
||||
/* 0x0220 */ 120,243,193,127, 0, 0, 0, 57,120,219,103,127, 2, 0,192, 56,
|
||||
/* 0x0230 */ 5, 0,160, 56,120,227,132,127, 0, 0, 96, 56, 90, 0, 0, 56,
|
||||
/* 0x0240 */ 2, 0, 0, 68, 8, 0,227, 64, 8, 0,128,124,120, 27,125,124,
|
||||
/* 0x0250 */ 120,219, 99,127, 6, 0, 0, 56, 2, 0, 0, 68, 8, 0,227, 64,
|
||||
/* 0x0260 */ 8, 0,128,124, 16, 0, 29, 56, 20,154, 25,127,166, 3, 9,124,
|
||||
/* 0x0270 */ 50, 0, 0, 56,248,255,255,130, 32, 4,128, 78, 0, 0, 3,232,
|
||||
/* 0x0280 */ 8, 0, 99, 56, 0, 0,160, 47,244,255,254, 64, 32, 0,128, 78,
|
||||
/* 0x0290 */ 113,254, 33,248,152, 0, 65,248,160, 0, 97,248,168, 0,129,248,
|
||||
/* 0x02a0 */ 176, 0,161,248,184, 0,193,248,192, 0,225,248,200, 0, 1,249,
|
||||
/* 0x02b0 */ 208, 0, 33,249,216, 0, 65,249,224, 0, 97,249,232, 0,129,249,
|
||||
/* 0x02c0 */ 240, 0,161,249,248, 0,193,249, 0, 1,225,249, 8, 1, 1,250,
|
||||
/* 0x02d0 */ 16, 1, 33,250, 24, 1, 65,250, 32, 1, 97,250, 40, 1,129,250,
|
||||
/* 0x02e0 */ 48, 1,161,250, 56, 1,193,250, 64, 1,225,250, 72, 1, 1,251,
|
||||
/* 0x02f0 */ 80, 1, 33,251, 88, 1, 65,251, 96, 1, 97,251,104, 1,129,251,
|
||||
/* 0x0300 */ 112, 1,161,251,120, 1,193,251,128, 1,225,251,166, 2,232,127,
|
||||
/* 0x0310 */ 152, 1, 97, 56,105,255,255, 75,101,255,255, 75,120, 27,122,124,
|
||||
/* 0x0320 */ 0, 0, 3,232, 8, 0,131,232, 16, 0, 99, 56, 6, 0,160, 47,
|
||||
/* 0x0330 */ 16, 0,222, 65, 0, 0, 32, 44,232,255,226, 64, 1, 0,128, 60,
|
||||
/* 0x0340 */ 208, 0,132,126, 57,254,255, 75, 0, 0, 0, 0,102,105,108,101,
|
||||
/* 0x0350 */ 32,102,111,114,109, 97,116, 32,101,108,102, 54, 52, 45,112,111,
|
||||
/* 0x0360 */ 119,101,114,112, 99,108,101, 10, 10, 83,101, 99,116,105,111,110,
|
||||
/* 0x0370 */ 115, 58, 10, 73,100,120, 32, 78, 97,109,101, 32, 32, 32, 32, 32,
|
||||
/* 0x0380 */ 32, 32, 32, 32, 32, 83,105,122,101, 32, 32, 32, 32, 32, 32, 86,
|
||||
/* 0x0390 */ 77, 65, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
|
||||
/* 0x03a0 */ 32, 76, 77, 65, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
|
||||
/* 0x03b0 */ 32, 32, 32, 70,105,108,101, 32,111,102,102, 32, 32, 65,108,103,
|
||||
/* 0x03c0 */ 110, 32, 32, 70,108, 97,103,115, 10, 32, 32, 48, 32, 69, 76, 70,
|
||||
/* 0x03d0 */ 77, 65, 73, 78, 88, 32, 32, 32, 32, 32, 32, 48, 49, 51, 99, 32,
|
||||
/* 0x03e0 */ 32, 48, 32, 32, 48, 32, 32, 48, 52, 48, 32, 32, 50, 42, 42, 48,
|
||||
/* 0x03f0 */ 32, 32, 67, 79, 78, 84, 69, 78, 84, 83, 10, 32, 32, 49, 32, 69,
|
||||
/* 0x0400 */ 76, 70, 77, 65, 73, 78, 89, 32, 32, 32, 32, 32, 32, 48, 32, 32,
|
||||
/* 0x0410 */ 48, 32, 32, 48, 32, 32, 48, 49, 55, 99, 32, 32, 50, 42, 42, 48,
|
||||
/* 0x0420 */ 32, 32, 67, 79, 78, 84, 69, 78, 84, 83, 10, 32, 32, 50, 32, 69,
|
||||
/* 0x0430 */ 76, 70, 77, 65, 73, 78, 90, 32, 32, 32, 32, 32, 32, 48, 49,100,
|
||||
/* 0x0440 */ 48, 32, 32, 48, 32, 32, 48, 32, 32, 48, 49, 55, 99, 32, 32, 50,
|
||||
/* 0x0450 */ 42, 42, 48, 32, 32, 67, 79, 78, 84, 69, 78, 84, 83, 10, 83, 89,
|
||||
/* 0x0460 */ 77, 66, 79, 76, 32, 84, 65, 66, 76, 69, 58, 10, 48, 48, 48, 48,
|
||||
/* 0x0470 */ 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 32,108, 32, 32,
|
||||
/* 0x0480 */ 32, 32,100, 32, 32, 69, 76, 70, 77, 65, 73, 78, 90, 32, 48, 32,
|
||||
/* 0x0490 */ 69, 76, 70, 77, 65, 73, 78, 90, 10, 48, 48, 48, 48, 48, 48, 48,
|
||||
/* 0x04a0 */ 48, 48, 48, 48, 48, 48, 48, 48, 48, 32,108, 32, 32, 32, 32,100,
|
||||
/* 0x04b0 */ 32, 32, 69, 76, 70, 77, 65, 73, 78, 88, 32, 48, 32, 69, 76, 70,
|
||||
/* 0x04c0 */ 77, 65, 73, 78, 88, 10, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
|
||||
/* 0x04d0 */ 48, 48, 48, 48, 48, 48, 32,108, 32, 32, 32, 32,100, 32, 32, 69,
|
||||
/* 0x04e0 */ 76, 70, 77, 65, 73, 78, 89, 32, 48, 32, 69, 76, 70, 77, 65, 73,
|
||||
/* 0x04f0 */ 78, 89, 10, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
|
||||
/* 0x0500 */ 48, 48, 48, 32,103, 32, 32, 32, 32, 32, 32, 32, 69, 76, 70, 77,
|
||||
/* 0x0510 */ 65, 73, 78, 88, 32, 48, 32, 95,115,116, 97,114,116, 10, 48, 48,
|
||||
/* 0x0520 */ 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 32, 32,
|
||||
/* 0x0530 */ 32, 32, 32, 32, 32, 32, 32, 42, 85, 78, 68, 42, 32, 48, 32, 79,
|
||||
/* 0x0540 */ 95, 66, 73, 78, 70, 79, 10, 10, 82, 69, 76, 79, 67, 65, 84, 73,
|
||||
/* 0x0550 */ 79, 78, 32, 82, 69, 67, 79, 82, 68, 83, 32, 70, 79, 82, 32, 91,
|
||||
/* 0x0560 */ 69, 76, 70, 77, 65, 73, 78, 88, 93, 58, 10, 79, 70, 70, 83, 69,
|
||||
/* 0x0570 */ 84, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 84, 89, 80, 69,
|
||||
/* 0x0580 */ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 86, 65,
|
||||
/* 0x0590 */ 76, 85, 69, 10, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
|
||||
/* 0x05a0 */ 48, 48, 48, 48, 32, 82, 95, 80, 80, 67, 54, 52, 95, 82, 69, 76,
|
||||
/* 0x05b0 */ 50, 52, 32, 32, 32, 32, 32, 69, 76, 70, 77, 65, 73, 78, 90, 43,
|
||||
/* 0x05c0 */ 48,120, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 49,
|
||||
/* 0x05d0 */ 49, 52, 10, 10, 82, 69, 76, 79, 67, 65, 84, 73, 79, 78, 32, 82,
|
||||
/* 0x05e0 */ 69, 67, 79, 82, 68, 83, 32, 70, 79, 82, 32, 91, 69, 76, 70, 77,
|
||||
/* 0x05f0 */ 65, 73, 78, 90, 93, 58, 10, 79, 70, 70, 83, 69, 84, 32, 32, 32,
|
||||
/* 0x0600 */ 32, 32, 32, 32, 32, 32, 32, 32, 84, 89, 80, 69, 32, 32, 32, 32,
|
||||
/* 0x0610 */ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 86, 65, 76, 85, 69, 10,
|
||||
/* 0x0620 */ 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 49, 99, 99,
|
||||
/* 0x0630 */ 32, 82, 95, 80, 80, 67, 54, 52, 95, 65, 68, 68, 82, 51, 50, 32,
|
||||
/* 0x0640 */ 32, 32, 32, 79, 95, 66, 73, 78, 70, 79, 10
|
||||
};
|
||||
|
||||
2100
src/stub/powerpc64le-linux.elf-fold.h
generated
2100
src/stub/powerpc64le-linux.elf-fold.h
generated
File diff suppressed because it is too large
Load Diff
@ -72,6 +72,8 @@ __NR_munmap = 91
|
||||
__NR_open = 5
|
||||
__NR_write = 4
|
||||
|
||||
EINVAL= 22
|
||||
|
||||
section ELFMAINX
|
||||
sz_pack2= -4+ _start
|
||||
_start: .globl _start
|
||||
@ -160,11 +162,19 @@ unfold: // IN: r_auxv, r_PMASK
|
||||
sub r_elf,r_elf,r0 // r_elf=&Elf32_Ehdr of stub
|
||||
lwz r_LENU, sz_unc + LBINFO - LrFLD(r_FLD) // sz_unc of fold
|
||||
|
||||
li a1,MFD_EXEC // modern clue
|
||||
mfd_try:
|
||||
call 0f; .asciz "upx"; 0:
|
||||
mflr a0
|
||||
li a1,MFD_EXEC
|
||||
SYS_memfd_create= __NR_memfd_create
|
||||
li r0,SYS_memfd_create; sc; bns+ 0f; teq r0,r0; 0:
|
||||
li r0,SYS_memfd_create; sc; bns+ 0f // success
|
||||
cmpi cr7,a1,0; bne cr7,1f // not 2nd time
|
||||
8:
|
||||
teq r0,r0 // 2nd error, or unexpected 1st error
|
||||
1:
|
||||
cmpi cr7,a0,EINVAL; bne cr7,8b // unexpected 1st error
|
||||
li a1,0; b mfd_try // 2nd attempt
|
||||
0:
|
||||
mr r_fd,a0
|
||||
|
||||
//Reserve enough space to decompress the folded code of the stub
|
||||
|
||||
@ -298,8 +298,6 @@ brk: .globl brk
|
||||
li r0,SYS_brk; 5: b 5f
|
||||
readlink: .globl readlink
|
||||
li r0,SYS_readlink; 5: b 5f
|
||||
memfd_create: .globl memfd_create
|
||||
li r0,SYS_memfd_create; b 5f
|
||||
ftruncate: .globl ftruncate
|
||||
li r0,SYS_ftruncate;5: b 5f
|
||||
close: .globl close
|
||||
@ -325,6 +323,28 @@ sysgo:
|
||||
no_fail:
|
||||
ret
|
||||
|
||||
__NR_memfd_create= 360
|
||||
MFD_EXEC= 0x10
|
||||
EINVAL= 22
|
||||
|
||||
memfd_create: .globl memfd_create
|
||||
mflr a3
|
||||
li a1,MFD_EXEC // modern clue
|
||||
mfd_try:
|
||||
call 0f; .asciz "upx"; 0:
|
||||
mflr a0
|
||||
SYS_memfd_create= __NR_memfd_create
|
||||
li r0,SYS_memfd_create; sc; bns+ 0f // success
|
||||
cmpi cr7,a1,0; bne cr7,1f // not 2nd time
|
||||
8:
|
||||
teq r0,r0 // 2nd error, or unexpected 1st error
|
||||
1:
|
||||
cmpi cr7,a0,EINVAL; bne cr7,8b // unexpected 1st error
|
||||
li a1,0; b mfd_try // 2nd attempt
|
||||
0:
|
||||
mtlr a3
|
||||
ret
|
||||
|
||||
memcpy: .globl memcpy // (dst, src, n)
|
||||
cmpwi a2,0; beq- 9f
|
||||
mtctr a2
|
||||
|
||||
@ -71,6 +71,8 @@ __NR_close = 6
|
||||
__NR_open = 5
|
||||
__NR_write = 4
|
||||
|
||||
EINVAL= 22
|
||||
|
||||
section ELFMAINX
|
||||
sz_pack2= .-4
|
||||
_start: .globl _start
|
||||
@ -168,11 +170,19 @@ unfold: // IN: r_auxv, r_PMASK
|
||||
sub r_elf,r_elf,r0 // r_elf=&Elf32_Ehdr of stub
|
||||
lwz r_LENU, sz_unc + LBINFO - LrFLD(r_FLD) // sz_unc of fold
|
||||
|
||||
li a1,MFD_EXEC // modern clue
|
||||
mfd_try:
|
||||
call 0f; .asciz "upx"; 0:
|
||||
mflr a0
|
||||
li a1,MFD_EXEC
|
||||
SYS_memfd_create= __NR_memfd_create
|
||||
li r0,SYS_memfd_create; sc; bns+ 0f; teq r0,r0; 0:
|
||||
li r0,SYS_memfd_create; sc; bns+ 0f // success
|
||||
cmpi cr7,a1,0; bne cr7,1f // not 2nd time
|
||||
8:
|
||||
teq r0,r0 // 2nd error, or unexpected 1st error
|
||||
1:
|
||||
cmpi cr7,a0,EINVAL; bne cr7,8b // unexpected 1st error
|
||||
li a1,0; b mfd_try // 2nd attempt
|
||||
0:
|
||||
mr r_fd,a0
|
||||
|
||||
//Reserve enough space to decompress the folded code of the stub
|
||||
|
||||
@ -375,8 +375,6 @@ mprotect: .globl mprotect
|
||||
li 0,SYS_mprotect; 5: b 5f
|
||||
msync: .globl msync
|
||||
li 0,SYS_msync; 5: b 5f
|
||||
memfd_create: .globl memfd_create
|
||||
li r0,SYS_memfd_create; 5: b 5f
|
||||
ftruncate: .globl ftruncate
|
||||
li r0,SYS_ftruncate;5: b 5f
|
||||
exit: .globl exit
|
||||
@ -412,6 +410,28 @@ O_TMPFILE= 020000000 // 0x400000
|
||||
ok_memfd:
|
||||
ret
|
||||
|
||||
__NR_memfd_create= 360
|
||||
MFD_EXEC= 0x10
|
||||
EINVAL= 22
|
||||
|
||||
memfd_create: .globl memfd_create
|
||||
mflr a3
|
||||
li a1,MFD_EXEC // modern clue
|
||||
mfd_try:
|
||||
call 0f; .asciz "upx"; 0:
|
||||
mflr a0
|
||||
SYS_memfd_create= __NR_memfd_create
|
||||
li r0,SYS_memfd_create; sc; bns+ 0f // success
|
||||
cmpi cr7,a1,0; bne cr7,1f // not 2nd time
|
||||
8:
|
||||
teq r0,r0 // 2nd error, or unexpected 1st error
|
||||
1:
|
||||
cmpi cr7,a0,EINVAL; bne cr7,8b // unexpected 1st error
|
||||
li a1,0; b mfd_try // 2nd attempt
|
||||
0:
|
||||
mtlr a3
|
||||
ret
|
||||
|
||||
memcpy: .globl memcpy // (dst, src, n)
|
||||
cmpwi a2,0; beq- 9f
|
||||
mtctr a2
|
||||
|
||||
8
src/stub/tmp/powerpc-linux.elf-entry.bin.dump
generated
vendored
8
src/stub/tmp/powerpc-linux.elf-entry.bin.dump
generated
vendored
@ -4,7 +4,7 @@ Sections:
|
||||
Idx Name Size VMA LMA File off Algn Flags
|
||||
0 ELFMAINX 0138 0 0 034 2**0 CONTENTS
|
||||
1 ELFMAINY 0 0 0 016c 2**0 CONTENTS
|
||||
2 ELFMAINZ 0140 0 0 016c 2**0 CONTENTS
|
||||
2 ELFMAINZ 0158 0 0 016c 2**0 CONTENTS
|
||||
SYMBOL TABLE:
|
||||
00000000 l d ELFMAINX 0 ELFMAINX
|
||||
00000000 l d ELFMAINZ 0 ELFMAINZ
|
||||
@ -14,9 +14,9 @@ SYMBOL TABLE:
|
||||
|
||||
RELOCATION RECORDS FOR [ELFMAINX]:
|
||||
OFFSET TYPE VALUE
|
||||
00000000 R_PPC_REL24 ELFMAINZ+0x000000f8
|
||||
00000000 R_PPC_REL24 ELFMAINZ+0x00000110
|
||||
|
||||
RELOCATION RECORDS FOR [ELFMAINZ]:
|
||||
OFFSET TYPE VALUE
|
||||
00000064 R_PPC_REL24 ELFMAINX+0x00000004
|
||||
0000013c R_PPC_ADDR32 O_BINFO
|
||||
0000007c R_PPC_REL24 ELFMAINX+0x00000004
|
||||
00000154 R_PPC_ADDR32 O_BINFO
|
||||
|
||||
30
src/stub/tmp/powerpc-linux.elf-fold.map
generated
vendored
30
src/stub/tmp/powerpc-linux.elf-fold.map
generated
vendored
@ -50,24 +50,24 @@ LOAD tmp/powerpc-expand.o
|
||||
LOAD tmp/powerpc-linux.elf-main2.o
|
||||
OUTPUT(tmp/powerpc-linux.elf-fold.bin elf32-powerpc)
|
||||
|
||||
SYSCALLS 0x0000000000000000 0xbc
|
||||
SYSCALLS 0x0000000000000000 0xbc tmp/powerpc-linux.elf-fold.o
|
||||
0x0000000000000058 munmap
|
||||
0x0000000000000074 memcpy
|
||||
SYSCALLS 0x0000000000000000 0xf8
|
||||
SYSCALLS 0x0000000000000000 0xf8 tmp/powerpc-linux.elf-fold.o
|
||||
0x0000000000000050 munmap
|
||||
0x00000000000000b0 memcpy
|
||||
0x0000000000000010 readlink
|
||||
0x0000000000000020 ftruncate
|
||||
0x0000000000000060 mmap
|
||||
0x0000000000000030 write
|
||||
0x0000000000000018 memfd_create
|
||||
0x0000000000000038 read
|
||||
0x0000000000000098 memset
|
||||
0x0000000000000050 msync
|
||||
0x00000000000000b4 my_bkpt
|
||||
0x0000000000000018 ftruncate
|
||||
0x0000000000000058 mmap
|
||||
0x0000000000000028 write
|
||||
0x000000000000006c memfd_create
|
||||
0x0000000000000030 read
|
||||
0x00000000000000d4 memset
|
||||
0x0000000000000048 msync
|
||||
0x00000000000000f0 my_bkpt
|
||||
0x0000000000000000 exit
|
||||
0x0000000000000008 brk
|
||||
0x0000000000000040 open
|
||||
0x0000000000000048 mprotect
|
||||
0x0000000000000028 close
|
||||
0x0000000000000038 open
|
||||
0x0000000000000040 mprotect
|
||||
0x0000000000000020 close
|
||||
|
||||
EXP_HEAD 0x0000000000000000 0xa8
|
||||
EXP_HEAD 0x0000000000000000 0xa8 tmp/powerpc-expand.o
|
||||
|
||||
6
src/stub/tmp/powerpc64-linux.elf-entry.bin.dump
generated
vendored
6
src/stub/tmp/powerpc64-linux.elf-entry.bin.dump
generated
vendored
@ -5,7 +5,7 @@ Idx Name Size VMA LMA File off Algn
|
||||
0 ELFMAINX 013c 0 0 040 2**0 CONTENTS
|
||||
1 ELFMAINY 0 0 0 017c 2**0 CONTENTS
|
||||
2 ELFMAINZe 018 0 0 0180 2**3 CONTENTS
|
||||
3 ELFMAINZ 01b8 0 0 0198 2**0 CONTENTS
|
||||
3 ELFMAINZ 01d0 0 0 0198 2**0 CONTENTS
|
||||
SYMBOL TABLE:
|
||||
0000000000000000 l d ELFMAINZ 0 ELFMAINZ
|
||||
0000000000000000 l d ELFMAINX 0 ELFMAINX
|
||||
@ -17,7 +17,7 @@ SYMBOL TABLE:
|
||||
|
||||
RELOCATION RECORDS FOR [ELFMAINX]:
|
||||
OFFSET TYPE VALUE
|
||||
0000000000000000 R_PPC64_REL24 ELFMAINZ+0x00000000000000fc
|
||||
0000000000000000 R_PPC64_REL24 ELFMAINZ+0x0000000000000114
|
||||
|
||||
RELOCATION RECORDS FOR [ELFMAINZe]:
|
||||
OFFSET TYPE VALUE
|
||||
@ -25,4 +25,4 @@ OFFSET TYPE VALUE
|
||||
|
||||
RELOCATION RECORDS FOR [ELFMAINZ]:
|
||||
OFFSET TYPE VALUE
|
||||
00000000000001b4 R_PPC64_ADDR32 O_BINFO
|
||||
00000000000001cc R_PPC64_ADDR32 O_BINFO
|
||||
|
||||
28
src/stub/tmp/powerpc64-linux.elf-fold.map
generated
vendored
28
src/stub/tmp/powerpc64-linux.elf-fold.map
generated
vendored
@ -27,24 +27,24 @@ OUTPUT(tmp/powerpc64-linux.elf-fold.bin elf64-powerpc)
|
||||
.bss 0x0000000000000000 0x0
|
||||
.bss 0x0000000000000000 0x0 tmp/powerpc64-linux.elf-fold.o
|
||||
|
||||
SYSCALLS 0x0000000000000000 0x104
|
||||
SYSCALLS 0x0000000000000000 0x104 tmp/powerpc64-linux.elf-fold.o
|
||||
SYSCALLS 0x0000000000000000 0x140
|
||||
SYSCALLS 0x0000000000000000 0x140 tmp/powerpc64-linux.elf-fold.o
|
||||
0x0000000000000008 mmap
|
||||
0x0000000000000020 munmap
|
||||
0x0000000000000028 mprotect
|
||||
0x0000000000000030 msync
|
||||
0x0000000000000038 memfd_create
|
||||
0x0000000000000040 ftruncate
|
||||
0x0000000000000048 exit
|
||||
0x0000000000000050 brk
|
||||
0x0000000000000058 readlink
|
||||
0x0000000000000060 write
|
||||
0x0000000000000068 read
|
||||
0x0000000000000070 open
|
||||
0x0000000000000078 close
|
||||
0x0000000000000080 upxfd_create
|
||||
0x00000000000000d8 memcpy
|
||||
0x00000000000000fc my_bkpt
|
||||
0x0000000000000038 ftruncate
|
||||
0x0000000000000040 exit
|
||||
0x0000000000000048 brk
|
||||
0x0000000000000050 readlink
|
||||
0x0000000000000058 write
|
||||
0x0000000000000060 read
|
||||
0x0000000000000068 open
|
||||
0x0000000000000070 close
|
||||
0x0000000000000078 upxfd_create
|
||||
0x00000000000000d0 memfd_create
|
||||
0x0000000000000114 memcpy
|
||||
0x0000000000000138 my_bkpt
|
||||
|
||||
.comment 0x0000000000000000 0x33
|
||||
.comment 0x0000000000000000 0x33 tmp/powerpc64-linux.elf-fold.o
|
||||
|
||||
6
src/stub/tmp/powerpc64le-linux.elf-entry.bin.dump
generated
vendored
6
src/stub/tmp/powerpc64le-linux.elf-entry.bin.dump
generated
vendored
@ -4,7 +4,7 @@ Sections:
|
||||
Idx Name Size VMA LMA File off Algn Flags
|
||||
0 ELFMAINX 013c 0 0 040 2**0 CONTENTS
|
||||
1 ELFMAINY 0 0 0 017c 2**0 CONTENTS
|
||||
2 ELFMAINZ 01b8 0 0 017c 2**0 CONTENTS
|
||||
2 ELFMAINZ 01d0 0 0 017c 2**0 CONTENTS
|
||||
SYMBOL TABLE:
|
||||
0000000000000000 l d ELFMAINZ 0 ELFMAINZ
|
||||
0000000000000000 l d ELFMAINX 0 ELFMAINX
|
||||
@ -14,8 +14,8 @@ SYMBOL TABLE:
|
||||
|
||||
RELOCATION RECORDS FOR [ELFMAINX]:
|
||||
OFFSET TYPE VALUE
|
||||
0000000000000000 R_PPC64_REL24 ELFMAINZ+0x00000000000000fc
|
||||
0000000000000000 R_PPC64_REL24 ELFMAINZ+0x0000000000000114
|
||||
|
||||
RELOCATION RECORDS FOR [ELFMAINZ]:
|
||||
OFFSET TYPE VALUE
|
||||
00000000000001b4 R_PPC64_ADDR32 O_BINFO
|
||||
00000000000001cc R_PPC64_ADDR32 O_BINFO
|
||||
|
||||
28
src/stub/tmp/powerpc64le-linux.elf-fold.map
generated
vendored
28
src/stub/tmp/powerpc64le-linux.elf-fold.map
generated
vendored
@ -27,24 +27,24 @@ OUTPUT(tmp/powerpc64le-linux.elf-fold.bin elf64-powerpcle)
|
||||
.bss 0x0000000000000000 0x0
|
||||
.bss 0x0000000000000000 0x0 tmp/powerpc64le-linux.elf-fold.o
|
||||
|
||||
SYSCALLS 0x0000000000000000 0x104
|
||||
SYSCALLS 0x0000000000000000 0x104 tmp/powerpc64le-linux.elf-fold.o
|
||||
SYSCALLS 0x0000000000000000 0x140
|
||||
SYSCALLS 0x0000000000000000 0x140 tmp/powerpc64le-linux.elf-fold.o
|
||||
0x0000000000000008 mmap
|
||||
0x0000000000000020 munmap
|
||||
0x0000000000000028 mprotect
|
||||
0x0000000000000030 msync
|
||||
0x0000000000000038 memfd_create
|
||||
0x0000000000000040 ftruncate
|
||||
0x0000000000000048 exit
|
||||
0x0000000000000050 brk
|
||||
0x0000000000000058 readlink
|
||||
0x0000000000000060 write
|
||||
0x0000000000000068 read
|
||||
0x0000000000000070 open
|
||||
0x0000000000000078 close
|
||||
0x0000000000000080 upxfd_create
|
||||
0x00000000000000d8 memcpy
|
||||
0x00000000000000fc my_bkpt
|
||||
0x0000000000000038 ftruncate
|
||||
0x0000000000000040 exit
|
||||
0x0000000000000048 brk
|
||||
0x0000000000000050 readlink
|
||||
0x0000000000000058 write
|
||||
0x0000000000000060 read
|
||||
0x0000000000000068 open
|
||||
0x0000000000000070 close
|
||||
0x0000000000000078 upxfd_create
|
||||
0x00000000000000d0 memfd_create
|
||||
0x0000000000000114 memcpy
|
||||
0x0000000000000138 my_bkpt
|
||||
|
||||
.comment 0x0000000000000000 0x33
|
||||
.comment 0x0000000000000000 0x33 tmp/powerpc64le-linux.elf-fold.o
|
||||
|
||||
Loading…
Reference in New Issue
Block a user