getcontext, makecontext, setcontext, swapcontext
authorThomas Schwinge <thomas@codesourcery.com>
Fri, 9 Mar 2018 20:48:04 +0000 (20:48 +0000)
committerAurelien Jarno <aurel32@debian.org>
Fri, 9 Mar 2018 20:48:04 +0000 (20:48 +0000)
commitfe5bede7aa23f2dc2cdc36d2d3399fee51002743
tree627613a7f24fbdc34a52fae5031342b2d25877ef
parent16f80af9e13cbdff422f142e334aa9f3a8557c10
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]