From: Julian Seward Date: Sat, 5 Feb 2005 14:59:25 +0000 (+0000) Subject: Fix amd64 assembly for presumably newer binutils. X-Git-Tag: svn/VALGRIND_3_0_0~1089 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a576e8866368e558da1849eea4a0a740cfb1888b;p=thirdparty%2Fvalgrind.git Fix amd64 assembly for presumably newer binutils. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3229 --- diff --git a/coregrind/amd64-linux/syscall.S b/coregrind/amd64-linux/syscall.S index 016678c093..79de91955f 100644 --- a/coregrind/amd64-linux/syscall.S +++ b/coregrind/amd64-linux/syscall.S @@ -101,11 +101,11 @@ VG_(clone): // CHILD - call thread function pop %rax // pop fn pop %rdi // pop fn arg1: arg - call *%eax // call fn + call *%rax // call fn // exit with result movq %rax, %rdi // arg1: return value from fn - movl $__NR_exit, %eax + movq $__NR_exit, %rax syscall