For Android emulator: align i386 LEXEC020 binfo

modified:   src/stub/src/i386-linux.elf-entry.S
	modified:   src/p_lx_elf.cpp

	modified:   src/stub/i386-linux.elf-entry.h
	modified:   misc/testsuite/upx_testsuite_1-expected_sha256sums.sh
This commit is contained in:
John Reiser
2023-09-28 11:58:13 -07:00
parent 39a6cc4b5f
commit d6d5e7ae3d
4 changed files with 1502 additions and 1499 deletions
+1483 -1483
View File
File diff suppressed because it is too large Load Diff
+4 -1
View File
@@ -230,9 +230,12 @@ mmap: // oldmmap: ebx -> 6 arguments; remove arguments on return
cmp eax,PAGE_MASK; jb 0f; hlt; 0:
ret 6*4
.balign 4 // for Android emulator
main:
pop ebp // &decompress
call unfold
nop;nop // align 'call' opcode to (3 mod 4)
call unfold // " *--sp = &O_BINFO; goto unfold; "
// must be ".balign 4" here for Android emulator
.long O_BINFO
// compressed fold_elf86 follows
eof: