From 34c65291930dc003c57ce573b5077fe3d53b5613 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sun, 5 Sep 2010 12:10:25 +0000 Subject: [PATCH] Fixed an AMD64 bug reported by Evgeniy Stepanov: the order of VALGRIND_CALL_NOREDIR_RAX and addq $128,%%rsp was wrong in CALL_FN_W_6W(). See also #243270. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11340 --- include/valgrind.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/valgrind.h b/include/valgrind.h index 85cb0746e8..2076df9995 100644 --- a/include/valgrind.h +++ b/include/valgrind.h @@ -1366,8 +1366,8 @@ typedef "movq 16(%%rax), %%rsi\n\t" \ "movq 8(%%rax), %%rdi\n\t" \ "movq (%%rax), %%rax\n\t" /* target->%rax */ \ - "addq $128,%%rsp\n\t" \ VALGRIND_CALL_NOREDIR_RAX \ + "addq $128,%%rsp\n\t" \ : /*out*/ "=a" (_res) \ : /*in*/ "a" (&_argvec[0]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ -- 2.47.2