summaryrefslogtreecommitdiff
path: root/libc/string/arm/strcmp.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/strcmp.S
parent0b09d1e5ed195662e8df3246ca4cc450947cc0f8 (diff)
Add hidden versions, add missing .size
Diffstat (limited to 'libc/string/arm/strcmp.S')
-rw-r--r--libc/string/arm/strcmp.S10
1 files changed, 7 insertions, 3 deletions
diff --git a/libc/string/arm/strcmp.S b/libc/string/arm/strcmp.S
index 1f486546c..e572cbe68 100644
--- a/libc/string/arm/strcmp.S
+++ b/libc/string/arm/strcmp.S
@@ -29,12 +29,15 @@
* by Erik Andersen <andersen@codepoet.org>
*/
-.text
.global strcmp
-.type strcmp,%function
+.set strcmp,__strcmp
+.text
+.global __strcmp
+.hidden __strcmp
+.type __strcmp,%function
.align 4
-strcmp:
+__strcmp:
1:
ldrb r2, [r0], #1
ldrb r3, [r1], #1
@@ -44,4 +47,5 @@ strcmp:
sub r0, r2, r3
mov pc, lr
+.size __strcmp,.-__strcmp
.weak strcoll ; strcoll = strcmp