diff options
author | Paul Pluzhnikov <ppluzhnikov@google.com> | 2023-05-30 23:02:29 +0000 |
---|---|---|
committer | Paul Pluzhnikov <ppluzhnikov@google.com> | 2023-05-30 23:02:29 +0000 |
commit | 65cc53fe7c6556b90159b8c3da1eb283792387db (patch) | |
tree | 879c71521e54f86942bf3ba2a39f9b4bc2dfb915 /sysdeps/arm | |
parent | 4d0fe291aed3a476a3b59c4ecfae9d35ac0f15e8 (diff) | |
download | glibc-65cc53fe7c6556b90159b8c3da1eb283792387db.tar.gz glibc-65cc53fe7c6556b90159b8c3da1eb283792387db.tar.xz glibc-65cc53fe7c6556b90159b8c3da1eb283792387db.zip |
Fix misspellings in sysdeps/ -- BZ 25337
Diffstat (limited to 'sysdeps/arm')
-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 | ||||
-rw-r--r-- | sysdeps/arm/atomic-machine.h | 2 | ||||
-rw-r--r-- | sysdeps/arm/dl-tlsdesc.h | 2 | ||||
-rw-r--r-- | sysdeps/arm/find_exidx.c | 2 | ||||
-rw-r--r-- | sysdeps/arm/nptl/Makefile | 2 | ||||
-rw-r--r-- | sysdeps/arm/stap-probe-machine.h | 2 |
10 files changed, 14 insertions, 14 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. diff --git a/sysdeps/arm/atomic-machine.h b/sysdeps/arm/atomic-machine.h index f5231e8d7d..353b6ccbea 100644 --- a/sysdeps/arm/atomic-machine.h +++ b/sysdeps/arm/atomic-machine.h @@ -76,7 +76,7 @@ void __arm_link_error (void); mem, new, old, __ATOMIC_RELEASE) /* Compare and exchange. - For all "bool" routines, we return FALSE if exchange succesful. */ + For all "bool" routines, we return FALSE if exchange successful. */ # define __arch_compare_and_exchange_bool_8_int(mem, newval, oldval, model) \ ({__arm_link_error (); 0; }) diff --git a/sysdeps/arm/dl-tlsdesc.h b/sysdeps/arm/dl-tlsdesc.h index 5c2d8b512b..bb647ccc87 100644 --- a/sysdeps/arm/dl-tlsdesc.h +++ b/sysdeps/arm/dl-tlsdesc.h @@ -9,7 +9,7 @@ version 2.1 of the License, or (at your option) any later version. The GNU C Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; witout even the implied warranty of + but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. diff --git a/sysdeps/arm/find_exidx.c b/sysdeps/arm/find_exidx.c index 1404f2ba28..e4ee106fb8 100644 --- a/sysdeps/arm/find_exidx.c +++ b/sysdeps/arm/find_exidx.c @@ -26,7 +26,7 @@ struct unw_eh_callback_data }; -/* Callback to determins if the PC lies within an object, and remember the +/* Callback to determines if the PC lies within an object, and remember the location of the exception index table if it does. */ static int diff --git a/sysdeps/arm/nptl/Makefile b/sysdeps/arm/nptl/Makefile index cfbfac90e8..fa2c736c5c 100644 --- a/sysdeps/arm/nptl/Makefile +++ b/sysdeps/arm/nptl/Makefile @@ -19,7 +19,7 @@ ifeq ($(subdir),nptl) # This test relies on compiling part of the binary with EH information, # part without, and unwinding through. The .ARM.exidx tables have # start addresses for EH regions, but no end addresses. Every -# region an exception needs to propogate through must have unwind +# region an exception needs to propagate through must have unwind # information, or a previous function's unwind table may be used # by mistake. tests := $(filter-out tst-cleanupx4,$(tests)) diff --git a/sysdeps/arm/stap-probe-machine.h b/sysdeps/arm/stap-probe-machine.h index 9555557a12..2a812c6ff8 100644 --- a/sysdeps/arm/stap-probe-machine.h +++ b/sysdeps/arm/stap-probe-machine.h @@ -16,7 +16,7 @@ License along with the GNU C Library; if not, see <https://www.gnu.org/licenses/>. */ -/* The default "nor" constraint produces unparseable memory references +/* The default "nor" constraint produces unparsable memory references for constants. Omit the problematic "o" constraint. See bug 24164 and GCC PR 89146. */ #define STAP_SDT_ARG_CONSTRAINT nr |