summaryrefslogtreecommitdiff
path: root/libc/string/sh64/strcpy.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/sh64/strcpy.S')
-rw-r--r--libc/string/sh64/strcpy.S10
1 files changed, 6 insertions, 4 deletions
diff --git a/libc/string/sh64/strcpy.S b/libc/string/sh64/strcpy.S
index 273e9147c..faa071c50 100644
--- a/libc/string/sh64/strcpy.S
+++ b/libc/string/sh64/strcpy.S
@@ -16,10 +16,13 @@
.section .text..SHmedia32,"ax"
.globl strcpy
- .type strcpy, @function
+ .set strcpy,__strcpy
+ .globl __strcpy
+ .hidden __strcpy
+ .type __strcpy, @function
.align 5
-strcpy:
+__strcpy:
pta/l shortstring,tr1
ldlo.q r3,0,r4
@@ -94,5 +97,4 @@ loop:
addi r0, 8, r0
blink tr1, r63 // shortstring
- .size strcpy, . - strcpy
-
+ .size __strcpy,.-__strcpy