summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sparc/Makefile.arch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-04-23 12:17:56 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-04-26 19:41:08 +0200
commit2b3cdadee36b0445ed799932358dd94a1e839b46 (patch)
tree88120c5bcbf0a5420b3407bc5b0ccc1f0eae1456 /libc/sysdeps/linux/sparc/Makefile.arch
parentf1dcb9beedc5d05238e90cfbad026736d6efe891 (diff)
sparc: add deprecated context switching functions
Ported over from glibc mostly without changes. Lightly tested with mongrel2 in qemu-system-sparc.
Diffstat (limited to 'libc/sysdeps/linux/sparc/Makefile.arch')
-rw-r--r--libc/sysdeps/linux/sparc/Makefile.arch3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/sparc/Makefile.arch b/libc/sysdeps/linux/sparc/Makefile.arch
index 0173effbf..92ea7d93f 100644
--- a/libc/sysdeps/linux/sparc/Makefile.arch
+++ b/libc/sysdeps/linux/sparc/Makefile.arch
@@ -13,6 +13,9 @@ SSRC-y := \
SSRC-$(if $(UCLIBC_HAS_THREADS_NATIVE),,y) += fork.S vfork.S clone.S
+CSRC-$(UCLIBC_HAS_CONTEXT_FUNCS) += makecontext.c
+SSRC-$(UCLIBC_HAS_CONTEXT_FUNCS) += getcontext.S setcontext.S swapcontext.S
+
# check weather __LONG_DOUBLE_128__ is defined (long double support)
UCLIBC_SPARC_HAS_LONG_DOUBLE=$(shell if [ "x`$(CC) -E -dM -xc /dev/null 2>&1 | grep __LONG_DOUBLE_128__`" != "x" ]; then echo "y"; fi)
ifeq ($(UCLIBC_SPARC_HAS_LONG_DOUBLE),y)