about summary refs log tree commit diff
path: root/bits
diff options
context:
space:
mode:
authorStefan Liebler <stli@linux.ibm.com>2024-02-22 15:03:27 +0100
committerStefan Liebler <stli@linux.ibm.com>2024-02-26 13:37:46 +0100
commit02782fd12849b6673cb5c2728cb750e8ec295aa3 (patch)
tree59524fadd808d68650a173b490b3495f68c4d745 /bits
parent9f78a7c1d0963282608da836b840f0d5ae1c478e (diff)
downloadglibc-02782fd12849b6673cb5c2728cb750e8ec295aa3.tar.gz
glibc-02782fd12849b6673cb5c2728cb750e8ec295aa3.tar.xz
glibc-02782fd12849b6673cb5c2728cb750e8ec295aa3.zip
S390: Do not clobber r7 in clone [BZ #31402]
Starting with commit e57d8fc97b90127de4ed3e3a9cdf663667580935
"S390: Always use svc 0"
clone clobbers the call-saved register r7 in error case:
function or stack is NULL.

This patch restores the saved registers also in the error case.
Furthermore the existing test misc/tst-clone is extended to check
all error cases and that clone does not clobber registers in this
error case.
Diffstat (limited to 'bits')
0 files changed, 0 insertions, 0 deletions