glibc/sysdeps
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
..
aarch64 aarch64: simplify the DT_AARCH64_VARIANT_PCS handling code 2019-07-10 15:28:00 +01:00
alpha
arm
csky
generic posix: Fix large mmap64 offset for mips64n32 (BZ#24699) 2019-07-10 16:52:50 -03:00
gnu
hppa
htl
hurd
i386 x86: Add sysdeps/x86/dl-lookupcfg.h 2019-06-26 15:07:28 -07:00
ia64
ieee754 math: Use wordsize-64 version for s_logb 2019-07-08 17:22:22 -03:00
init_array
m68k
mach
microblaze
mips
nios2
nptl nptl: Remove unnecessary forwarding of pthread_cond_clockwait from libc 2019-07-18 11:24:33 -03:00
posix
powerpc [powerpc] fenv_libc.h: protect use of __builtin_cpu_supports 2019-07-09 13:09:35 -05:00
pthread nptl: Add POSIX-proposed sem_clockwait 2019-07-12 13:36:23 +00:00
riscv riscv: restore ABI compatibility (bug 24484) 2019-07-04 14:55:58 +02:00
s390 S390: Regenerate ULPs. 2019-06-25 15:14:17 +02:00
sh
sparc nptl: Rename lll_timedlock to lll_clocklock and add clockid parameter 2019-07-12 13:36:25 +00:00
unix Restore r31 setting in powerpc32 swapcontext. 2019-07-30 14:05:11 +00:00
wordsize-32
wordsize-64
x86 Call _dl_open_check after relocation [BZ #24259] 2019-07-01 12:23:22 -07:00
x86_64 x86-64: Compile branred.c with -mprefer-vector-width=128 [BZ #24603] 2019-07-24 14:48:43 -07:00