about summary refs log tree commit diff
path: root/sysdeps/mips
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/mips
parent4d0fe291aed3a476a3b59c4ecfae9d35ac0f15e8 (diff)
downloadglibc-65cc53fe7c6556b90159b8c3da1eb283792387db.tar.gz
glibc-65cc53fe7c6556b90159b8c3da1eb283792387db.tar.xz
glibc-65cc53fe7c6556b90159b8c3da1eb283792387db.zip
Fix misspellings in sysdeps/ -- BZ 25337
Diffstat (limited to 'sysdeps/mips')
-rw-r--r--sysdeps/mips/atomic-machine.h2
-rw-r--r--sysdeps/mips/bits/link.h2
-rw-r--r--sysdeps/mips/fpu/feupdateenv.c2
-rw-r--r--sysdeps/mips/memcpy.S6
-rw-r--r--sysdeps/mips/memset.S2
-rw-r--r--sysdeps/mips/start.S2
-rw-r--r--sysdeps/mips/sys/asm.h2
-rw-r--r--sysdeps/mips/tst-abi-interlink.c2
-rw-r--r--sysdeps/mips/unwind-arch.h2
9 files changed, 11 insertions, 11 deletions
diff --git a/sysdeps/mips/atomic-machine.h b/sysdeps/mips/atomic-machine.h
index 99f42efab6..c40254d387 100644
--- a/sysdeps/mips/atomic-machine.h
+++ b/sysdeps/mips/atomic-machine.h
@@ -53,7 +53,7 @@
 #endif
 
 /* 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) \
   (abort (), 0)
diff --git a/sysdeps/mips/bits/link.h b/sysdeps/mips/bits/link.h
index b2ebe30d1d..f0cb05c43c 100644
--- a/sysdeps/mips/bits/link.h
+++ b/sysdeps/mips/bits/link.h
@@ -46,7 +46,7 @@ typedef struct La_mips_32_retval
 typedef struct La_mips_64_regs
 {
   uint64_t lr_reg[8]; /* $a0 through $a7 */
-  double lr_fpreg[8]; /* $f12 throgh $f19 */
+  double lr_fpreg[8]; /* $f12 through $f19 */
   uint64_t lr_ra;
   uint64_t lr_sp;
 } La_mips_64_regs;
diff --git a/sysdeps/mips/fpu/feupdateenv.c b/sysdeps/mips/fpu/feupdateenv.c
index 03537235d7..59f86ac1b3 100644
--- a/sysdeps/mips/fpu/feupdateenv.c
+++ b/sysdeps/mips/fpu/feupdateenv.c
@@ -31,7 +31,7 @@ __feupdateenv (const fenv_t *envp)
   /* Install new environment.  */
   __fesetenv (envp);
 
-  /* Raise the safed exception.  Incidently for us the implementation
+  /* Raise the saved exception.  Incidentally for us the implementation
      defined format of the values in objects of type fexcept_t is the
      same as the ones specified using the FE_* constants.  */
   __feraiseexcept (temp);
diff --git a/sysdeps/mips/memcpy.S b/sysdeps/mips/memcpy.S
index b1e1c3dc94..91a7bf0a68 100644
--- a/sysdeps/mips/memcpy.S
+++ b/sysdeps/mips/memcpy.S
@@ -88,7 +88,7 @@
 
 /*
  * Using PREFETCH_HINT_LOAD_STREAMED instead of PREFETCH_LOAD on load
- * prefetches appears to offer a slight preformance advantage.
+ * prefetches appear to offer a slight performance advantage.
  *
  * Using PREFETCH_HINT_PREPAREFORSTORE instead of PREFETCH_STORE
  * or PREFETCH_STORE_STREAMED offers a large performance advantage
@@ -317,7 +317,7 @@ L(memcpy):
 
 	andi	a3,a3,(NSIZE-1)		/* copy a3 bytes to align a0/a1	  */
 	beq	a3,zero,L(aligned)	/* if a3=0, it is already aligned */
-	PTR_SUBU a2,a2,a3		/* a2 is the remining bytes count */
+	PTR_SUBU a2,a2,a3		/* a2 is the remaining bytes count */
 
 	C_LDHI	t8,0(a1)
 	PTR_ADDU a1,a1,a3
@@ -626,7 +626,7 @@ L(wcopy_loop):
 L(unaligned):
 	andi	a3,a3,(NSIZE-1)	/* copy a3 bytes to align a0/a1 */
 	beqz	a3,L(ua_chk16w) /* if a3=0, it is already aligned */
-	PTR_SUBU a2,a2,a3	/* a2 is the remining bytes count */
+	PTR_SUBU a2,a2,a3	/* a2 is the remaining bytes count */
 
 	C_LDHI	v1,UNIT(0)(a1)
 	C_LDLO	v1,UNITM1(1)(a1)
diff --git a/sysdeps/mips/memset.S b/sysdeps/mips/memset.S
index 0430dca427..450f9014ec 100644
--- a/sysdeps/mips/memset.S
+++ b/sysdeps/mips/memset.S
@@ -294,7 +294,7 @@ L(lb1):
 
 L(aligned):
 /* If USE_DOUBLE is not set we may still want to align the data on a 16
-   byte boundry instead of an 8 byte boundry to maximize the opportunity
+   byte boundary instead of an 8 byte boundary to maximize the opportunity
    of proAptiv chips to do memory bonding (combining two sequential 4
    byte stores into one 8 byte store).  We know there are at least 4 bytes
    left to store or we would have jumped to L(lastb) earlier in the code.  */
diff --git a/sysdeps/mips/start.S b/sysdeps/mips/start.S
index c08991c20d..35ef4403f8 100644
--- a/sysdeps/mips/start.S
+++ b/sysdeps/mips/start.S
@@ -60,7 +60,7 @@
 		...
 					NULL
    ra ($31)	The return address register is set to zero so that programs
-		that search backword through stack frames recognize the last
+		that search backward through stack frames recognize the last
 		stack frame.
 */
 
diff --git a/sysdeps/mips/sys/asm.h b/sysdeps/mips/sys/asm.h
index d250770586..f3a11391a0 100644
--- a/sysdeps/mips/sys/asm.h
+++ b/sysdeps/mips/sys/asm.h
@@ -198,7 +198,7 @@ symbol		=	value
 		TEXT(msg)
 
 /*
- * Print formated string
+ * Print formatted string
  */
 #define PRINT(string)                                   \
 		.set	push;				\
diff --git a/sysdeps/mips/tst-abi-interlink.c b/sysdeps/mips/tst-abi-interlink.c
index 6908378e3a..ccd136f4db 100644
--- a/sysdeps/mips/tst-abi-interlink.c
+++ b/sysdeps/mips/tst-abi-interlink.c
@@ -715,7 +715,7 @@ unload_object (enum fp_obj obj)
   return true;
 }
 
-/* Load every permuation of OBJECTS.  */
+/* Load every permutation of OBJECTS.  */
 static bool
 test_permutations (enum fp_obj objects[], int count)
 {
diff --git a/sysdeps/mips/unwind-arch.h b/sysdeps/mips/unwind-arch.h
index 94277d0a86..b9de815ac6 100644
--- a/sysdeps/mips/unwind-arch.h
+++ b/sysdeps/mips/unwind-arch.h
@@ -52,7 +52,7 @@ unwind_arch_adjustment (void *prev, void *addr)
   if ((uintptr_t) pc & 0x3)
     return addr;
 
-  /* The vDSO containes either
+  /* The vDSO contains either
 
      24021061 li v0, 0x1061 (rt_sigreturn)
      0000000c syscall