getcontext, makecontext, setcontext, swapcontext
authorThomas Schwinge <thomas@codesourcery.com>
Sun, 14 Jan 2018 10:24:48 +0000 (10:24 +0000)
committerAurelien Jarno <aurel32@debian.org>
Sun, 14 Jan 2018 10:24:48 +0000 (10:24 +0000)
commitf1c9e434907b57303b4d87ced34bc2d0bbe4ea8c
treeeaa26c70f60a4d2ccd02bf28f83d20cc00c7d6d8
parent7d447e216bc54b932f5d7ce142271cd24eb8ef47
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-helper.c [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]