Browse Source

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 <rob@landley.net>
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Rob Landley 12 years ago
parent
commit
015179a2c8

+ 1 - 1
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)

+ 1 - 0
libpthread/linuxthreads.old/sysdeps/sparc/tcb-offsets.h

@@ -0,0 +1 @@
+#include "../../../linuxthreads/sysdeps/pthread/tcb-offsets.h"