summaryrefslogtreecommitdiff
path: root/libc/string/arm/strncmp.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/strncmp.S
parent0b09d1e5ed195662e8df3246ca4cc450947cc0f8 (diff)
Add hidden versions, add missing .size
Diffstat (limited to 'libc/string/arm/strncmp.S')
-rw-r--r--libc/string/arm/strncmp.S11
1 files changed, 8 insertions, 3 deletions
diff --git a/libc/string/arm/strncmp.S b/libc/string/arm/strncmp.S
index 46f5f5092..94e93f7df 100644
--- a/libc/string/arm/strncmp.S
+++ b/libc/string/arm/strncmp.S
@@ -29,12 +29,15 @@
* by Erik Andersen <andersen@codepoet.org>
*/
-.text
.global strncmp
-.type strncmp,%function
+.set strncmp,__strncmp
+.text
+.global __strncmp
+.hidden __strncmp
+.type __strncmp,%function
.align 4
-strncmp:
+__strncmp:
/* if (len == 0) return 0 */
cmp r2, #0
moveq r0, #0
@@ -52,3 +55,5 @@ strncmp:
beq 1b
sub r0, r2, r3
mov pc, lr
+
+.size __strncmp,.-__strncmp