From: Bart Van Assche Date: Sun, 5 Sep 2010 12:10:25 +0000 (+0000) Subject: Fixed an AMD64 bug reported by Evgeniy Stepanov: the order of X-Git-Tag: svn/VALGRIND_3_6_0~117 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34c65291930dc003c57ce573b5077fe3d53b5613;p=thirdparty%2Fvalgrind.git 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 --- 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 \