]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
FreeBSD comment: fix amd64 do_syscall_WRK arg comments
authorPaul Floyd <pjfloyd@wanadoo.fr>
Wed, 29 Oct 2025 15:08:28 +0000 (16:08 +0100)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Wed, 29 Oct 2025 15:10:49 +0000 (16:10 +0100)
I recently changed the amd64 syscall to lower the max number
of args handled but didn't update the corresponding comment.

coregrind/m_syscall.c

index cb3c603f8f428e1551782f9c8f41b5fdae4a5e1c..01766617a0dfba373e9cc8d01e832582ec727b41 100644 (file)
@@ -768,8 +768,8 @@ extern UWord do_syscall_WRK (
           UWord a5,            /* %r9 */
           UWord a6,            /* 8(%rsp) */
           UWord a7,            /* 16(%rsp) */
-          UInt *flags,         /* 32(%rsp) */
-          UWord *rv2           /* 40(%rsp) */
+          UInt *flags,         /* 24(%rsp) */
+          UWord *rv2           /* 32(%rsp) */
        );
 asm(
 ".text\n"