Message ID | 1500302932-28664-1-git-send-email-adhemerval.zanella@linaro.org |
---|---|
State | New |
Headers | show |
On 2017-07-17 10:48 AM, Adhemerval Zanella wrote: > This patch fixes the argument passing for exit syscall after > the clone function returns on hppa. This fixes on misc/tst-clone1. Thanks, will check. -- John David Anglin dave.anglin@bell.net
On 2017-07-17 10:48 AM, Adhemerval Zanella wrote: > This patch fixes the argument passing for exit syscall after > the clone function returns on hppa. This fixes on misc/tst-clone1. Actually, this is obvious when pointed out. Okay. Dave -- John David Anglin dave.anglin@bell.net
diff --git a/sysdeps/unix/sysv/linux/hppa/clone.S b/sysdeps/unix/sysv/linux/hppa/clone.S index ead3c92..0579d98 100644 --- a/sysdeps/unix/sysv/linux/hppa/clone.S +++ b/sysdeps/unix/sysv/linux/hppa/clone.S @@ -150,7 +150,7 @@ ENTRY(__clone) #ifdef PIC copy %r4, %r19 #endif - /* The call to _exit needs saved r19. */ + copy %r28, %r26 ble 0x100(%sr2, %r0) ldi __NR_exit, %r20