summaryrefslogtreecommitdiff
path: root/libc/string/arm/memcpy.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/arm/memcpy.S')
-rw-r--r--libc/string/arm/memcpy.S11
1 files changed, 8 insertions, 3 deletions
diff --git a/libc/string/arm/memcpy.S b/libc/string/arm/memcpy.S
index 4869007d3..372da4c49 100644
--- a/libc/string/arm/memcpy.S
+++ b/libc/string/arm/memcpy.S
@@ -37,12 +37,17 @@
* by Erik Andersen <andersen@codepoet.org>
*/
-.text
.global memcpy
-.type memcpy,%function
+.set memcpy,__memcpy
+.text
+.global __memcpy
+.hidden __memcpy
+.type __memcpy,%function
.align 4
-memcpy:
+__memcpy:
stmfd sp!, {r0, lr}
bl _memcpy (PLT)
ldmfd sp!, {r0, pc}
+
+.size __memcpy,.-__memcpy