]> sourceware.org Git - glibc.git/commit
powerpc: Remove rt_sigreturn usage on context function
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 15 Feb 2019 13:55:16 +0000 (11:55 -0200)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 17 Apr 2019 18:14:41 +0000 (15:14 -0300)
commitffe8a9a8318e1db225b22da8bc067408494bac5c
tree601c619deb524e26d7eeae63c6a8969435c527d6
parent0e169691290a6d2187a4ff41495fc5678cbfdcdc
powerpc: Remove rt_sigreturn usage on context function

As described in a recent glibc thread [1], the rt_sigreturn syscall
on setcontext and swapcontext is not used on default use and its
intention is no really supported since neither setcontext nor
swapcontext are async-signal-safe.

Checked on powerpc64-linux-gnu and powerpc-linux-gnu.

* sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
Remove rt_sigreturn call.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.

[1] https://sourceware.org/ml/libc-alpha/2019-02/msg00367.html
ChangeLog
sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
This page took 0.045017 seconds and 5 git commands to generate.