From c127d5b64ac8d3bf2ae0ed9392658fb660880ea4 Mon Sep 17 00:00:00 2001 From: John Reiser Date: Sat, 10 Jun 2017 14:03:05 -0700 Subject: [PATCH] o_binfo got in the way modified: stub/src/i386-linux.elf-entry.S --- src/stub/src/i386-linux.elf-entry.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stub/src/i386-linux.elf-entry.S b/src/stub/src/i386-linux.elf-entry.S index a75dec0d..f5fefa63 100644 --- a/src/stub/src/i386-linux.elf-entry.S +++ b/src/stub/src/i386-linux.elf-entry.S @@ -190,10 +190,10 @@ section LEXECDYN // and VDSO follows. When stack is limited, then allocation is from high // (just below stack) to low: VDSO will be below our PT_LOAD, and mmap() // below will steal the lowest page of stack. - pop ecx; push ecx // argc + mov ecx,[4+ esp] // argc push esi push eax - lea esi,[esp + 4*ecx + (3+1)*4] // &env + lea esi,[esp + 4*ecx + (3+1+1)*4] // &env 1: lodsd; test eax,eax; jne 1b // skip env 2: