[git commit] sparc: fix build for linuxthreads.old
Austin Foxley
austinf at cetoncorp.com
Thu Oct 27 14:32:55 UTC 2011
commit: http://git.uclibc.org/uClibc/commit/?id=015179a2c816abe1e6a8ef7e5517362f20dd49da
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master
sparc target has assembly implementations of clone.S that doesn't
get used, and thus the build breaks. Also, sparc is missing a header file in
pthreads.old that exists in pthreads.new.
Signed-off-by: Rob Landley <rob at landley.net>
Signed-off-by: Austin Foxley <austinf at cetoncorp.com>
---
libc/sysdeps/linux/sparc/Makefile.arch | 2 +-
.../linuxthreads.old/sysdeps/sparc/tcb-offsets.h | 1 +
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/libc/sysdeps/linux/sparc/Makefile.arch b/libc/sysdeps/linux/sparc/Makefile.arch
index d0cae9f..820b2fa 100644
--- a/libc/sysdeps/linux/sparc/Makefile.arch
+++ b/libc/sysdeps/linux/sparc/Makefile.arch
@@ -13,7 +13,7 @@ SSRC := \
ifneq ($(UCLIBC_HAS_THREADS_NATIVE),y)
CSRC += sigaction.c
-SSRC += fork.S vfork.S
+SSRC += fork.S vfork.S clone.S
endif
# check weather __LONG_DOUBLE_128__ is defined (long double support)
diff --git a/libpthread/linuxthreads.old/sysdeps/sparc/tcb-offsets.h b/libpthread/linuxthreads.old/sysdeps/sparc/tcb-offsets.h
new file mode 100644
index 0000000..6d6f111
--- /dev/null
+++ b/libpthread/linuxthreads.old/sysdeps/sparc/tcb-offsets.h
@@ -0,0 +1 @@
+#include "../../../linuxthreads/sysdeps/pthread/tcb-offsets.h"
More information about the uClibc-cvs
mailing list