summaryrefslogtreecommitdiffstats
path: root/lib/libc/amd64
diff options
context:
space:
mode:
authordeischen <deischen@FreeBSD.org>2002-01-10 02:40:59 +0000
committerdeischen <deischen@FreeBSD.org>2002-01-10 02:40:59 +0000
commite1f74be694147bb02870412a7cb3af53ece7abca (patch)
tree8750e6ef947fb24d389f0ee38142a07bce7ca69d /lib/libc/amd64
parentb11ad1474409669c5f7ff5cf0ea388966e0f1780 (diff)
downloadFreeBSD-src-e1f74be694147bb02870412a7cb3af53ece7abca.zip
FreeBSD-src-e1f74be694147bb02870412a7cb3af53ece7abca.tar.gz
Add getcontext, setcontext, makecontext, and swapcontext. These
functions are defined in SUSv2 and the latest POSIX spec. Thanks to Bernd Walter <ticso@cicely8.cicely.de> for helping debug my alpha assembly. Approved by: -arch
Diffstat (limited to 'lib/libc/amd64')
-rw-r--r--lib/libc/amd64/gen/Makefile.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/amd64/gen/Makefile.inc b/lib/libc/amd64/gen/Makefile.inc
index 66b0759..f5db83f 100644
--- a/lib/libc/amd64/gen/Makefile.inc
+++ b/lib/libc/amd64/gen/Makefile.inc
@@ -3,3 +3,4 @@
SRCS+= _setjmp.S alloca.S fabs.S frexp.c infinity.c isinf.c ldexp.c modf.S \
rfork_thread.S setjmp.S sigsetjmp.S
+SRCS+= _ctx_start.S getcontext.S makecontext.c
OpenPOWER on IntegriCloud