From a8dc90eaaa5e6474beac828558d969b1aafee4af Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Wed, 9 Jan 2013 16:17:21 +0100 Subject: libc: add {get,set,swap,make}context user context manipulation functions Add the obsolescent SUSv3 family of user context manipulating functions for arm, i386, mips, x86_64. Signed-off-by: Timon ter Braak Signed-off-by: Florian Fainelli Signed-off-by: Bernhard Reutner-Fischer Signed-off-by: Natanael Copa Signed-off-by: Bernhard Reutner-Fischer --- libc/sysdeps/linux/i386/Makefile.arch | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libc/sysdeps/linux/i386/Makefile.arch') diff --git a/libc/sysdeps/linux/i386/Makefile.arch b/libc/sysdeps/linux/i386/Makefile.arch index a3bf32f56..e7fd28eea 100644 --- a/libc/sysdeps/linux/i386/Makefile.arch +++ b/libc/sysdeps/linux/i386/Makefile.arch @@ -18,3 +18,7 @@ endif ifneq ($(UCLIBC_HAS_THREADS_NATIVE),y) SSRC += vfork.S clone.S endif + +ifeq ($(UCLIBC_HAS_CONTEXT_FUNCS),y) +SSRC += makecontext.S setcontext.S getcontext.S swapcontext.S +endif -- cgit v1.2.3