diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-11-11 23:59:19 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-11-11 23:59:19 +0000 |
commit | 925220a4fecf635d106989aa4a56d80152777ba3 (patch) | |
tree | d913d7fa283471f1c3e03feaeb135e36b02d05cb /libc/string/arm/strlen.S | |
parent | 0b09d1e5ed195662e8df3246ca4cc450947cc0f8 (diff) |
Add hidden versions, add missing .size
Diffstat (limited to 'libc/string/arm/strlen.S')
-rw-r--r-- | libc/string/arm/strlen.S | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/libc/string/arm/strlen.S b/libc/string/arm/strlen.S index 195276e30..7d91fd033 100644 --- a/libc/string/arm/strlen.S +++ b/libc/string/arm/strlen.S @@ -25,12 +25,15 @@ * exit: r0 = len */ -.text .global strlen -.type strlen,%function +.set strlen,__strlen +.text +.global __strlen +.hidden __strlen +.type __strlen,%function .align 4 -strlen: +__strlen: bic r1, r0, $3 @ addr of word containing first byte ldr r2, [r1], $4 @ get the first word ands r3, r0, $3 @ how many bytes are duff? @@ -76,4 +79,4 @@ Llastword: @ drop through to here once we find a #endif mov pc,lr -.size strlen,.-strlen +.size __strlen,.-__strlen |