Fix the calling conventions for the sixth argument on i386. I am surprised, this
never showed up as a problem. I guess, nobody ever uses six-argument system calls
on i386.
git-svn-id: http://linux-syscall-support.googlecode.com/svn/trunk/lss@15 829466d3-f3f5-3ae4-62ad-de35cf9bba21
diff --git a/linux_syscall_support.h b/linux_syscall_support.h
index f1aad3a..55b3d88 100644
--- a/linux_syscall_support.h
+++ b/linux_syscall_support.h
@@ -1586,8 +1586,8 @@
struct { long __a1; long __a6; } __s = { (long)arg1, (long) arg6 }; \
__asm__ __volatile__("push %%ebp\n" \
"push %%ebx\n" \
- "movl 4(%2),%%ebp\n" \
- "movl 0(%2), %%ebx\n" \
+ "leal 4(%2),%%ebp\n" \
+ "movl 0(%2),%%ebx\n" \
"movl %1,%%eax\n" \
LSS_ENTRYPOINT \
"pop %%ebx\n" \