diff options
Diffstat (limited to 'sysdeps/arm/armv6/strlen.S')
-rw-r--r-- | sysdeps/arm/armv6/strlen.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/arm/armv6/strlen.S b/sysdeps/arm/armv6/strlen.S index b436b80..29966ff 100644 --- a/sysdeps/arm/armv6/strlen.S +++ b/sysdeps/arm/armv6/strlen.S @@ -39,12 +39,12 @@ ENTRY (strlen) @ Loop until we find ... 1: ldrb r2, [r0, #1]! - subs r3, r3, #1 @ ... the aligment point + subs r3, r3, #1 @ ... the alignment point it ne cmpne r2, #0 @ ... or EOS bne 1b - @ Disambiguate the exit possibilites above + @ Disambiguate the exit possibilities above cmp r2, #0 @ Found EOS beq 99f add r0, r0, #1 |