getcontext, makecontext, setcontext, swapcontext
authorThomas Schwinge <thomas@codesourcery.com>
Thu, 28 Feb 2019 05:56:01 +0000 (05:56 +0000)
committerSamuel Thibault <sthibault@debian.org>
Thu, 28 Feb 2019 05:56:01 +0000 (05:56 +0000)
commit15760c278c8b79b59bb2699a43c4fad65fc4de95
tree045d057b8b00695d30c017062d6c63444b812b71
parent1d565ca9e66ead98cfd26278fdca04196339dd8d
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]