summaryrefslogtreecommitdiff
path: root/libc/string/arm/bcopy.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/bcopy.S
parent0b09d1e5ed195662e8df3246ca4cc450947cc0f8 (diff)
Add hidden versions, add missing .size
Diffstat (limited to 'libc/string/arm/bcopy.S')
-rw-r--r--libc/string/arm/bcopy.S11
1 files changed, 8 insertions, 3 deletions
diff --git a/libc/string/arm/bcopy.S b/libc/string/arm/bcopy.S
index 9e3efc7d0..a02807527 100644
--- a/libc/string/arm/bcopy.S
+++ b/libc/string/arm/bcopy.S
@@ -39,14 +39,19 @@
/* bcopy = memcpy/memmove with arguments reversed. */
-.text
.global bcopy
-.type bcopy,%function
+.set bcopy,__bcopy
+.text
+.global __bcopy
+.hidden __bcopy
+.type __bcopy,%function
.align 4
-bcopy:
+__bcopy:
/* switch the source and destination registers */
eor r0, r1, r0
eor r1, r0, r1
eor r0, r1, r0
b _memcpy (PLT)
+
+.size __bcopy,.-__bcopy