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_MIPSEL_R3000_LINUX_ELF_FOLD_SIZE 2552
#define STUB_MIPSEL_R3000_LINUX_ELF_FOLD_ADLER32 0x265a2fbb
#define STUB_MIPSEL_R3000_LINUX_ELF_FOLD_CRC32 0x1da33a96
#define STUB_MIPSEL_R3000_LINUX_ELF_FOLD_ADLER32 0x61572e53
#define STUB_MIPSEL_R3000_LINUX_ELF_FOLD_CRC32 0xafda48c2
unsigned char stub_mipsel_r3000_linux_elf_fold[2552] = {
/* 0x0000 */ 127, 69, 76, 70, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0,
@@ -57,12 +57,12 @@ unsigned char stub_mipsel_r3000_linux_elf_fold[2552] = {
/* 0x0120 */ 99, 47,115,101,108,102, 47,101,120,101, 0, 0,245, 15, 2, 36,
/* 0x0130 */ 12, 0, 0, 0, 2, 0,224, 4, 33, 8,162, 0, 0, 0, 32,160,
/* 0x0140 */ 0,254,189, 39, 33, 80,192, 3, 33, 72, 0, 0, 33, 64,224, 2,
/* 0x0150 */ 33, 56,128, 2, 33, 48,160, 3,255, 15, 33, 50, 35, 40,161, 2,
/* 0x0160 */ 1, 0, 16, 4,104, 1, 2, 36, 35, 16,226, 3,112, 8, 66, 36,
/* 0x0170 */ 9,248, 64, 0, 33, 32, 32, 2, 33,200, 64, 0, 0, 2,161, 39,
/* 0x0180 */ 212,254,189, 39, 4, 0,189, 39,254,255,161, 23,252,255,160,175,
/* 0x0190 */ 252,255,193,142, 33, 40, 64, 2, 3, 0, 32, 16, 33, 32, 96, 2,
/* 0x01a0 */ 8, 0, 32, 0,251, 15, 2, 36, 8, 0, 32, 3, 0, 0, 0, 0,
/* 0x0150 */ 33, 56,128, 2, 33, 48,160, 3, 33, 40,160, 2, 1, 0, 16, 4,
/* 0x0160 */ 100, 1, 2, 36, 35, 16,226, 3,112, 8, 66, 36, 9,248, 64, 0,
/* 0x0170 */ 33, 32, 32, 2, 33,200, 64, 0, 0, 2,161, 39,212,254,189, 39,
/* 0x0180 */ 4, 0,189, 39,254,255,161, 23,252,255,160,175,252,255,193,142,
/* 0x0190 */ 33, 40, 64, 2, 3, 0, 32, 16, 33, 32, 96, 2, 8, 0, 32, 0,
/* 0x01a0 */ 251, 15, 2, 36, 8, 0, 32, 3, 0, 0, 0, 0, 0, 0, 0, 0,
/* 0x01b0 */ 250, 15, 2, 36,224,255,189, 39, 16, 0,168,175, 20, 0,169,175,
/* 0x01c0 */ 12, 0, 0, 0, 2, 0, 0, 16, 32, 0,189, 39, 12, 0, 0, 0,
/* 0x01d0 */ 3, 0,224, 20, 0, 0, 0, 0, 8, 0,224, 3, 0, 0, 0, 0,