]> git.ipfire.org Git - thirdparty/glibc.git/commit
S390: Remove not needed stack frame in syscall function.
authorStefan Liebler <stli@linux.ibm.com>
Wed, 23 Oct 2019 12:51:53 +0000 (14:51 +0200)
committerStefan Liebler <stli@linux.ibm.com>
Wed, 23 Oct 2019 12:51:53 +0000 (14:51 +0200)
commit76aaa13d5d654a2ba0d59cd328b3f5425809aa7e
treeb5b75d556ff8b14586dc818dd2e3dfa21c317460
parent7db1fe38de21831d53ceab9ae83493d8d1aec601
S390: Remove not needed stack frame in syscall function.

As an svc invocation does not clobber any user space registers
despite of the return value r2 and it does not need a special
stack frame. This patch gets rid of the extra frame.
We just have to save and restore r6 and r7 as those are
preserved across function calls.
sysdeps/unix/sysv/linux/s390/s390-32/syscall.S
sysdeps/unix/sysv/linux/s390/s390-64/syscall.S