summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sparc/Makefile.arch
diff options
context:
space:
mode:
authorAustin Foxley <austinf@cetoncorp.com>2009-10-17 13:05:04 -0700
committerAustin Foxley <austinf@cetoncorp.com>2009-10-17 13:05:04 -0700
commit843d561eba0c4856fc4465215d56c81b868dec14 (patch)
tree87fad6df4f60f2ea710ccaacb5cf645731172331 /libc/sysdeps/linux/sparc/Makefile.arch
parent4a689f0b907d4a98582a9c4b7f6be811924db8ee (diff)
sparc specific bits needed for nptl
* a tweaked clone.S with RESET_PID support * atomic.h with cmpxchg that works for v8 and beyond Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libc/sysdeps/linux/sparc/Makefile.arch')
-rw-r--r--libc/sysdeps/linux/sparc/Makefile.arch11
1 files changed, 9 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/sparc/Makefile.arch b/libc/sysdeps/linux/sparc/Makefile.arch
index ffae27bc7..8a624205a 100644
--- a/libc/sysdeps/linux/sparc/Makefile.arch
+++ b/libc/sysdeps/linux/sparc/Makefile.arch
@@ -5,8 +5,15 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-CSRC := brk.c __syscall_error.c qp_ops.c sigaction.c
+CSRC := brk.c __syscall_error.c qp_ops.c
SSRC := \
- __longjmp.S fork.S vfork.S clone.S setjmp.S bsd-setjmp.S bsd-_setjmp.S \
+ __longjmp.S setjmp.S bsd-setjmp.S bsd-_setjmp.S \
syscall.S urem.S udiv.S umul.S sdiv.S rem.S pipe.S
+
+ifneq ($(UCLIBC_HAS_THREADS_NATIVE),y)
+CSRC += sigaction.c
+SSRC += fork.S vfork.S
+endif
+
+