about summary refs log tree commit diff
path: root/shadow
diff options
context:
space:
mode:
authorMatheus Castanho <msc@linux.ibm.com>2020-12-03 14:15:28 -0300
committerTulio Magno Quites Machado Filho <tuliom@linux.ibm.com>2020-12-30 18:26:33 -0300
commit41f013cef24884604c303435dd1915be2ea5c0e0 (patch)
treeecbca383796ba7121e14a33f91ec6a5060d5a34d /shadow
parent68ab82f56690ada86ac1e0c46bad06ba189a10ef (diff)
downloadglibc-41f013cef24884604c303435dd1915be2ea5c0e0.tar.gz
glibc-41f013cef24884604c303435dd1915be2ea5c0e0.tar.xz
glibc-41f013cef24884604c303435dd1915be2ea5c0e0.zip
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 'shadow')
0 files changed, 0 insertions, 0 deletions