From 015179a2c816abe1e6a8ef7e5517362f20dd49da Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Thu, 27 Oct 2011 07:31:06 -0700 Subject: sparc: fix build for linuxthreads.old 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 Signed-off-by: Austin Foxley --- libc/sysdeps/linux/sparc/Makefile.arch | 2 +- libpthread/linuxthreads.old/sysdeps/sparc/tcb-offsets.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 libpthread/linuxthreads.old/sysdeps/sparc/tcb-offsets.h diff --git a/libc/sysdeps/linux/sparc/Makefile.arch b/libc/sysdeps/linux/sparc/Makefile.arch index d0cae9ff8..820b2facf 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 000000000..6d6f111f4 --- /dev/null +++ b/libpthread/linuxthreads.old/sysdeps/sparc/tcb-offsets.h @@ -0,0 +1 @@ +#include "../../../linuxthreads/sysdeps/pthread/tcb-offsets.h" -- cgit v1.2.3