diff options
Diffstat (limited to 'sysdeps/arm/armv6/strchr.S')
-rw-r--r-- | sysdeps/arm/armv6/strchr.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/arm/armv6/strchr.S b/sysdeps/arm/armv6/strchr.S index 415f6a5..f49ea53 100644 --- a/sysdeps/arm/armv6/strchr.S +++ b/sysdeps/arm/armv6/strchr.S @@ -43,14 +43,14 @@ ENTRY (strchr) @ 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, r1 @ ... or the character it ne cmpne r2, #0 @ ... or EOS bne 1b - @ Disambiguate the exit possibilites above + @ Disambiguate the exit possibilities above cmp r2, r1 @ Found the character it ne cmpne r2, #0 @ Found EOS |