]> sourceware.org Git - glibc.git/commit
Restore r31 setting in powerpc32 swapcontext.
authorJoseph Myers <joseph@codesourcery.com>
Tue, 30 Jul 2019 14:05:11 +0000 (14:05 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Tue, 30 Jul 2019 14:05:11 +0000 (14:05 +0000)
commitc86b8e7579ac2c4a1f1f70a56715580ed77b4a79
tree50d4d3b94ce09e19a4ec5dea15113cb2a479d301
parent8a814e20d443adc460a1030fa1a66aa9ae817483
Restore r31 setting in powerpc32 swapcontext.

Commit ffe8a9a8318e1db225b22da8bc067408494bac5c, "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.
ChangeLog
sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
This page took 0.0444870000000001 seconds and 5 git commands to generate.