[git commit master] Get x86_64 compile to succeed.

Khem Raj raj.khem at gmail.com
Fri Apr 23 14:31:55 UTC 2010


commit: http://git.uclibc.org/uClibc/commit/?id=39548d72297a8c3d8d55e04b8240e4ce09913a82
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

* The changes to clone.S needs testing

Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 libc/sysdeps/linux/x86_64/clone.S                  |    3 ++-
 .../sysdeps/unix/sysv/linux/x86_64/Makefile.arch   |    4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/libc/sysdeps/linux/x86_64/clone.S b/libc/sysdeps/linux/x86_64/clone.S
index 8f53a84..8c66ce5 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)
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/Makefile.arch b/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/Makefile.arch
index cd4f242..53a8772 100644
--- a/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/Makefile.arch
+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/Makefile.arch
@@ -18,8 +18,8 @@ libpthread_SSRC += lowlevellock.S pthread_barrier_wait.S pthread_cond_signal.S p
 		   sem_post.S sem_timedwait.S lowlevelrobustlock.S \
 		   sem_trywait.S sem_wait.S pthread_rwlock_rdlock.S pthread_rwlock_wrlock.S \
 		   pthread_rwlock_timedrdlock.S pthread_rwlock_timedwrlock.S pthread_rwlock_unlock.S \
-		   pthread_cond_timedwait.S pthread_cond_wait.S pthread_spin_unlock.S
-
+		   pthread_spin_unlock.S
+# pthread_cond_timedwait.S pthread_cond_wait.S
 libc_a_SSRC += libc-lowlevellock.S
 
 
-- 
1.6.3.3



More information about the uClibc-cvs mailing list