glibc/sysdeps/unix/sysv/linux/powerpc/powerpc32
Joseph Myers c86b8e7579 Restore r31 setting in powerpc32 swapcontext.
Commit ffe8a9a831, "powerpc: Remove
rt_sigreturn usage on context function", removed from powerpc32
swapcontext a setting of r31 that is relied upon in subsequent code.
I'm not sure why this didn't produce test failures in Adhemerval's
32-bit testing; in my (soft-float) testing in preparation for 2.30
release, I see several context-related failures

FAIL: stdlib/tst-makecontext2
FAIL: stdlib/tst-makecontext3
FAIL: stdlib/tst-setcontext
FAIL: stdlib/tst-setcontext2
FAIL: stdlib/tst-setcontext4
FAIL: stdlib/tst-setcontext7
FAIL: stdlib/tst-setcontext9
FAIL: stdlib/tst-swapcontext1

that did not appear in 2.29 testing.  This patch restores the removed
register setting in question, and thus fixes those failures.

Tested for powerpc (soft-float).

	* sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
	(__CONTEXT_FUNC_NAME): Restore setting of r31.
2019-07-30 14:05:11 +00:00
..
405
440
464
476
970
a2
cell
fpu
nofpu
Makefile
Versions
____longjmp_chk.S
alphasort64.c
brk.S
c++-types.data
clone.S
configure
configure.ac
fxstat.c
fxstatat.c
getcontext-common.S
getcontext.S
jmp_buf-macros.h
kernel_stat.h
ld.abilist
libBrokenLocale.abilist
libanl.abilist
libcrypt.abilist
libdl.abilist
libnsl.abilist
libpthread.abilist nptl: Add POSIX-proposed pthread_mutex_clocklock 2019-07-12 13:36:25 +00:00
libresolv.abilist
librt.abilist
libthread_db.abilist
libutil.abilist
lxstat.c
makecontext.S
setcontext-common.S
setcontext.S
swapcontext-common.S Restore r31 setting in powerpc32 swapcontext. 2019-07-30 14:05:11 +00:00
swapcontext.S
syscalls.list
sysdep.h
ucontext_i.sym
versionsort64.c
vfork.S
xstat.c