From: Ulrich Drepper Date: Wed, 30 Apr 1997 15:49:27 +0000 (+0000) Subject: Save the function argument in t0 rather than a4 to avoid it being X-Git-Tag: upstream/2.30~10627^2~3621 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=75635b00de773d61a04d7a0217d8c8df70dfde9c;p=external%2Fglibc.git Save the function argument in t0 rather than a4 to avoid it being clobbered. --- diff --git a/sysdeps/unix/sysv/linux/alpha/clone.S b/sysdeps/unix/sysv/linux/alpha/clone.S index 261bd81..5d36e25 100644 --- a/sysdeps/unix/sysv/linux/alpha/clone.S +++ b/sysdeps/unix/sysv/linux/alpha/clone.S @@ -44,7 +44,7 @@ ENTRY(__clone) /* Do the system call */ mov a0,pv /* get fn ptr out of the way */ - mov a3,a4 /* get fn arg out of the way */ + mov a3,t0 /* get fn arg out of the way */ mov a2,a0 ldiq v0,__NR_clone call_pal PAL_callsys @@ -74,7 +74,7 @@ thread_start: .prologue 0 /* Call the user's function */ - mov a4,a0 + mov t0,a0 jsr ra,(pv) ldgp gp,0(ra)