summaryrefslogtreecommitdiffstats
path: root/libc/string/arm/strcmp.S
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-11-17 03:10:29 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-11-17 03:10:29 +0000
commit164a928b77f596b6617a4bbf43a2c06bc35a5602 (patch)
tree8d1f20c152e2eec919c58e3259a20cc038b5d7c4 /libc/string/arm/strcmp.S
parent8c325ee38bf779dc5d51e41281d3b8230c3af971 (diff)
downloaduClibc-alpine-164a928b77f596b6617a4bbf43a2c06bc35a5602.tar.bz2
uClibc-alpine-164a928b77f596b6617a4bbf43a2c06bc35a5602.tar.xz
Merge from trunk.
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