diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2022-06-17 02:40:11 -0700 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2022-06-20 12:17:17 +0200 |
commit | 6561433a6680b34c04dd4581e340f96cc7dfb04c (patch) | |
tree | 256e5adccc7312c7cd54e4401c3d0a850d350852 /libc/sysdeps/linux/xtensa/Makefile.arch | |
parent | 6d45c0fe89e6de7d35a991051ec7f9feaaaf3729 (diff) |
xtensa: implement user context manipulation functions
Implement getcontext, makecontext, setcontext and swapcontext.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/xtensa/Makefile.arch')
-rw-r--r-- | libc/sysdeps/linux/xtensa/Makefile.arch | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/xtensa/Makefile.arch b/libc/sysdeps/linux/xtensa/Makefile.arch index 23cd08ee5..f3a93caaa 100644 --- a/libc/sysdeps/linux/xtensa/Makefile.arch +++ b/libc/sysdeps/linux/xtensa/Makefile.arch @@ -10,3 +10,6 @@ SSRC-y := bsd-_setjmp.S bsd-setjmp.S setjmp.S clone.S \ sigrestorer.S syscall.S mmap.S windowspill.S __longjmp.S vfork.S CSRC-$(if $(UCLIBC_HAS_THREADS_NATIVE),,y) += fork.c + +CSRC-$(UCLIBC_HAS_CONTEXT_FUNCS) += makecontext.c +SSRC-$(UCLIBC_HAS_CONTEXT_FUNCS) += setcontext.S getcontext.S swapcontext.S __start_context.S |