diff --git a/src/stub/powerpc64le-darwin.dylib-entry.h b/src/stub/powerpc64le-darwin.dylib-entry.h index 4c2448b3..73f147e1 100644 --- a/src/stub/powerpc64le-darwin.dylib-entry.h +++ b/src/stub/powerpc64le-darwin.dylib-entry.h @@ -32,8 +32,8 @@ #define STUB_POWERPC64LE_DARWIN_DYLIB_ENTRY_SIZE 9867 -#define STUB_POWERPC64LE_DARWIN_DYLIB_ENTRY_ADLER32 0xc87a5b7f -#define STUB_POWERPC64LE_DARWIN_DYLIB_ENTRY_CRC32 0x1f770f24 +#define STUB_POWERPC64LE_DARWIN_DYLIB_ENTRY_ADLER32 0xdc145bbf +#define STUB_POWERPC64LE_DARWIN_DYLIB_ENTRY_CRC32 0x055b2ad4 unsigned char stub_powerpc64le_darwin_dylib_entry[9867] = { /* 0x0000 */ 127, 69, 76, 70, 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, @@ -106,7 +106,7 @@ unsigned char stub_powerpc64le_darwin_dylib_entry[9867] = { /* 0x0430 */ 0, 0, 3,136,254,232, 11, 84,126, 7, 2, 84, 0,250, 96, 56, /* 0x0440 */ 48, 88, 99,124,124,241, 99, 56,120, 11, 38,124, 20, 26, 33,124, /* 0x0450 */ 52, 0, 33, 84, 0, 0, 0, 56,120, 51,195,124, 0, 0, 9,144, -/* 0x0460 */ 252,255, 3,148, 64, 24, 1,124,248,255,128, 65, 0, 0,193,144, +/* 0x0460 */ 252,255, 3,148, 64, 24, 33,124,248,255,128, 65, 0, 0,193,144, /* 0x0470 */ 255,255, 4,136, 8, 0,225,144, 16, 0,193, 56, 12, 0, 33,145, /* 0x0480 */ 20, 0, 97, 56, 62,225, 11, 84, 62, 7, 0, 84, 2, 0, 67,152, /* 0x0490 */ 1, 0, 99,153, 0, 0, 3,152,124, 8, 2,166,148, 33,255,160, @@ -421,7 +421,7 @@ unsigned char stub_powerpc64le_darwin_dylib_entry[9867] = { /* 0x17e0 */ 20, 58,165,124, 48, 0, 1,128,255,255,165, 56,166, 3, 8,124, /* 0x17f0 */ 0, 0,230,232,166, 3,168,125, 80, 24,100,124, 80, 40,135,124, /* 0x1800 */ 1, 0, 99, 56, 1, 0,132, 56, 0, 0,134,248, 31, 0,231, 96, -/* 0x1810 */ 108, 56, 0,124, 64, 40, 7,124,172, 63, 0,124, 32, 0,231, 56, +/* 0x1810 */ 108, 56, 0,124, 64, 40, 39,124,172, 63, 0,124, 32, 0,231, 56, /* 0x1820 */ 240,255,128, 65,172, 4, 0,124, 44, 1, 0, 76, 32, 0,128, 78, /* 0x1830 */ 17,255, 65,248, 8, 0, 97,248, 16, 0,129,248, 24, 0,161,248, /* 0x1840 */ 32, 0,193,248, 40, 0,225,248, 48, 0, 1,249, 56, 0, 33,249, diff --git a/src/stub/powerpc64le-darwin.macho-entry.h b/src/stub/powerpc64le-darwin.macho-entry.h index f538bdcc..51ab982d 100644 --- a/src/stub/powerpc64le-darwin.macho-entry.h +++ b/src/stub/powerpc64le-darwin.macho-entry.h @@ -32,8 +32,8 @@ #define STUB_POWERPC64LE_DARWIN_MACHO_ENTRY_SIZE 9203 -#define STUB_POWERPC64LE_DARWIN_MACHO_ENTRY_ADLER32 0xbb174a4a -#define STUB_POWERPC64LE_DARWIN_MACHO_ENTRY_CRC32 0x886e6312 +#define STUB_POWERPC64LE_DARWIN_MACHO_ENTRY_ADLER32 0x29b14a8a +#define STUB_POWERPC64LE_DARWIN_MACHO_ENTRY_CRC32 0x874d5318 unsigned char stub_powerpc64le_darwin_macho_entry[9203] = { /* 0x0000 */ 127, 69, 76, 70, 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, @@ -106,7 +106,7 @@ unsigned char stub_powerpc64le_darwin_macho_entry[9203] = { /* 0x0430 */ 254,232, 11, 84,126, 7, 2, 84, 0,250, 96, 56, 48, 88, 99,124, /* 0x0440 */ 124,241, 99, 56,120, 11, 38,124, 20, 26, 33,124, 52, 0, 33, 84, /* 0x0450 */ 0, 0, 0, 56,120, 51,195,124, 0, 0, 9,144,252,255, 3,148, -/* 0x0460 */ 64, 24, 1,124,248,255,128, 65, 0, 0,193,144,255,255, 4,136, +/* 0x0460 */ 64, 24, 33,124,248,255,128, 65, 0, 0,193,144,255,255, 4,136, /* 0x0470 */ 8, 0,225,144, 16, 0,193, 56, 12, 0, 33,145, 20, 0, 97, 56, /* 0x0480 */ 62,225, 11, 84, 62, 7, 0, 84, 2, 0, 67,152, 1, 0, 99,153, /* 0x0490 */ 0, 0, 3,152,124, 8, 2,166,148, 33,255,160,189,193, 0, 24, @@ -421,7 +421,7 @@ unsigned char stub_powerpc64le_darwin_macho_entry[9203] = { /* 0x17e0 */ 48, 0, 1,128,255,255,165, 56,166, 3, 8,124, 0, 0,230,232, /* 0x17f0 */ 166, 3,168,125, 80, 24,100,124, 80, 40,135,124, 1, 0, 99, 56, /* 0x1800 */ 1, 0,132, 56, 0, 0,134,248, 31, 0,231, 96,108, 56, 0,124, -/* 0x1810 */ 64, 40, 7,124,172, 63, 0,124, 32, 0,231, 56,240,255,128, 65, +/* 0x1810 */ 64, 40, 39,124,172, 63, 0,124, 32, 0,231, 56,240,255,128, 65, /* 0x1820 */ 172, 4, 0,124, 44, 1, 0, 76, 32, 0,128, 78,166, 2, 72,124, /* 0x1830 */ 8, 0,130,128,166, 3,137,124, 4, 0,194,128, 12, 0,226,136, /* 0x1840 */ 20, 18,164,124, 16, 0,165, 56, 20, 18,102,124,192, 0, 99, 56, diff --git a/src/stub/powerpc64le-linux.elf-entry.h b/src/stub/powerpc64le-linux.elf-entry.h index 898bf762..e2b43258 100644 --- a/src/stub/powerpc64le-linux.elf-entry.h +++ b/src/stub/powerpc64le-linux.elf-entry.h @@ -32,8 +32,8 @@ #define STUB_POWERPC64LE_LINUX_ELF_ENTRY_SIZE 9673 -#define STUB_POWERPC64LE_LINUX_ELF_ENTRY_ADLER32 0x2729ce5b -#define STUB_POWERPC64LE_LINUX_ELF_ENTRY_CRC32 0xd0a60628 +#define STUB_POWERPC64LE_LINUX_ELF_ENTRY_ADLER32 0x0b43ce9b +#define STUB_POWERPC64LE_LINUX_ELF_ENTRY_CRC32 0xae410eda unsigned char stub_powerpc64le_linux_elf_entry[9673] = { /* 0x0000 */ 127, 69, 76, 70, 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, @@ -106,7 +106,7 @@ unsigned char stub_powerpc64le_linux_elf_entry[9673] = { /* 0x0430 */ 254,232, 11, 84,126, 7, 2, 84, 0,250, 96, 56, 48, 88, 99,124, /* 0x0440 */ 124,241, 99, 56,120, 11, 38,124, 20, 26, 33,124, 52, 0, 33, 84, /* 0x0450 */ 0, 0, 0, 56,120, 51,195,124, 0, 0, 9,144,252,255, 3,148, -/* 0x0460 */ 64, 24, 1,124,248,255,128, 65, 0, 0,193,144,255,255, 4,136, +/* 0x0460 */ 64, 24, 33,124,248,255,128, 65, 0, 0,193,144,255,255, 4,136, /* 0x0470 */ 8, 0,225,144, 16, 0,193, 56, 12, 0, 33,145, 20, 0, 97, 56, /* 0x0480 */ 62,225, 11, 84, 62, 7, 0, 84, 2, 0, 67,152, 1, 0, 99,153, /* 0x0490 */ 0, 0, 3,152,124, 8, 2,166,148, 33,255,160,189,193, 0, 24, @@ -421,7 +421,7 @@ unsigned char stub_powerpc64le_linux_elf_entry[9673] = { /* 0x17e0 */ 48, 0, 1,128,255,255,165, 56,166, 3, 8,124, 0, 0,230,232, /* 0x17f0 */ 166, 3,168,125, 80, 24,100,124, 80, 40,135,124, 1, 0, 99, 56, /* 0x1800 */ 1, 0,132, 56, 0, 0,134,248, 31, 0,231, 96,108, 56, 0,124, -/* 0x1810 */ 64, 40, 7,124,172, 63, 0,124, 32, 0,231, 56,240,255,128, 65, +/* 0x1810 */ 64, 40, 39,124,172, 63, 0,124, 32, 0,231, 56,240,255,128, 65, /* 0x1820 */ 172, 4, 0,124, 44, 1, 0, 76, 32, 0,128, 78, 1, 0, 0, 72, /* 0x1830 */ 80, 82, 79, 84, 95, 69, 88, 69, 67,124, 80, 82, 79, 84, 95, 87, /* 0x1840 */ 82, 73, 84, 69, 32,102, 97,105,108,101,100, 46, 10, 0, 30, 0, diff --git a/src/stub/powerpc64le-linux.kernel.vmlinux.h b/src/stub/powerpc64le-linux.kernel.vmlinux.h index f3f2a2b2..7fee3283 100644 --- a/src/stub/powerpc64le-linux.kernel.vmlinux.h +++ b/src/stub/powerpc64le-linux.kernel.vmlinux.h @@ -32,8 +32,8 @@ #define STUB_POWERPC64LE_LINUX_KERNEL_VMLINUX_SIZE 9840 -#define STUB_POWERPC64LE_LINUX_KERNEL_VMLINUX_ADLER32 0x6930c592 -#define STUB_POWERPC64LE_LINUX_KERNEL_VMLINUX_CRC32 0xcb40735a +#define STUB_POWERPC64LE_LINUX_KERNEL_VMLINUX_ADLER32 0xcfa8c5d2 +#define STUB_POWERPC64LE_LINUX_KERNEL_VMLINUX_CRC32 0x0a3e4453 unsigned char stub_powerpc64le_linux_kernel_vmlinux[9840] = { /* 0x0000 */ 127, 69, 76, 70, 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, @@ -109,7 +109,7 @@ unsigned char stub_powerpc64le_linux_kernel_vmlinux[9840] = { /* 0x0460 */ 1, 0, 5,157,248,255, 32, 67, 0, 1,224, 56,236, 41, 7,124, /* 0x0470 */ 44, 26, 7,124, 4,255,255, 75, 0, 0,230,232,166, 3,168,125, /* 0x0480 */ 80, 24,100,124, 80, 40,135,124, 1, 0, 99, 56, 1, 0,132, 56, -/* 0x0490 */ 0, 0,134,248, 31, 0,231, 96,108, 56, 0,124, 64, 40, 7,124, +/* 0x0490 */ 0, 0,134,248, 31, 0,231, 96,108, 56, 0,124, 64, 40, 39,124, /* 0x04a0 */ 172, 63, 0,124, 32, 0,231, 56,240,255,128, 65,172, 4, 0,124, /* 0x04b0 */ 44, 1, 0, 76, 32, 0,128, 78, 14, 0, 7, 40, 0, 0,130, 64, /* 0x04c0 */ 166, 2, 8,124,120, 51,201,124, 0, 0, 6,129,120, 43,167,124, @@ -117,7 +117,7 @@ unsigned char stub_powerpc64le_linux_kernel_vmlinux[9840] = { /* 0x04e0 */ 254,232, 11, 84,126, 7, 2, 84, 0,250, 96, 56, 48, 88, 99,124, /* 0x04f0 */ 124,241, 99, 56,120, 11, 38,124, 20, 26, 33,124, 52, 0, 33, 84, /* 0x0500 */ 0, 0, 0, 56,120, 51,195,124, 0, 0, 9,144,252,255, 3,148, -/* 0x0510 */ 64, 24, 1,124,248,255,128, 65, 0, 0,193,144,255,255, 4,136, +/* 0x0510 */ 64, 24, 33,124,248,255,128, 65, 0, 0,193,144,255,255, 4,136, /* 0x0520 */ 8, 0,225,144, 16, 0,193, 56, 12, 0, 33,145, 20, 0, 97, 56, /* 0x0530 */ 62,225, 11, 84, 62, 7, 0, 84, 2, 0, 67,152, 1, 0, 99,153, /* 0x0540 */ 0, 0, 3,152,124, 8, 2,166,148, 33,255,160,189,193, 0, 24, diff --git a/src/stub/src/arch/powerpc/32/lzma_d.S b/src/stub/src/arch/powerpc/32/lzma_d.S index 0c07b362..7dcea2c9 100644 --- a/src/stub/src/arch/powerpc/32/lzma_d.S +++ b/src/stub/src/arch/powerpc/32/lzma_d.S @@ -82,7 +82,7 @@ retaddr = 2*4 // (sp,cr,pc, xx,yy,zz) save area per calling convention stw r0,0(a6) // outSizeProcessed= 0; 1: stwu r0,-4(a0) // clear CLZmaDecoderState on stack - cmpl cr0,sp,a0 // compare logical ==> compare unsigned + cmpl cr0,0,sp,a0 // compare logical ==> compare unsigned blt cr0,1b stw a3,0(sp) // frame chain diff --git a/src/stub/src/arch/powerpc/64le/lzma_d.S b/src/stub/src/arch/powerpc/64le/lzma_d.S index e81eb8c3..dbecfbc7 100644 --- a/src/stub/src/arch/powerpc/64le/lzma_d.S +++ b/src/stub/src/arch/powerpc/64le/lzma_d.S @@ -82,7 +82,7 @@ retaddr = 6*8 // (sp,cr,pc, xx,yy,zz) save area per calling convention stw r0,0(a6) // outSizeProcessed= 0; 1: stwu r0,-4(a0) // clear CLZmaDecoderState on stack - cmpl cr0,0,sp,a0 // compare logical ==> compare unsigned + cmpl cr0,1,sp,a0 // compare logical ==> compare unsigned blt cr0,1b stw a3,0(sp) // frame chain diff --git a/src/stub/src/powerpc64le-darwin.dylib-entry.S b/src/stub/src/powerpc64le-darwin.dylib-entry.S index 4242e5bb..2f183eda 100644 --- a/src/stub/src/powerpc64le-darwin.dylib-entry.S +++ b/src/stub/src/powerpc64le-darwin.dylib-entry.S @@ -101,7 +101,7 @@ CACHELINE=32 ori dst0,dst0,-1+ CACHELINE // highest addr on cache line cfl_nrv: dcbst 0,dst0 // initiate store (modified) cacheline to memory - cmpl cr0,0,dst0,dst // did we cover the highest-addressed byte? + cmpl cr0,1,dst0,dst // did we cover the highest-addressed byte? icbi 0,dst0 // discard instructions from cacheline addi dst0,dst0,CACHELINE // highest addr on next line blt cr0,cfl_nrv // not done yet diff --git a/src/stub/src/powerpc64le-darwin.macho-entry.S b/src/stub/src/powerpc64le-darwin.macho-entry.S index 8d38bb9f..72604247 100644 --- a/src/stub/src/powerpc64le-darwin.macho-entry.S +++ b/src/stub/src/powerpc64le-darwin.macho-entry.S @@ -87,7 +87,7 @@ CACHELINE=32 ori dst0,dst0,-1+ CACHELINE // highest addr on cache line cfl_nrv: dcbst 0,dst0 // initiate store (modified) cacheline to memory - cmpl cr0,0,dst0,dst // did we cover the highest-addressed byte? + cmpl cr0,1,dst0,dst // did we cover the highest-addressed byte? icbi 0,dst0 // discard instructions from cacheline addi dst0,dst0,CACHELINE // highest addr on next line blt cr0,cfl_nrv // not done yet diff --git a/src/stub/src/powerpc64le-linux.elf-entry.S b/src/stub/src/powerpc64le-linux.elf-entry.S index 3625be3e..4a78bd53 100644 --- a/src/stub/src/powerpc64le-linux.elf-entry.S +++ b/src/stub/src/powerpc64le-linux.elf-entry.S @@ -114,7 +114,7 @@ CACHELINE=32 ori dst0,dst0,-1+ CACHELINE // highest addr on cache line cfl_nrv: dcbst 0,dst0 // initiate store (modified) cacheline to memory - cmpl cr0,0,dst0,dst // did we cover the highest-addressed byte? + cmpl cr0,1,dst0,dst // did we cover the highest-addressed byte? icbi 0,dst0 // discard instructions from cacheline addi dst0,dst0,CACHELINE // highest addr on next line blt cr0,cfl_nrv // not done yet diff --git a/src/stub/src/powerpc64le-linux.kernel.vmlinux.S b/src/stub/src/powerpc64le-linux.kernel.vmlinux.S index 7e4a57cb..ce055ea4 100644 --- a/src/stub/src/powerpc64le-linux.kernel.vmlinux.S +++ b/src/stub/src/powerpc64le-linux.kernel.vmlinux.S @@ -116,7 +116,7 @@ CACHELINE=32 ori dst0,dst0,-1+ CACHELINE // highest addr on cache line cfl_nrv: dcbst 0,dst0 // initiate store (modified) cacheline to memory - cmpl cr0,0,dst0,dst // did we cover the highest-addressed byte? + cmpl cr0,1,dst0,dst // did we cover the highest-addressed byte? icbi 0,dst0 // discard instructions from cacheline addi dst0,dst0,CACHELINE // highest addr on next line blt cr0,cfl_nrv // not done yet