]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Make amd64 signal returns work.
authorJulian Seward <jseward@acm.org>
Tue, 8 Feb 2005 15:00:48 +0000 (15:00 +0000)
committerJulian Seward <jseward@acm.org>
Tue, 8 Feb 2005 15:00:48 +0000 (15:00 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3233

coregrind/amd64-linux/syscall.S

index 79de91955fb369e3055f67ad2edd03de059a74e6..bcbff727cc817085e9ae5c54a9d7c81029859bf5 100644 (file)
@@ -116,12 +116,10 @@ VG_(clone):
         ret
 
 
-
-# XXX: must reinstate comments also -- see x86-linux/syscall.S
-
 .globl VG_(sigreturn)
 VG_(sigreturn):
-       ud2
+        movq    $__NR_rt_sigreturn, %rax
+        syscall
 
 /* Let the linker know we don't need an executable stack */
 .section .note.GNU-stack,"",@progbits