]> sourceware.org Git - glibc.git/commit
powerpc64[le]: Allocate extra stack frame on syscall.S
authorMatheus Castanho <msc@linux.ibm.com>
Wed, 1 Dec 2021 14:14:40 +0000 (11:14 -0300)
committerMatheus Castanho <msc@linux.ibm.com>
Fri, 17 Dec 2021 18:40:53 +0000 (15:40 -0300)
commitae91d3df24a4a1b1f264d101a71a298bff310d14
tree9ecb3750b4552a8064c33c54269da420216aa192
parentc16dc431c81b8cd0605d61d24642bd3c5dcefacd
powerpc64[le]: Allocate extra stack frame on syscall.S

The syscall function does not allocate the extra stack frame for scv like other
assembly syscalls using DO_CALL_SCV. So after commit d120fb9941 changed the
offset that is used to save LR, syscall ended up using an invalid offset,
causing regressions on powerpc64. So make sure the extra stack frame is
allocated in syscall.S as well to make it consistent with other uses of
DO_CALL_SCV and avoid similar issues in the future.

Tested on powerpc, powerpc64, and powerpc64le (with and without scv)

Reviewed-by: Raphael M Zinsly <rzinsly@linux.ibm.com>
sysdeps/unix/sysv/linux/powerpc/syscall.S
This page took 0.035201 seconds and 5 git commands to generate.