diff options
Diffstat (limited to 'sysdeps/arm/armv6')
-rw-r--r-- | sysdeps/arm/armv6/rawmemchr.S | 2 | ||||
-rw-r--r-- | sysdeps/arm/armv6/strchr.S | 4 | ||||
-rw-r--r-- | sysdeps/arm/armv6/strcpy.S | 4 | ||||
-rw-r--r-- | sysdeps/arm/armv6/strlen.S | 4 | ||||
-rw-r--r-- | sysdeps/arm/armv6/strrchr.S | 4 |
5 files changed, 9 insertions, 9 deletions
diff --git a/sysdeps/arm/armv6/rawmemchr.S b/sysdeps/arm/armv6/rawmemchr.S index cd3d2ae..87987ca 100644 --- a/sysdeps/arm/armv6/rawmemchr.S +++ b/sysdeps/arm/armv6/rawmemchr.S @@ -47,7 +47,7 @@ ENTRY (__rawmemchr) cmpne r2, r1 @ ... or C bne 1b - @ Disambiguate the exit possibilites above + @ Disambiguate the exit possibilities above cmp r2, r1 @ Found C it eq bxeq lr 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 diff --git a/sysdeps/arm/armv6/strcpy.S b/sysdeps/arm/armv6/strcpy.S index e9f63a5..14c6bd2 100644 --- a/sysdeps/arm/armv6/strcpy.S +++ b/sysdeps/arm/armv6/strcpy.S @@ -61,7 +61,7 @@ ENTRY (strcpy) cmpne r2, #0 @ ... or EOS bne 1b - @ Disambiguate the exit possibilites above + @ Disambiguate the exit possibilities above cmp r2, #0 @ Found EOS beq .Lreturn @@ -70,7 +70,7 @@ ENTRY (strcpy) pld [r0, #64] pld [r1, #64] - @ For longer strings, we actaully need a stack frame. + @ For longer strings, we actually need a stack frame. push { r4, r5, r6, r7 } cfi_adjust_cfa_offset (16) cfi_rel_offset (r4, 0) 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 diff --git a/sysdeps/arm/armv6/strrchr.S b/sysdeps/arm/armv6/strrchr.S index 2b91e7a..e91fd38 100644 --- a/sysdeps/arm/armv6/strrchr.S +++ b/sysdeps/arm/armv6/strrchr.S @@ -1,4 +1,4 @@ -/* strrchr -- find the last occurence of C in a nul-terminated string +/* strrchr -- find the last occurrence of C in a nul-terminated string Copyright (C) 2013-2023 Free Software Foundation, Inc. This file is part of the GNU C Library. @@ -40,7 +40,7 @@ ENTRY (strrchr) cmp r2, #0 @ Find EOS it eq bxeq lr - tst r3, #7 @ Find the aligment point + tst r3, #7 @ Find the alignment point bne 1b @ So now we're aligned. Now we actually need a stack frame. |