stub for 64-bit little-endian PowerPC also uses TOC

modified:   stub/src/arch/powerpc/64le/ppc_regs.h
	modified:   stub/src/powerpc64le-linux.elf-fold.S
This commit is contained in:
John Reiser
2017-10-14 13:54:43 -07:00
parent ad3f63b5c4
commit ff1d5fb794
6 changed files with 234 additions and 232 deletions
+13 -13
View File
@@ -32,8 +32,8 @@
#define STUB_POWERPC64LE_LINUX_ELF_ENTRY_SIZE 11186
#define STUB_POWERPC64LE_LINUX_ELF_ENTRY_ADLER32 0x961282c1
#define STUB_POWERPC64LE_LINUX_ELF_ENTRY_CRC32 0x08758063
#define STUB_POWERPC64LE_LINUX_ELF_ENTRY_ADLER32 0xe9ae82c5
#define STUB_POWERPC64LE_LINUX_ELF_ENTRY_CRC32 0x1c0624dc
unsigned char stub_powerpc64le_linux_elf_entry[11186] = {
/* 0x0000 */ 127, 69, 76, 70, 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0,
@@ -512,23 +512,23 @@ unsigned char stub_powerpc64le_linux_elf_entry[11186] = {
/* 0x1d90 */ 80,224,149,124,120,219,103,127, 18, 0,192, 56, 20, 2,132,124,
/* 0x1da0 */ 125, 0, 0, 72, 80, 24,153,126,166, 3,233,127, 20,162,255,127,
/* 0x1db0 */ 0, 0,118,130, 16, 0,118, 56, 20,162,214,126, 20,170,246,126,
/* 0x1dc0 */ 56,240,248,127, 80,184,248,126, 12, 0,246,136,104, 1,161,250,
/* 0x1dd0 */ 104, 1,193, 56,120,179,197,126, 8, 0,150,128, 33, 4,128, 78,
/* 0x1dc0 */ 56,240,248,127, 80,184,248,126, 12, 0,246,136,136, 1,161,250,
/* 0x1dd0 */ 136, 1,193, 56,120,179,197,126, 8, 0,150,128, 33, 4,128, 78,
/* 0x1de0 */ 0, 0, 22,128, 66,186,195,123, 44, 4, 96,120, 0, 0, 22,144,
/* 0x1df0 */ 5, 0,160, 56,120,187,228,126,120,195, 3,127,125, 0, 0, 56,
/* 0x1e00 */ 2, 0, 0, 68,248,255,255,130, 20,154, 25,127, 20,162, 24,127,
/* 0x1e10 */ 16, 0, 22, 56,166, 3, 9,124, 32, 4,128, 78, 0, 0, 0, 57,
/* 0x1e20 */ 3, 0,160, 56, 90, 0, 0, 56, 2, 0, 0, 68, 8, 0,131, 64,
/* 0x1e30 */ 8, 0,128,124, 32, 0,128, 78, 0, 0, 3,232, 8, 0, 99, 56,
/* 0x1e40 */ 0, 0,160, 47,244,255,254, 64, 32, 0,128, 78,145,254, 33,248,
/* 0x1e50 */ 120, 0, 65,248,128, 0, 97,248,136, 0,129,248,144, 0,161,248,
/* 0x1e60 */ 152, 0,193,248,160, 0,225,248,168, 0, 1,249,176, 0, 33,249,
/* 0x1e70 */ 184, 0, 65,249,192, 0, 97,249,200, 0,129,249,208, 0,161,249,
/* 0x1e80 */ 216, 0,193,249,224, 0,225,249,232, 0, 1,250,240, 0, 33,250,
/* 0x1e90 */ 248, 0, 65,250, 0, 1, 97,250, 8, 1,129,250, 16, 1,161,250,
/* 0x1ea0 */ 24, 1,193,250, 32, 1,225,250, 40, 1, 1,251, 48, 1, 33,251,
/* 0x1eb0 */ 56, 1, 65,251, 64, 1, 97,251, 72, 1,129,251, 80, 1,161,251,
/* 0x1ec0 */ 88, 1,193,251, 96, 1,225,251,166, 2,232,127,112, 1, 97, 56,
/* 0x1e40 */ 0, 0,160, 47,244,255,254, 64, 32, 0,128, 78,113,254, 33,248,
/* 0x1e50 */ 152, 0, 65,248,160, 0, 97,248,168, 0,129,248,176, 0,161,248,
/* 0x1e60 */ 184, 0,193,248,192, 0,225,248,200, 0, 1,249,208, 0, 33,249,
/* 0x1e70 */ 216, 0, 65,249,224, 0, 97,249,232, 0,129,249,240, 0,161,249,
/* 0x1e80 */ 248, 0,193,249, 0, 1,225,249, 8, 1, 1,250, 16, 1, 33,250,
/* 0x1e90 */ 24, 1, 65,250, 32, 1, 97,250, 40, 1,129,250, 48, 1,161,250,
/* 0x1ea0 */ 56, 1,193,250, 64, 1,225,250, 72, 1, 1,251, 80, 1, 33,251,
/* 0x1eb0 */ 88, 1, 65,251, 96, 1, 97,251,104, 1,129,251,112, 1,161,251,
/* 0x1ec0 */ 120, 1,193,251,128, 1,225,251,166, 2,232,127,144, 1, 97, 56,
/* 0x1ed0 */ 105,255,255, 75,101,255,255, 75,120, 27,122,124, 0, 0, 3,232,
/* 0x1ee0 */ 8, 0,131,232, 16, 0, 99, 56, 6, 0,160, 47, 16, 0,222, 65,
/* 0x1ef0 */ 0, 0, 32, 44,232,255,226, 64, 1, 0,128, 60,208, 0,196,127,