about summary refs log tree commit diff
path: root/sysdeps/arm/armv6
diff options
context:
space:
mode:
authorPaul Pluzhnikov <ppluzhnikov@google.com>2023-05-30 23:02:29 +0000
committerPaul Pluzhnikov <ppluzhnikov@google.com>2023-05-30 23:02:29 +0000
commit65cc53fe7c6556b90159b8c3da1eb283792387db (patch)
tree879c71521e54f86942bf3ba2a39f9b4bc2dfb915 /sysdeps/arm/armv6
parent4d0fe291aed3a476a3b59c4ecfae9d35ac0f15e8 (diff)
downloadglibc-65cc53fe7c6556b90159b8c3da1eb283792387db.tar.gz
glibc-65cc53fe7c6556b90159b8c3da1eb283792387db.tar.xz
glibc-65cc53fe7c6556b90159b8c3da1eb283792387db.zip
Fix misspellings in sysdeps/ -- BZ 25337
Diffstat (limited to 'sysdeps/arm/armv6')
-rw-r--r--sysdeps/arm/armv6/rawmemchr.S2
-rw-r--r--sysdeps/arm/armv6/strchr.S4
-rw-r--r--sysdeps/arm/armv6/strcpy.S4
-rw-r--r--sysdeps/arm/armv6/strlen.S4
-rw-r--r--sysdeps/arm/armv6/strrchr.S4
5 files changed, 9 insertions, 9 deletions
diff --git a/sysdeps/arm/armv6/rawmemchr.S b/sysdeps/arm/armv6/rawmemchr.S
index cd3d2aee21..87987ca68a 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 415f6a5a2b..f49ea53667 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 e9f63a56c1..14c6bd2fde 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 b436b80e7e..29966ff34f 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 2b91e7abcc..e91fd38650 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.