aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-12-08 17:16:42 +0000
committerUlrich Drepper <drepper@redhat.com>2000-12-08 17:16:42 +0000
commitde55c82792509d1df67e0e8a4c18d4fff741d7ab (patch)
treef1305f355169b4bdf453b21dcfe06ea4747dadef
parentfa6dc9e01ee994296afbf60ea4401ef7dd464940 (diff)
downloadglibc-de55c82792509d1df67e0e8a4c18d4fff741d7ab.tar
glibc-de55c82792509d1df67e0e8a4c18d4fff741d7ab.tar.gz
glibc-de55c82792509d1df67e0e8a4c18d4fff741d7ab.tar.bz2
glibc-de55c82792509d1df67e0e8a4c18d4fff741d7ab.zip
Tail call to __stxcpy.
-rw-r--r--sysdeps/alpha/strcat.S4
-rw-r--r--sysdeps/alpha/strcpy.S4
2 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/alpha/strcat.S b/sysdeps/alpha/strcat.S
index ddc15d9ca6..433ca9fe64 100644
--- a/sysdeps/alpha/strcat.S
+++ b/sysdeps/alpha/strcat.S
@@ -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)
diff --git a/sysdeps/alpha/strcpy.S b/sysdeps/alpha/strcpy.S
index 24c827b10f..2fa631868f 100644
--- a/sysdeps/alpha/strcpy.S
+++ b/sysdeps/alpha/strcpy.S
@@ -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)