Fix powerpc64le ABI stack frame omitting spill area for a0-a7

Also use new symbol SZ_FRAME in */ppc_regs.h
	modified:   stub/src/arch/powerpc/32/ppc_regs.h
	modified:   stub/src/arch/powerpc/64le/ppc_regs.h
	modified:   stub/src/powerpc-darwin.dylib-entry.S
	modified:   stub/src/powerpc-darwin.macho-entry.S
	modified:   stub/src/powerpc-darwin.macho-fold.S
	modified:   stub/src/powerpc-linux.elf-fold.S
	modified:   stub/src/powerpc64le-darwin.dylib-entry.S
	modified:   stub/src/powerpc64le-darwin.macho-entry.S
	modified:   stub/src/powerpc64le-darwin.macho-fold.S
	modified:   stub/src/powerpc64le-linux.elf-entry.S
	modified:   stub/src/powerpc64le-linux.elf-fold.S

	modified:   stub/powerpc-darwin.dylib-entry.h
	modified:   stub/powerpc-darwin.macho-entry.h
	modified:   stub/powerpc-darwin.macho-fold.h
	modified:   stub/powerpc-linux.elf-fold.h
	modified:   stub/powerpc64le-darwin.dylib-entry.h
	modified:   stub/powerpc64le-darwin.macho-entry.h
	modified:   stub/powerpc64le-darwin.macho-fold.h
	modified:   stub/powerpc64le-linux.elf-entry.h
	modified:   stub/powerpc64le-linux.elf-fold.h
	modified:   stub/tmp/powerpc64le-darwin.macho-fold.map
This commit is contained in:
John Reiser
2017-04-21 08:58:13 -07:00
parent 9583cfcc93
commit a440564ba4
21 changed files with 313 additions and 316 deletions
+13 -13
View File
@@ -32,8 +32,8 @@
#define STUB_POWERPC64LE_LINUX_ELF_FOLD_SIZE 2507
#define STUB_POWERPC64LE_LINUX_ELF_FOLD_ADLER32 0x672f8a9f
#define STUB_POWERPC64LE_LINUX_ELF_FOLD_CRC32 0x063cc76e
#define STUB_POWERPC64LE_LINUX_ELF_FOLD_ADLER32 0x6a408a67
#define STUB_POWERPC64LE_LINUX_ELF_FOLD_CRC32 0xc4e7756e
unsigned char stub_powerpc64le_linux_elf_fold[2507] = {
/* 0x0000 */ 127, 69, 76, 70, 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0,
@@ -55,21 +55,21 @@ unsigned char stub_powerpc64le_linux_elf_fold[2507] = {
/* 0x0100 */ 186, 1, 98, 81, 0, 0, 67,144, 32, 0, 64, 79, 4, 0, 67,132,
/* 0x0110 */ 190, 85, 75, 84, 64, 40, 11,124,220,255,194, 65,240,255, 32, 67,
/* 0x0120 */ 32, 0,128, 78, 0, 0, 73,232, 8, 0, 41, 57, 0, 0,162, 43,
/* 0x0130 */ 244,255,254, 64, 32, 0,128, 78, 48, 0, 33, 56,166, 2, 8,125,
/* 0x0130 */ 244,255,254, 64, 32, 0,128, 78,112, 0, 33, 56,166, 2, 8,125,
/* 0x0140 */ 0, 0, 33,233,225,255,255, 75,221,255,255, 75,248,255,159,128,
/* 0x0150 */ 38, 0, 30, 85,120,243,202,127,120,251,231,127, 80,248,164,127,
/* 0x0160 */ 0,248,161, 56,248,255,189, 59, 56, 0,221,160, 56, 0,198, 28,
/* 0x0170 */ 64, 0,198, 56, 80, 32,134,124, 20, 50,125,124,208,247, 33, 56,
/* 0x0170 */ 64, 0,198, 56, 80, 32,134,124, 20, 50,125,124,144,247, 33, 56,
/* 0x0180 */ 24, 0,195,128,205, 5, 0, 72,120, 27,127,124,120,235,163,127,
/* 0x0190 */ 80,240,157,124,201, 0, 0, 72,166, 3,232,127, 56, 8, 65,232,
/* 0x01a0 */ 64, 8, 97,232, 72, 8,129,232, 80, 8,161,232, 88, 8,193,232,
/* 0x01b0 */ 96, 8,225,232,104, 8, 1,233,112, 8, 33,233,120, 8, 65,233,
/* 0x01c0 */ 128, 8, 97,233,136, 8,129,233,144, 8,161,233,152, 8,193,233,
/* 0x01d0 */ 160, 8,225,233,168, 8, 1,234,176, 8, 33,234,184, 8, 65,234,
/* 0x01e0 */ 192, 8, 97,234,200, 8,129,234,208, 8,161,234,216, 8,193,234,
/* 0x01f0 */ 224, 8,225,234,232, 8, 1,235,240, 8, 33,235,248, 8, 65,235,
/* 0x0200 */ 0, 9, 97,235, 8, 9,129,235, 16, 9,161,235, 24, 9,193,235,
/* 0x0210 */ 32, 9,225,235, 48, 8, 33,232,166, 2,136,125, 32, 0,128, 78,
/* 0x0190 */ 80,240,157,124,201, 0, 0, 72,166, 3,232,127,120, 8, 65,232,
/* 0x01a0 */ 128, 8, 97,232,136, 8,129,232,144, 8,161,232,152, 8,193,232,
/* 0x01b0 */ 160, 8,225,232,168, 8, 1,233,176, 8, 33,233,184, 8, 65,233,
/* 0x01c0 */ 192, 8, 97,233,200, 8,129,233,208, 8,161,233,216, 8,193,233,
/* 0x01d0 */ 224, 8,225,233,232, 8, 1,234,240, 8, 33,234,248, 8, 65,234,
/* 0x01e0 */ 0, 9, 97,234, 8, 9,129,234, 16, 9,161,234, 24, 9,193,234,
/* 0x01f0 */ 32, 9,225,234, 40, 9, 1,235, 48, 9, 33,235, 56, 9, 65,235,
/* 0x0200 */ 64, 9, 97,235, 72, 9,129,235, 80, 9,161,235, 88, 9,193,235,
/* 0x0210 */ 96, 9,225,235,112, 8, 33,232,166, 2,136,125, 32, 0,128, 78,
/* 0x0220 */ 90, 0, 0, 56, 2, 0, 0, 68, 8, 0,227, 64,255,255, 96, 56,
/* 0x0230 */ 32, 0,128, 78, 1, 0, 0, 56,236,255,255, 75, 3, 0, 0, 56,
/* 0x0240 */ 228,255,255, 75, 5, 0, 0, 56,220,255,255, 75, 6, 0, 0, 56,