diff options
author | Matheus Castanho <msc@linux.ibm.com> | 2020-12-03 14:15:28 -0300 |
---|---|---|
committer | Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com> | 2020-12-30 18:26:33 -0300 |
commit | 41f013cef24884604c303435dd1915be2ea5c0e0 (patch) | |
tree | ecbca383796ba7121e14a33f91ec6a5060d5a34d /sysdeps/unix/sysv/linux/glibcsyscalls.py | |
parent | 68ab82f56690ada86ac1e0c46bad06ba189a10ef (diff) | |
download | glibc-41f013cef24884604c303435dd1915be2ea5c0e0.zip glibc-41f013cef24884604c303435dd1915be2ea5c0e0.tar.gz glibc-41f013cef24884604c303435dd1915be2ea5c0e0.tar.bz2 |
powerpc: Use scv instruction on clone when available
clone already uses r31 to temporarily save input arguments before doing the
syscall, so we use a different register to read from the TCB. We can also avoid
allocating another stack frame, which is not needed since we can simply extend
the usage of the red zone.
Tested-by: Lucas A. M. Magalhães <lamm@linux.ibm.com>
Reviewed-by: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
Diffstat (limited to 'sysdeps/unix/sysv/linux/glibcsyscalls.py')
0 files changed, 0 insertions, 0 deletions