mips stubs: implement ET_DYN (-pie).

modified:   stub/src/mipsel.r3000-linux.elf-entry.S
	modified:   stub/src/mipsel.r3000-linux.elf-fold.S
	plus associated *.h, *.bin.dump, and ../.github/travis_testsuite_1.sh
This commit is contained in:
John Reiser
2017-09-26 10:05:22 -07:00
parent 2f11a629fa
commit 26be845563
9 changed files with 492 additions and 458 deletions
+8 -8
View File
@@ -32,8 +32,8 @@
#define STUB_MIPS_R3000_LINUX_ELF_FOLD_SIZE 2552
#define STUB_MIPS_R3000_LINUX_ELF_FOLD_ADLER32 0xbe052fbc
#define STUB_MIPS_R3000_LINUX_ELF_FOLD_CRC32 0x0d4d788c
#define STUB_MIPS_R3000_LINUX_ELF_FOLD_ADLER32 0xfb682e54
#define STUB_MIPS_R3000_LINUX_ELF_FOLD_CRC32 0xaac9c55c
unsigned char stub_mips_r3000_linux_elf_fold[2552] = {
/* 0x0000 */ 127, 69, 76, 70, 1, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0,
@@ -57,12 +57,12 @@ unsigned char stub_mips_r3000_linux_elf_fold[2552] = {
/* 0x0120 */ 99, 47,115,101,108,102, 47,101,120,101, 0, 0, 36, 2, 15,245,
/* 0x0130 */ 0, 0, 0, 12, 4,224, 0, 2, 0,162, 8, 33,160, 32, 0, 0,
/* 0x0140 */ 39,189,254, 0, 3,192, 80, 33, 0, 0, 72, 33, 2,224, 64, 33,
/* 0x0150 */ 2,128, 56, 33, 3,160, 48, 33, 50, 33, 15,255, 2,161, 40, 35,
/* 0x0160 */ 4, 16, 0, 1, 36, 2, 1,104, 3,226, 16, 35, 36, 66, 8,112,
/* 0x0170 */ 0, 64,248, 9, 2, 32, 32, 33, 0, 64,200, 33, 39,161, 2, 0,
/* 0x0180 */ 39,189,254,212, 39,189, 0, 4, 23,161,255,254,175,160,255,252,
/* 0x0190 */ 142,193,255,252, 2, 64, 40, 33, 16, 32, 0, 3, 2, 96, 32, 33,
/* 0x01a0 */ 0, 32, 0, 8, 36, 2, 15,251, 3, 32, 0, 8, 0, 0, 0, 0,
/* 0x0150 */ 2,128, 56, 33, 3,160, 48, 33, 2,160, 40, 33, 4, 16, 0, 1,
/* 0x0160 */ 36, 2, 1,100, 3,226, 16, 35, 36, 66, 8,112, 0, 64,248, 9,
/* 0x0170 */ 2, 32, 32, 33, 0, 64,200, 33, 39,161, 2, 0, 39,189,254,212,
/* 0x0180 */ 39,189, 0, 4, 23,161,255,254,175,160,255,252,142,193,255,252,
/* 0x0190 */ 2, 64, 40, 33, 16, 32, 0, 3, 2, 96, 32, 33, 0, 32, 0, 8,
/* 0x01a0 */ 36, 2, 15,251, 3, 32, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0,
/* 0x01b0 */ 36, 2, 15,250, 39,189,255,224,175,168, 0, 16,175,169, 0, 20,
/* 0x01c0 */ 0, 0, 0, 12, 16, 0, 0, 2, 39,189, 0, 32, 0, 0, 0, 12,
/* 0x01d0 */ 20,224, 0, 3, 0, 0, 0, 0, 3,224, 0, 8, 0, 0, 0, 0,