o_binfo got in the way

modified:   stub/src/i386-linux.elf-entry.S
This commit is contained in:
John Reiser
2017-06-10 14:03:05 -07:00
parent 2d3bd0809a
commit c127d5b64a
+2 -2
View File
@@ -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: