alpha: Fix clone exit syscall argument passing (BZ#21512)

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.

	[BZ #21512]
	* sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Fix argument
	passing to syscall exit.
This commit is contained in:
Adhemerval Zanella 2017-07-19 11:45:37 -03:00
parent f8cef4d07d
commit d500130f31
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2017-07-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
* sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Fix argument
passing to syscall exit.
2017-07-19 DJ Delorie <dj@delorie.com>
* grp/grp-merge.c (libc_hidden_def): Fix cast-after-dereference.

View File

@ -98,6 +98,7 @@ thread_start:
jsr ra, (pv)
ldgp gp, 0(ra)
mov v0, a0
ldiq v0, __NR_exit
call_pal PAL_callsys