Fix MIPS, at least ET_EXEC.

ET_DYN not tested.  Also /proc/self/exe is not proected [use getenv("   ")]
	modified:   p_lx_elf.cpp
	modified:   stub/src/i386-linux.elf-main.c
	modified:   stub/src/mipsel.r3000-linux.elf-fold.S
	modified:   ../.github/travis_testsuite_1.sh

	also .h .dump .map for mips
This commit is contained in:
John Reiser
2017-06-27 20:53:44 -07:00
parent 9be86621bf
commit 6de021d8d8
8 changed files with 365 additions and 353 deletions
+2 -2
View File
@@ -3233,8 +3233,8 @@ void PackLinuxElf32mipsel::defineSymbols(Filter const *ft)
adrc = adrm;
adru = lo_va_stub;
adrx = lo_va_stub + hlen;
lenm = page_size;
lenu = page_size + len;
lenm = 2*page_size;
lenu = 2*page_size + len;
cntc = 0;
}
adrm = page_mask & (~page_mask + adrm); // round up to page boundary