]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Tail call to __stxcpy.
authorUlrich Drepper <drepper@redhat.com>
Fri, 8 Dec 2000 17:16:42 +0000 (17:16 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 8 Dec 2000 17:16:42 +0000 (17:16 +0000)
sysdeps/alpha/strcat.S
sysdeps/alpha/strcpy.S

index ddc15d9ca688868442182ad5125474209f634fcd..433ca9fe64a5fe10e7837bb5fb7b47f3569b2c74 100644 (file)
@@ -65,7 +65,7 @@ $found:       negq    t1, t2          # clear all but least set bit
 
        /* Now do the append.  */
 
-       jsr     t9, __stxcpy
-       ret
+       mov     ra, t9
+       jmp     $31, __stxcpy
 
        END(strcat)
index 24c827b10fabd0fe54c29d1bce755d3b0f938e49..2fa631868fa47d93f07a3b801d78bfb7a495eb77 100644 (file)
@@ -35,7 +35,7 @@ ENTRY(strcpy)
        .prologue 1
 
        mov     a0, v0          # set up return value
-       jsr     t9, __stxcpy    # do the copy
-       ret
+       mov     ra, t9
+       jmp     $31, __stxcpy   # do the copy
 
        END(strcpy)