From 39548d72297a8c3d8d55e04b8240e4ce09913a82 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 19 Feb 2010 19:21:25 -0800 Subject: Get x86_64 compile to succeed. * The changes to clone.S needs testing Signed-off-by: Khem Raj --- libc/sysdeps/linux/x86_64/clone.S | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libc/sysdeps/linux') diff --git a/libc/sysdeps/linux/x86_64/clone.S b/libc/sysdeps/linux/x86_64/clone.S index 8f53a8412..8c66ce547 100644 --- a/libc/sysdeps/linux/x86_64/clone.S +++ b/libc/sysdeps/linux/x86_64/clone.S @@ -109,7 +109,8 @@ clone: call *%rax /* Call exit with return value from function call. */ movq %rax, %rdi - call HIDDEN_JUMPTARGET(_exit) + movl $__NR_exit, %eax + syscall .size clone,.-clone weak_alias(clone, __clone) -- cgit v1.2.3