summaryrefslogtreecommitdiff
path: root/libc/string/arm/memcpy.S
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-11 23:59:19 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-11 23:59:19 +0000
commit925220a4fecf635d106989aa4a56d80152777ba3 (patch)
treed913d7fa283471f1c3e03feaeb135e36b02d05cb /libc/string/arm/memcpy.S
parent0b09d1e5ed195662e8df3246ca4cc450947cc0f8 (diff)
Add hidden versions, add missing .size
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