]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Save the function argument in t0 rather than a4 to avoid it being
authorUlrich Drepper <drepper@redhat.com>
Wed, 30 Apr 1997 15:49:27 +0000 (15:49 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 30 Apr 1997 15:49:27 +0000 (15:49 +0000)
clobbered.

sysdeps/unix/sysv/linux/alpha/clone.S

index 261bd81e579881f4653dcdc891c35c5c60d498be..5d36e2588d7a9921768087d991aea5ceb5b671b2 100644 (file)
@@ -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)