From 2b3cdadee36b0445ed799932358dd94a1e839b46 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 23 Apr 2016 12:17:56 +0200 Subject: sparc: add deprecated context switching functions Ported over from glibc mostly without changes. Lightly tested with mongrel2 in qemu-system-sparc. --- libc/sysdeps/linux/sparc/Makefile.arch | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libc/sysdeps/linux/sparc/Makefile.arch') 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) -- cgit v1.2.3