Date: Tue, 28 Oct 2008 11:38:57 GMT From: Peter Wemm <peter@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 152096 for review Message-ID: <200810281138.m9SBcvGJ098280@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=152096 Change 152096 by peter@peter_overcee on 2008/10/28 11:38:08 Attempt to pass arg7 and arg8 to the syscall. Affected files ... .. //depot/projects/valgrind/coregrind/m_syscall.c#7 edit Differences ... ==== //depot/projects/valgrind/coregrind/m_syscall.c#7 (text+ko) ==== @@ -345,12 +345,19 @@ " movq %r8, %r10\n" /* a4 */ " movq %r9, %r8\n" /* a5 */ " movq 8(%rsp), %r9\n" /* a6 last arg from stack */ +" movq 16(%rsp), %r11\n" /* a7 from stack */ +" movq 24(%rsp), %rcx\n" /* a8 from stack */ +" pushq %rcx\n" +" pushq %r11\n" " syscall\n" " jb 1f\n" +" addq $16,%rsp\n" " movq 40(%rsp),%rsi\n" " movq %rdx, (%rsi)\n" " ret\n" -"1: movq 32(%rsp), %rsi\n" +"1:\n" +" addq $16,%rsp\n" +" movq 32(%rsp), %rsi\n" " movl $1,(%rsi)\n" " ret\n" ".previous\n"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810281138.m9SBcvGJ098280>