Insert copyright notice (equivalent to ident_s.ash) into stub by hand

because buildLoader is not fully working yet
	l_lx_elf64amd.S l_lx_elfppc32.S l_mac_ppc32.S

committer: jreiser <jreiser> 1145825498 +0000
This commit is contained in:
John Reiser 2006-04-23 20:51:38 +00:00
parent 6984be48c3
commit eaa463e1c9
6 changed files with 70 additions and 45 deletions

View File

@ -169,6 +169,8 @@ eof:
pop %rbx; pop %rbp
ret
/* Temporary until we get the buildLoader stuff working ... */
.asciz "\n$Id$\n"
/* These from /usr/include/asm-x86_64/unistd.h */
__NR_write = 1

View File

@ -1,4 +1,4 @@
/* l_lx_elf64amd.h -- created from l_lx_elf64amd.bin, 616 (0x268) bytes
/* l_lx_elf64amd.h -- created from l_lx_elf64amd.bin, 696 (0x2b8) bytes
This file is part of the UPX executable compressor.
@ -27,12 +27,12 @@
*/
#define LINUX_ELF64AMD_LOADER_SIZE 616
#define LINUX_ELF64AMD_LOADER_ADLER32 0x3d3a267e
#define LINUX_ELF64AMD_LOADER_CRC32 0x323363cd
#define LINUX_ELF64AMD_LOADER_SIZE 696
#define LINUX_ELF64AMD_LOADER_ADLER32 0x5f8e3dec
#define LINUX_ELF64AMD_LOADER_CRC32 0x2f447d28
unsigned char linux_elf64amd_loader[616] = {
232, 93, 2, 0, 0, 85, 83, 81, 82, 72, 1,254, 86, 72,137,254, /* 0x 0 */
unsigned char linux_elf64amd_loader[696] = {
232,173, 2, 0, 0, 85, 83, 81, 82, 72, 1,254, 86, 72,137,254, /* 0x 0 */
72,137,215, 49,219, 49,201, 72,131,205,255,232,129, 1, 0, 0, /* 0x 10 */
1,219,116, 2,243,195,139, 30, 72,131,238,252, 17,219,138, 22, /* 0x 20 */
243,195, 72,141, 4, 47,131,249, 5,138, 16,118, 33, 72,131,253, /* 0x 30 */
@ -60,15 +60,20 @@ unsigned char linux_elf64amd_loader[616] = {
237, 72,129,253, 0,243,255,255, 17,193,232,147,254,255,255,235, /* 0x 190 */
135,252, 65, 91, 65,131,248, 8, 15,132,202,254,255,255, 65,131, /* 0x 1a0 */
248, 2, 15,132,112,255,255,255, 89, 72,137,240, 72, 41,200, 90, /* 0x 1b0 */
72, 41,215, 89,137, 57, 91, 93,195,104, 25, 0, 0, 0, 90,232, /* 0x 1c0 */
25, 0, 0, 0, 83, 69, 76,105,110,117,120, 32,100,101,110,105, /* 0x 1d0 */
101,100, 32,101,120,101, 99,109,101,109, 46, 10, 0, 94,106, 2, /* 0x 1e0 */
95,106, 1, 88, 15, 5,106,127, 95,106, 60, 88, 15, 5, 91,191, /* 0x 1f0 */
65, 68, 82, 77,106, 7, 90,190, 76, 69, 78, 77,106, 50, 65, 90, /* 0x 200 */
69, 41,192,106, 9, 88, 15, 5, 57,199,117,173,104, 74, 77, 80, /* 0x 210 */
85,104, 65, 68, 82, 85,190, 65, 68, 82, 67,104, 76, 69, 78, 85, /* 0x 220 */
185, 67, 78, 84, 67,104, 65, 68, 82, 88,104, 76, 69, 78, 88,137, /* 0x 230 */
250, 41,242, 1,213, 1,211,252,243, 72,165,151,137,222, 80,146, /* 0x 240 */
173, 80, 72,137,225,173,151,173, 68, 15,182,192,135,254,255,213, /* 0x 250 */
89,195, 93,232,150,255,255,255 /* 0x 260 */
72, 41,215, 89,137, 57, 91, 93,195, 10, 36, 73,100, 58, 32, 85, /* 0x 1c0 */
80, 88, 32, 40, 67, 41, 32, 49, 57, 57, 54, 45, 50, 48, 48, 54, /* 0x 1d0 */
32,116,104,101, 32, 85, 80, 88, 32, 84,101, 97,109, 46, 32, 65, /* 0x 1e0 */
108,108, 32, 82,105,103,104,116,115, 32, 82,101,115,101,114,118, /* 0x 1f0 */
101,100, 46, 32,104,116,116,112, 58, 47, 47,117,112,120, 46,115, /* 0x 200 */
102, 46,110,101,116, 32, 36, 10, 0,104, 25, 0, 0, 0, 90,232, /* 0x 210 */
25, 0, 0, 0, 83, 69, 76,105,110,117,120, 32,100,101,110,105, /* 0x 220 */
101,100, 32,101,120,101, 99,109,101,109, 46, 10, 0, 94,106, 2, /* 0x 230 */
95,106, 1, 88, 15, 5,106,127, 95,106, 60, 88, 15, 5, 91,191, /* 0x 240 */
65, 68, 82, 77,106, 7, 90,190, 76, 69, 78, 77,106, 50, 65, 90, /* 0x 250 */
69, 41,192,106, 9, 88, 15, 5, 57,199,117,173,104, 74, 77, 80, /* 0x 260 */
85,104, 65, 68, 82, 85,190, 65, 68, 82, 67,104, 76, 69, 78, 85, /* 0x 270 */
185, 67, 78, 84, 67,104, 65, 68, 82, 88,104, 76, 69, 78, 88,137, /* 0x 280 */
250, 41,242, 1,213, 1,211,252,243, 72,165,151,137,222, 80,146, /* 0x 290 */
173, 80, 72,137,225,173,151,173, 68, 15,182,192,135,254,255,213, /* 0x 2a0 */
89,195, 93,232,150,255,255,255 /* 0x 2b0 */
};

View File

@ -54,6 +54,10 @@ __NR_mmap= 90
PAGE_SHIFT= 12
PAGE_SIZE = -(~0<<PAGE_SHIFT)
/* Temporary until we get the buildLoader stuff working ... */
.asciz "\n$Id$\n"
.align 2 # (1<<2)
/* /usr/include/asm-ppc/unistd.h */
__NR_write = 4
__NR_exit = 1

View File

@ -1,4 +1,4 @@
/* l_lx_elfppc32.h -- created from l_lx_elfppc32.bin, 520 (0x208) bytes
/* l_lx_elfppc32.h -- created from l_lx_elfppc32.bin, 600 (0x258) bytes
This file is part of the UPX executable compressor.
@ -27,12 +27,12 @@
*/
#define LINUX_ELFPPC32_LOADER_SIZE 520
#define LINUX_ELFPPC32_LOADER_ADLER32 0xf7e3a67a
#define LINUX_ELFPPC32_LOADER_CRC32 0x6504240e
#define LINUX_ELFPPC32_LOADER_SIZE 600
#define LINUX_ELFPPC32_LOADER_ADLER32 0x4d08bce9
#define LINUX_ELFPPC32_LOADER_CRC32 0x15fa8f8e
unsigned char linux_elfppc32_loader[520] = {
72, 0, 1,249,124, 0, 41,236,144,166, 0, 0,124,132, 26, 20, /* 0x 0 */
unsigned char linux_elfppc32_loader[600] = {
72, 0, 2, 73,124, 0, 41,236,144,166, 0, 0,124,132, 26, 20, /* 0x 0 */
60, 0,128, 0, 61, 32,128, 0, 56, 99,255,255, 56,165,255,255, /* 0x 10 */
57, 64,255,255,125,168, 2,166, 72, 0, 1, 12, 57, 32, 0, 1, /* 0x 20 */
125, 41, 28, 44, 56, 99, 0, 4,124, 9, 0, 64,125, 41, 72, 20, /* 0x 30 */
@ -54,15 +54,20 @@ unsigned char linux_elfppc32_loader[520] = {
66, 0,255,248, 56,224, 1, 0,124, 7, 41,236,124, 7, 26, 44, /* 0x 130 */
75,255,255, 16,128, 6, 0, 0,125,168, 3,166, 56,165, 0, 1, /* 0x 140 */
56, 99, 0, 1,124,160, 40, 80,124,100, 24, 80,144,166, 0, 0, /* 0x 150 */
78,128, 0, 32, 72, 0, 0, 33, 83, 69, 76,105,110,117,120, 32, /* 0x 160 */
100,101,110,105,101,100, 32,101,120,101, 99,109,101,109, 46, 10, /* 0x 170 */
0, 0, 0, 0, 56,160, 0, 28,124,136, 2,166, 56, 96, 0, 2, /* 0x 180 */
56, 0, 0, 4, 68, 0, 0, 2, 56, 96, 0,127, 56, 0, 0, 1, /* 0x 190 */
68, 0, 0, 2,127,200, 2,166, 57, 0, 0, 0, 56,224,255,255, /* 0x 1a0 */
128,126, 0, 4, 56,192, 0, 50, 56,160, 0, 7, 56,128, 16, 0, /* 0x 1b0 */
124, 99,242, 20, 56, 0, 0, 90, 56, 99, 16, 11, 84, 99, 0, 38, /* 0x 1c0 */
68, 0, 0, 2, 65,163,255,144,127,233, 3,166,136,254, 0, 8, /* 0x 1d0 */
56,193, 0,124,124,101, 27,120,124,104, 3,166,128,158, 0, 4, /* 0x 1e0 */
56,126, 0, 12, 78,128, 4, 32,148, 33,255,128,188, 65, 0, 4, /* 0x 1f0 */
127,232, 2,166, 75,255,255,161 /* 0x 200 */
78,128, 0, 32, 10, 36, 73,100, 58, 32, 85, 80, 88, 32, 40, 67, /* 0x 160 */
41, 32, 49, 57, 57, 54, 45, 50, 48, 48, 54, 32,116,104,101, 32, /* 0x 170 */
85, 80, 88, 32, 84,101, 97,109, 46, 32, 65,108,108, 32, 82,105, /* 0x 180 */
103,104,116,115, 32, 82,101,115,101,114,118,101,100, 46, 32,104, /* 0x 190 */
116,116,112, 58, 47, 47,117,112,120, 46,115,102, 46,110,101,116, /* 0x 1a0 */
32, 36, 10, 0, 72, 0, 0, 33, 83, 69, 76,105,110,117,120, 32, /* 0x 1b0 */
100,101,110,105,101,100, 32,101,120,101, 99,109,101,109, 46, 10, /* 0x 1c0 */
0, 0, 0, 0, 56,160, 0, 28,124,136, 2,166, 56, 96, 0, 2, /* 0x 1d0 */
56, 0, 0, 4, 68, 0, 0, 2, 56, 96, 0,127, 56, 0, 0, 1, /* 0x 1e0 */
68, 0, 0, 2,127,200, 2,166, 57, 0, 0, 0, 56,224,255,255, /* 0x 1f0 */
128,126, 0, 4, 56,192, 0, 50, 56,160, 0, 7, 56,128, 16, 0, /* 0x 200 */
124, 99,242, 20, 56, 0, 0, 90, 56, 99, 16, 11, 84, 99, 0, 38, /* 0x 210 */
68, 0, 0, 2, 65,163,255,144,127,233, 3,166,136,254, 0, 8, /* 0x 220 */
56,193, 0,124,124,101, 27,120,124,104, 3,166,128,158, 0, 4, /* 0x 230 */
56,126, 0, 12, 78,128, 4, 32,148, 33,255,128,188, 65, 0, 4, /* 0x 240 */
127,232, 2,166, 75,255,255,161 /* 0x 250 */
};

View File

@ -33,6 +33,10 @@ _start: .globl _start
call main # must be exactly 1 instruction; link_register= &decompress
#include "ppc_d_nrv2e.S"
/* Temporary until we get the buildLoader stuff working ... */
.asciz "\n$Id$\n"
.align 2 # (1<<2)
sz_b_info= 12
sz_unc= 0
sz_cpr= 4

View File

@ -1,4 +1,4 @@
/* l_mac_ppc32.h -- created from l_mac_ppc32.bin, 428 (0x1ac) bytes
/* l_mac_ppc32.h -- created from l_mac_ppc32.bin, 508 (0x1fc) bytes
This file is part of the UPX executable compressor.
@ -27,12 +27,12 @@
*/
#define L_MAC_PPC32_LOADER_SIZE 428
#define L_MAC_PPC32_LOADER_ADLER32 0x0c8e93a4
#define L_MAC_PPC32_LOADER_CRC32 0xa1fb1065
#define L_MAC_PPC32_LOADER_SIZE 508
#define L_MAC_PPC32_LOADER_ADLER32 0x2cecab12
#define L_MAC_PPC32_LOADER_CRC32 0x8bce10ce
unsigned char l_mac_ppc32_loader[428] = {
72, 0, 1,161,124, 0, 41,236,144,166, 0, 0,124,132, 26, 20, /* 0x 0 */
unsigned char l_mac_ppc32_loader[508] = {
72, 0, 1,241,124, 0, 41,236,144,166, 0, 0,124,132, 26, 20, /* 0x 0 */
60, 0,128, 0, 61, 32,128, 0, 56, 99,255,255, 56,165,255,255, /* 0x 10 */
57, 64,255,255,125,168, 2,166, 72, 0, 1, 12, 57, 32, 0, 1, /* 0x 20 */
125, 41, 28, 44, 56, 99, 0, 4,124, 9, 0, 64,125, 41, 72, 20, /* 0x 30 */
@ -54,9 +54,14 @@ unsigned char l_mac_ppc32_loader[428] = {
66, 0,255,248, 56,224, 1, 0,124, 7, 41,236,124, 7, 26, 44, /* 0x 130 */
75,255,255, 16,128, 6, 0, 0,125,168, 3,166, 56,165, 0, 1, /* 0x 140 */
56, 99, 0, 1,124,160, 40, 80,124,100, 24, 80,144,166, 0, 0, /* 0x 150 */
78,128, 0, 32,124, 72, 2,166,128,130, 0, 8,124,137, 3,166, /* 0x 160 */
128,194, 0, 4,124,164, 18, 20, 56,165, 0, 16,124,102, 18, 20, /* 0x 170 */
56, 99, 0,192,140, 5,255,255,156, 3,255,255, 66, 0,255,248, /* 0x 180 */
127,233, 3,166, 56,162, 0,128, 56,193,255,252, 78,128, 4, 32, /* 0x 190 */
127,232, 2,166, 75,255,255,193, 72, 0, 0,128 /* 0x 1a0 */
78,128, 0, 32, 10, 36, 73,100, 58, 32, 85, 80, 88, 32, 40, 67, /* 0x 160 */
41, 32, 49, 57, 57, 54, 45, 50, 48, 48, 54, 32,116,104,101, 32, /* 0x 170 */
85, 80, 88, 32, 84,101, 97,109, 46, 32, 65,108,108, 32, 82,105, /* 0x 180 */
103,104,116,115, 32, 82,101,115,101,114,118,101,100, 46, 32,104, /* 0x 190 */
116,116,112, 58, 47, 47,117,112,120, 46,115,102, 46,110,101,116, /* 0x 1a0 */
32, 36, 10, 0,124, 72, 2,166,128,130, 0, 8,124,137, 3,166, /* 0x 1b0 */
128,194, 0, 4,124,164, 18, 20, 56,165, 0, 16,124,102, 18, 20, /* 0x 1c0 */
56, 99, 0,192,140, 5,255,255,156, 3,255,255, 66, 0,255,248, /* 0x 1d0 */
127,233, 3,166, 56,162, 0,128, 56,193,255,252, 78,128, 4, 32, /* 0x 1e0 */
127,232, 2,166, 75,255,255,193, 72, 0, 0,128 /* 0x 1f0 */
};