glibc/sysdeps/unix/sysv/linux/powerpc/powerpc32
Joseph Myers b040e1b084 Make soft-float powerpc swapcontext restore the signal mask (bug 21045).
The soft-float powerpc version of swapcontext does not restore the
signal mask, resulting in stdlib/tst-setcontext2 failing:

after getcontext
after setcontext
after swapcontext
FAIL: SIGUSR2 is blocked after swapcontext.

This patch fixes this by adjusting the arguments passed to
__sigprocmask so that it restores the saved signal mask as well as
saving the existing one.  (For hard-float, this code is only used for
a compat symbol, not for the current version of swapcontext.)

Tested for soft-float powerpc.

	[BZ #21045]
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
	(__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
	to __sigprocmask.
2017-01-16 21:34:48 +00:00
..
405
440
464
476
970
a2
cell
e500/nofpu
fpu
nofpu
Makefile
Versions
____longjmp_chk.S
brk.S
c++-types.data
clone.S
configure
configure.ac
fcntl.c
fxstat.c
fxstatat.c
getcontext-common.S
getcontext.S
glob64.c
kernel_stat.h
ld.abilist
libBrokenLocale.abilist
libanl.abilist
libcrypt.abilist
libdl.abilist
libnsl.abilist
libpthread.abilist
libresolv.abilist
librt.abilist
libthread_db.abilist
libutil.abilist
lockf64.c
lxstat.c
makecontext.S
scandir64.c
setcontext-common.S
setcontext.S
swapcontext-common.S Make soft-float powerpc swapcontext restore the signal mask (bug 21045). 2017-01-16 21:34:48 +00:00
swapcontext.S
syscalls.list
sysdep-cancel.h
sysdep.h
ucontext_i.sym
vfork.S
xstat.c