summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/x86_64
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2010-02-19 19:21:25 -0800
committerKhem Raj <raj.khem@gmail.com>2010-02-19 19:22:35 -0800
commit39548d72297a8c3d8d55e04b8240e4ce09913a82 (patch)
tree39f761ceb2061438c76d6bb5f7ceb3ea2c9720ff /libc/sysdeps/linux/x86_64
parent1db4f8f8389f6a935ecd83aff7fcce5d1cf2c0f3 (diff)
Get x86_64 compile to succeed.
* The changes to clone.S needs testing Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/x86_64')
-rw-r--r--libc/sysdeps/linux/x86_64/clone.S3
1 files changed, 2 insertions, 1 deletions
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)