alpha: Fix clone exit syscall argument passing (BZ#21512)
Commit Message
This patch fixes the argument passing for exit syscall after
the clone function returns on hppa. This fixes misc/tst-clone2
on alpha-linux-gnu.
Checked misc/tst-clone2 on alpha-linux-gnu. I will commit this shortly if
no one opposes.
[BZ #21512]
* sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Fix argument
passing to syscall exit.
---
ChangeLog | 5 +++++
sysdeps/unix/sysv/linux/alpha/clone.S | 1 +
2 files changed, 6 insertions(+)
Comments
On 07/19/2017 04:48 AM, Adhemerval Zanella wrote:
> Checked misc/tst-clone2 on alpha-linux-gnu. I will commit this shortly if
> no one opposes.
>
> [BZ #21512]
> * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Fix argument
> passing to syscall exit.
> ---
Ok, thanks.
r~
@@ -98,6 +98,7 @@ thread_start:
jsr ra, (pv)
ldgp gp, 0(ra)
+ mov v0, a0
ldiq v0, __NR_exit
call_pal PAL_callsys