getcontext, makecontext, setcontext, swapcontext
authorThomas Schwinge <thomas@codesourcery.com>
Thu, 31 Oct 2019 22:31:12 +0000 (22:31 +0000)
committerSamuel Thibault <sthibault@debian.org>
Thu, 31 Oct 2019 22:31:12 +0000 (22:31 +0000)
commit927d6d417e8b823fd4d4cced37cd1c3d6c637b4f
treedf1fe3bdc85bbe9093a2d84a6de6a3c9fe41e410
parent617f5118a4f3cbdeb025a4eea691b2a2ef541c59
getcontext, makecontext, setcontext, swapcontext

Adapted from the Linux x86 functions.

Not thoroughly tested, but manual testing as well as glibc tests look fine, and
manual -lpthread testing also looks fine (within the given bounds for a new
stack to be used with makecontext).

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name tg-context_functions.diff
sysdeps/mach/hurd/i386/Makefile
sysdeps/mach/hurd/i386/getcontext.S [new file with mode: 0644]
sysdeps/mach/hurd/i386/makecontext.S [new file with mode: 0644]
sysdeps/mach/hurd/i386/setcontext.S [new file with mode: 0644]
sysdeps/mach/hurd/i386/swapcontext.S [new file with mode: 0644]
sysdeps/mach/hurd/i386/ucontext_i.sym [new file with mode: 0644]