git-context_functions
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Wed, 25 Mar 2020 12:56:56 +0000 (12:56 +0000)
committerAurelien Jarno <aurel32@debian.org>
Wed, 25 Mar 2020 12:56:56 +0000 (12:56 +0000)
commit2a343988ff6e5cb612d5e100bba37bc218055331
tree2766f78f2a954ecd9b101c3602ced26756062a3c
parenta4177fd7f6a093baf268256cbad7bca9dbbe87ac
git-context_functions

committed for glibc 2.31

Subject: [PATCH] getcontext, makecontext, setcontext, swapcontext

From: Thomas Schwinge <thomas@codesourcery.com>

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 git-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]