PowerPC64 stub: fix register assignments

modified:   stub/powerpc64-linux.elf-fold.h
	modified:   stub/powerpc64le-linux.elf-fold.h
	modified:   stub/src/powerpc64-linux.elf-entry.S
	modified:   stub/src/powerpc64-linux.elf-fold.S
This commit is contained in:
John Reiser
2024-07-28 14:58:07 -07:00
parent 22717c15af
commit b94a150685
4 changed files with 32 additions and 26 deletions
+9 -9
View File
@@ -33,8 +33,8 @@
/* clang-format off */
#define STUB_POWERPC64_LINUX_ELF_FOLD_SIZE 19923
#define STUB_POWERPC64_LINUX_ELF_FOLD_ADLER32 0x5002a220
#define STUB_POWERPC64_LINUX_ELF_FOLD_CRC32 0xf49f6007
#define STUB_POWERPC64_LINUX_ELF_FOLD_ADLER32 0x3953a31b
#define STUB_POWERPC64_LINUX_ELF_FOLD_CRC32 0xfdccfc89
unsigned char stub_powerpc64_linux_elf_fold[19923] = {
/* 0x0000 */ 127, 69, 76, 70, 2, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0,
@@ -58,17 +58,17 @@ unsigned char stub_powerpc64_linux_elf_fold[19923] = {
/* 0x0120 */ 59, 90,255,248,232, 4, 0, 9,127,164,208, 64,248, 3, 0, 9,
/* 0x0130 */ 65,156,255,244, 59, 67, 0, 16,248, 3, 0, 9,232, 4, 0, 8,
/* 0x0140 */ 43,160, 0, 0,248, 3, 0, 8,232, 4, 0, 17,248, 3, 0, 17,
/* 0x0150 */ 64,158,255,236, 58,163, 0, 8, 65,146, 0,180,126,154,168, 80,
/* 0x0160 */ 128, 22,255,252, 58,100, 0, 8,148, 3, 0, 8, 58, 67, 0, 4,
/* 0x0150 */ 64,158,255,236, 58,163, 0, 8, 65,146, 0,180,126,122,168, 80,
/* 0x0160 */ 128, 22,255,252, 58, 68, 0, 8,148, 3, 0, 8, 59,195, 0, 4,
/* 0x0170 */ 56,128, 0, 0,126,195,179,120, 72, 0, 0, 1,124,123, 27,120,
/* 0x0180 */ 56,160, 15,255,126, 68,147,120,126,195,179,120, 72, 0, 0, 1,
/* 0x0190 */ 56,178,255,252, 44, 35, 0, 0, 65,129, 0, 12, 56,182,255,252,
/* 0x0180 */ 56,160, 15,255,127,196,243,120,126,195,179,120, 72, 0, 0, 1,
/* 0x0190 */ 56,190,255,252, 44, 35, 0, 0, 65,129, 0, 12, 56,182,255,252,
/* 0x01a0 */ 56, 96, 0, 12, 56, 99, 0, 4,124,133, 26, 20,124,105, 3,166,
/* 0x01b0 */ 126, 99,155,120, 56,160, 0, 0,156,163,255,255,140, 4,255,255,
/* 0x01b0 */ 126, 67,147,120, 56,160, 0, 0,156,163,255,255,140, 4,255,255,
/* 0x01c0 */ 156, 3,255,255, 66, 0,255,248,248,122,255,240,120, 99, 7, 36,
/* 0x01d0 */ 124, 32, 34,120,124, 0, 26,120,120, 0, 7, 32,124, 96, 24, 80,
/* 0x01e0 */ 126,164,171,120, 56, 0, 0, 0,248, 3,255,249,248, 3,255,249,
/* 0x01f0 */ 124,117, 27,120,127, 84, 24, 80,232, 4,255,249,127,164, 8, 64,
/* 0x01f0 */ 124,117, 27,120,127, 83, 24, 80,232, 4,255,249,127,164, 8, 64,
/* 0x0200 */ 248, 3,255,249, 65,253,255,244,124, 97, 27,120, 57, 33, 1,136,
/* 0x0210 */ 251, 41, 0, 0,248, 33,247,113,127, 3,195,120,126,228,187,120,
/* 0x0220 */ 56,161, 0,144,127, 70,211,120, 56,225, 10, 24,251, 39, 0, 0,
@@ -78,7 +78,7 @@ unsigned char stub_powerpc64_linux_elf_fold[19923] = {
/* 0x0260 */ 124, 99, 2, 20,248,117, 0, 0,124,127, 27,120,127, 35,203,120,
/* 0x0270 */ 72, 0, 0, 1,232,153, 0,160,127, 35,203,120, 72, 0, 0, 1,
/* 0x0280 */ 65,146, 0, 48, 57, 0, 0, 0,127,103,219,120, 44, 7, 0, 0,
/* 0x0290 */ 65,128, 0, 32, 56,192, 0, 2, 56,160, 0, 1,124,158, 0,208,
/* 0x0290 */ 65,128, 0, 32, 56,192, 0, 2, 56,160, 0, 1,124,148, 0,208,
/* 0x02a0 */ 56, 96, 0, 0, 72, 0, 0, 1,127, 99,219,120, 72, 0, 0, 1,
/* 0x02b0 */ 232, 21,255,248,124, 9, 3,166,251,225, 1,128,127,163,235,120,
/* 0x02c0 */ 127,132,227,120, 56, 0, 0, 91,127,232, 3,166,232,161, 0,176,