diff options
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 |
commit | 164a928b77f596b6617a4bbf43a2c06bc35a5602 (patch) | |
tree | 8d1f20c152e2eec919c58e3259a20cc038b5d7c4 /libc/string/arm/strncmp.S | |
parent | 8c325ee38bf779dc5d51e41281d3b8230c3af971 (diff) | |
download | uClibc-alpine-164a928b77f596b6617a4bbf43a2c06bc35a5602.tar.bz2 uClibc-alpine-164a928b77f596b6617a4bbf43a2c06bc35a5602.tar.xz |
Merge from trunk.
Diffstat (limited to 'libc/string/arm/strncmp.S')
-rw-r--r-- | libc/string/arm/strncmp.S | 11 |
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 |