]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix amd64 assembly for presumably newer binutils.
authorJulian Seward <jseward@acm.org>
Sat, 5 Feb 2005 14:59:25 +0000 (14:59 +0000)
committerJulian Seward <jseward@acm.org>
Sat, 5 Feb 2005 14:59:25 +0000 (14:59 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3229

coregrind/amd64-linux/syscall.S

index 016678c09368f9c381c9abf29b6f371ab11d9c01..79de91955fb369e3055f67ad2edd03de059a74e6 100644 (file)
@@ -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