MIPS shlib --lzma stub coding error: wrong register

https://github.com/upx/upx/issues/139 (part2)
	modified:   stub/src/mipsel.r3000-linux.shlib-init.S
This commit is contained in:
John Reiser
2017-12-14 11:17:01 -08:00
parent 7c21c4513e
commit 1d462ee424
3 changed files with 56 additions and 56 deletions
+15 -15
View File
@@ -32,8 +32,8 @@
#define STUB_MIPS_R3000_LINUX_SHLIB_INIT_SIZE 9963
#define STUB_MIPS_R3000_LINUX_SHLIB_INIT_ADLER32 0x8f666f05
#define STUB_MIPS_R3000_LINUX_SHLIB_INIT_CRC32 0x301b3ae0
#define STUB_MIPS_R3000_LINUX_SHLIB_INIT_ADLER32 0xcaf96c4d
#define STUB_MIPS_R3000_LINUX_SHLIB_INIT_CRC32 0xe1fd739d
unsigned char stub_mips_r3000_linux_shlib_init[9963] = {
/* 0x0000 */ 127, 69, 76, 70, 1, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0,
@@ -105,15 +105,15 @@ unsigned char stub_mips_r3000_linux_shlib_init[9963] = {
/* 0x0420 */ 0, 9, 76, 0, 1, 46, 72, 37, 36,132, 0, 4, 0, 9,119,194,
/* 0x0430 */ 0, 9, 72, 64, 3,224, 0, 8, 37, 41, 0, 1, 17,169,255,238,
/* 0x0440 */ 0, 9,119,194, 3,224, 0, 8, 0, 9, 72, 64,144,153, 0, 0,
/* 0x0450 */ 36, 7,250, 0,144,152, 0, 1, 51, 34, 0, 7, 0, 25,200,194,
/* 0x0460 */ 3, 39, 56, 4, 36,231,241, 96, 3,167,232, 33,175,167, 0, 40,
/* 0x0450 */ 36, 3,250, 0,144,152, 0, 1, 51, 34, 0, 7, 0, 25,200,194,
/* 0x0460 */ 3, 35, 24, 4, 36, 99,241, 96, 3,163,232, 33,175,163, 0, 40,
/* 0x0470 */ 39,170, 0, 32,175,191, 0, 44,140,233, 0, 0,175,166, 0, 36,
/* 0x0480 */ 0,192, 64, 33, 39,167, 0, 28, 36,166,255,254, 36,133, 0, 2,
/* 0x0490 */ 39,164, 0, 48,160,130, 0, 2, 51, 7, 0, 15,160,135, 0, 0,
/* 0x0490 */ 39,164, 0, 48,160,130, 0, 2, 51, 3, 0, 15,160,131, 0, 0,
/* 0x04a0 */ 0, 24,193, 2, 4, 17, 0, 16,160,152, 0, 1,175,162, 0, 28,
/* 0x04b0 */ 143,164, 0, 36,143,165, 0, 32, 36, 6, 0, 3, 36, 2, 16, 51,
/* 0x04c0 */ 0, 0, 0, 12,143,162, 0, 28,143,167, 0, 40,143,191, 0, 44,
/* 0x04d0 */ 3,167, 56, 35, 39,189, 0, 4, 23,167,255,254,175,160,255,252,
/* 0x04c0 */ 0, 0, 0, 12,143,162, 0, 28,143,163, 0, 40,143,191, 0, 44,
/* 0x04d0 */ 3,163, 24, 35, 39,189, 0, 4, 23,163,255,254,175,160,255,252,
/* 0x04e0 */ 3,224, 0, 8, 0, 0, 0, 0, 39,189,255,200,175,183, 0, 52,
/* 0x04f0 */ 175,182, 0, 48,175,181, 0, 44,175,180, 0, 40,175,179, 0, 36,
/* 0x0500 */ 175,178, 0, 32,175,177, 0, 28,175,176, 0, 24, 0,160,168, 33,
@@ -475,10 +475,10 @@ unsigned char stub_mips_r3000_linux_shlib_init[9963] = {
/* 0x1b40 */ 0,137, 32, 35,175,164, 0, 52, 1, 9, 64, 35, 0,137, 32, 33,
/* 0x1b50 */ 0, 9, 72,130,167,169, 0, 48,167,185, 0, 50,175,168, 0, 44,
/* 0x1b60 */ 136,168, 0, 0,152,168, 0, 3, 36,165, 0, 4, 1, 0, 72, 33,
/* 0x1b70 */ 36,165, 0, 4,175,191, 0, 40, 39,167, 0, 44,175,165, 0, 24,
/* 0x1b80 */ 175,169, 0, 28,175,164, 0, 32,175,167, 0, 36, 48,167, 0, 3,
/* 0x1b90 */ 33, 41, 0, 3, 1, 39, 72, 32, 0, 9, 72,130,135,167, 0, 48,
/* 0x1ba0 */ 0,233, 48, 32,135,167, 0, 50, 0,230, 48, 32, 4, 17, 0, 91,
/* 0x1b70 */ 36,165, 0, 4,175,191, 0, 40, 39,163, 0, 44,175,165, 0, 24,
/* 0x1b80 */ 175,169, 0, 28,175,164, 0, 32,175,163, 0, 36, 48,163, 0, 3,
/* 0x1b90 */ 33, 41, 0, 3, 1, 35, 72, 32, 0, 9, 72,130,135,163, 0, 48,
/* 0x1ba0 */ 0,105, 48, 32,135,163, 0, 50, 0,102, 48, 32, 4, 17, 0, 91,
/* 0x1bb0 */ 175,191, 0, 20, 36, 7, 8, 18,143,165, 0, 56, 4, 17, 0, 75,
/* 0x1bc0 */ 143,164, 0, 52,135,169, 0, 48, 0, 64, 32, 33, 4, 17, 0, 55,
/* 0x1bd0 */ 143,165, 0, 60,143,185, 0, 40,143,167, 0, 36,143,166, 0, 32,
@@ -494,8 +494,8 @@ unsigned char stub_mips_r3000_linux_shlib_init[9963] = {
/* 0x1c70 */ 143,169, 0, 76,143,168, 0, 72, 39,189, 0, 96, 3, 0, 0, 8,
/* 0x1c80 */ 36, 2, 15,251,140,169,255,248, 0, 9, 76, 0, 0, 9, 76, 2,
/* 0x1c90 */ 16, 0, 0, 6, 37, 41,255,255,140,162, 0, 0, 36,165, 0, 4,
/* 0x1ca0 */ 172,130, 0, 0, 36,132, 0, 4, 37, 41,255,255, 49, 39, 0, 3,
/* 0x1cb0 */ 20,224,255,250,140,162, 0, 0,140,163, 0, 4,140,184, 0, 8,
/* 0x1ca0 */ 172,130, 0, 0, 36,132, 0, 4, 37, 41,255,255, 49, 35, 0, 3,
/* 0x1cb0 */ 20, 96,255,250,140,162, 0, 0,140,163, 0, 4,140,184, 0, 8,
/* 0x1cc0 */ 140,185, 0, 12,172,130, 0, 0,172,131, 0, 4,172,152, 0, 8,
/* 0x1cd0 */ 172,153, 0, 12, 37, 41,255,252, 36,165, 0, 16, 21, 32,255,245,
/* 0x1ce0 */ 36,132, 0, 16, 3,224, 0, 8, 0, 0, 0, 0, 36, 2,255,255,
@@ -505,8 +505,8 @@ unsigned char stub_mips_r3000_linux_shlib_init[9963] = {
/* 0x1d20 */ 4, 17, 0, 37, 0, 0, 0, 0, 0, 6, 40,128, 36, 7, 8, 2,
/* 0x1d30 */ 175,165, 0, 64, 4, 17,255,237, 36, 4, 0, 0,175,162, 0, 60,
/* 0x1d40 */ 143,165, 0, 52, 0, 64, 32, 33, 4, 17,255,216,135,169, 0, 48,
/* 0x1d50 */ 143,165, 0, 24,143,169, 0, 28, 48,167, 0, 3, 0,167, 40, 35,
/* 0x1d60 */ 1, 39, 72, 33, 0,135, 56, 33,175,167, 0, 24, 33, 41, 0, 3,
/* 0x1d50 */ 143,165, 0, 24,143,169, 0, 28, 48,163, 0, 3, 0,163, 40, 35,
/* 0x1d60 */ 1, 35, 72, 33, 0,131, 24, 33,175,163, 0, 24, 33, 41, 0, 3,
/* 0x1d70 */ 4, 17,255,206, 0, 9, 72,130, 0,128, 48, 33,135,169, 0, 50,
/* 0x1d80 */ 143,165, 0, 40, 4, 17,255,201,175,164, 0, 40,143,165, 0, 20,
/* 0x1d90 */ 4, 17,255,188,175,164, 0, 20, 0,128, 40, 33, 0,192, 32, 33,