PERFORCE change 152096 for review
Peter Wemm
peter at FreeBSD.org
Tue Oct 28 11:38:58 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=152096
Change 152096 by peter at 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"
More information about the p4-projects
mailing list