]> git.ipfire.org Git - thirdparty/glibc.git/commit
mips: Remove rt_sigreturn usage on context function
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 15 Feb 2019 14:04:45 +0000 (12:04 -0200)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 17 Apr 2019 18:14:45 +0000 (15:14 -0300)
commita3ae315a8f824f004e15327c388ef9c408ec116b
tree375f9d3b78ceb376d1dbc0510190264601639ecc
parentffe8a9a8318e1db225b22da8bc067408494bac5c
mips: Remove rt_sigreturn usage on context function

Similar to powerpc, mips also issues rt_sigreturn for setcontext
case the v0 value saved is not the one set by setcontext or
makecontext. As for powerpc, it is intention is no really supported
since setcontext is not async-signal-safe.

Checked the context tests on mips64-linux-gnu and mips-linux-gnu.

* sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
the magic flag store.
* sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
Likewise.
* sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
Likewise.
* sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
Remove rt_sigreturn call.
ChangeLog
sysdeps/unix/sysv/linux/mips/getcontext.S
sysdeps/unix/sysv/linux/mips/makecontext.S
sysdeps/unix/sysv/linux/mips/setcontext.S
sysdeps/unix/sysv/linux/mips/swapcontext.S