about summary refs log tree commit diff
path: root/sysdeps/ia64
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/ia64
parent4d0fe291aed3a476a3b59c4ecfae9d35ac0f15e8 (diff)
downloadglibc-65cc53fe7c6556b90159b8c3da1eb283792387db.tar.gz
glibc-65cc53fe7c6556b90159b8c3da1eb283792387db.tar.xz
glibc-65cc53fe7c6556b90159b8c3da1eb283792387db.zip
Fix misspellings in sysdeps/ -- BZ 25337
Diffstat (limited to 'sysdeps/ia64')
-rw-r--r--sysdeps/ia64/dl-trampoline.S4
-rw-r--r--sysdeps/ia64/fpu/e_acos.S4
-rw-r--r--sysdeps/ia64/fpu/e_acosf.S2
-rw-r--r--sysdeps/ia64/fpu/e_asin.S4
-rw-r--r--sysdeps/ia64/fpu/e_asinf.S4
-rw-r--r--sysdeps/ia64/fpu/e_log.S2
-rw-r--r--sysdeps/ia64/fpu/e_logf.S4
-rw-r--r--sysdeps/ia64/fpu/e_pow.S6
-rw-r--r--sysdeps/ia64/fpu/e_powf.S6
-rw-r--r--sysdeps/ia64/fpu/libm_lgammaf.S2
-rw-r--r--sysdeps/ia64/fpu/libm_lgammal.S10
-rw-r--r--sysdeps/ia64/fpu/libm_reduce.S4
-rw-r--r--sysdeps/ia64/fpu/libm_sincos_large.S2
-rw-r--r--sysdeps/ia64/fpu/libm_sincosl.S2
-rw-r--r--sysdeps/ia64/fpu/s_cosl.S2
-rw-r--r--sysdeps/ia64/fpu/s_erfcl.S2
-rw-r--r--sysdeps/ia64/fpu/s_modf.S2
-rw-r--r--sysdeps/ia64/fpu/s_modff.S2
-rw-r--r--sysdeps/ia64/fpu/s_modfl.S2
-rw-r--r--sysdeps/ia64/fpu/s_tanhl.S2
-rw-r--r--sysdeps/ia64/fpu/w_tgamma_compat.S4
-rw-r--r--sysdeps/ia64/fpu/w_tgammaf_compat.S2
-rw-r--r--sysdeps/ia64/memchr.S2
-rw-r--r--sysdeps/ia64/strchr.S2
24 files changed, 39 insertions, 39 deletions
diff --git a/sysdeps/ia64/dl-trampoline.S b/sysdeps/ia64/dl-trampoline.S
index 0398850be3..54b33c8c02 100644
--- a/sysdeps/ia64/dl-trampoline.S
+++ b/sysdeps/ia64/dl-trampoline.S
@@ -370,7 +370,7 @@ ENTRY(_dl_runtime_profile)
 	{ .mmi
 	  and r15 = -16, r15
 	  ;;
-	  /* We don't copy the 16byte scatch area. Prepare r16/r17 as
+	  /* We don't copy the 16byte scratch area. Prepare r16/r17 as
 	     destination.  */
 	  sub r16 = r12, r15
 	  sub r17 = r12, r15
@@ -390,7 +390,7 @@ ENTRY(_dl_runtime_profile)
 	  ;;
 	}
 	{ .mii
-	  /* Skip the 16byte scatch area. Prepare r2/r3 as source.  */
+	  /* Skip the 16byte scratch area. Prepare r2/r3 as source.  */
 	  adds r2 = 16, loc10
 	  adds r3 = 24, loc10
 	  mov ar.lc = r15
diff --git a/sysdeps/ia64/fpu/e_acos.S b/sysdeps/ia64/fpu/e_acos.S
index 641c3fd35a..b10fd2195c 100644
--- a/sysdeps/ia64/fpu/e_acos.S
+++ b/sysdeps/ia64/fpu/e_acos.S
@@ -50,7 +50,7 @@
 //=========================================
 // The acos function computes the principal value of the arc cosine of x.
 // acos(0) returns Pi/2, acos(1) returns 0, acos(-1) returns Pi.
-// A doman error occurs for arguments not in the range [-1,+1].
+// A domain error occurs for arguments not in the range [-1,+1].
 //
 // The acos function returns the arc cosine in the range [0, Pi] radians.
 //
@@ -100,7 +100,7 @@
 //    Return acos(1.0) = 0.0, acos(-1.0) = Pi
 //
 // 5. 1.0 < |x| <= +INF
-//    A doman error occurs for arguments not in the range [-1,+1]
+//    A domain error occurs for arguments not in the range [-1,+1]
 //
 // 6. x = [S,Q]NaN
 //    Return acos(x) = QNaN
diff --git a/sysdeps/ia64/fpu/e_acosf.S b/sysdeps/ia64/fpu/e_acosf.S
index 1507b46c81..7b32ffabc6 100644
--- a/sysdeps/ia64/fpu/e_acosf.S
+++ b/sysdeps/ia64/fpu/e_acosf.S
@@ -56,7 +56,7 @@
 // Description
 //=========================================
 // The acosf function computes the principle value of the arc sine of x.
-// A doman error occurs for arguments not in the range [-1,+1].
+// A domain error occurs for arguments not in the range [-1,+1].
 
 // The acosf function returns the arc cosine in the range [0, +pi] radians.
 // acos(1) returns +0
diff --git a/sysdeps/ia64/fpu/e_asin.S b/sysdeps/ia64/fpu/e_asin.S
index a9ff25afbf..29db6ab331 100644
--- a/sysdeps/ia64/fpu/e_asin.S
+++ b/sysdeps/ia64/fpu/e_asin.S
@@ -50,7 +50,7 @@
 //=========================================
 // The asin function computes the principal value of the arc sine of x.
 // asin(0) returns 0, asin(1) returns pi/2, asin(-1) returns -pi/2.
-// A doman error occurs for arguments not in the range [-1,+1].
+// A domain error occurs for arguments not in the range [-1,+1].
 //
 // The asin function returns the arc sine in the range [-pi/2, +pi/2] radians.
 //
@@ -98,7 +98,7 @@
 //    Return asin(x) = sign(x)*Pi/2
 //
 // 5. 1.0 < |x| <= +INF
-//    A doman error occurs for arguments not in the range [-1,+1]
+//    A domain error occurs for arguments not in the range [-1,+1]
 //
 // 6. x = [S,Q]NaN
 //    Return asin(x) = QNaN
diff --git a/sysdeps/ia64/fpu/e_asinf.S b/sysdeps/ia64/fpu/e_asinf.S
index 841f815293..546de3b9e6 100644
--- a/sysdeps/ia64/fpu/e_asinf.S
+++ b/sysdeps/ia64/fpu/e_asinf.S
@@ -56,12 +56,12 @@
 // Description
 //=========================================
 // The asinf function computes the arc sine of x in the range [-pi,+pi].
-// A doman error occurs for arguments not in the range [-1,+1].
+// A domain error occurs for arguments not in the range [-1,+1].
 // asinf(+-0) returns +-0
 // asinf(x) returns a Nan and raises the invalid exception for |x| >1
 
 // The acosf function returns the arc cosine in the range [0, +pi] radians.
-// A doman error occurs for arguments not in the range [-1,+1].
+// A domain error occurs for arguments not in the range [-1,+1].
 // acosf(1) returns +0
 // acosf(x) returns a Nan and raises the invalid exception for |x| >1
 
diff --git a/sysdeps/ia64/fpu/e_log.S b/sysdeps/ia64/fpu/e_log.S
index 61c8e2c6a8..0275c7baec 100644
--- a/sysdeps/ia64/fpu/e_log.S
+++ b/sysdeps/ia64/fpu/e_log.S
@@ -121,7 +121,7 @@
 //   L2 = 1.0/log(10)
 //
 // So common code with two different entry points those set pointers
-// to the base address of coresponding data sets containing values
+// to the base address of corresponding data sets containing values
 // of L2,T and prepare integer representation of L1 needed for following
 // setf instruction.
 //
diff --git a/sysdeps/ia64/fpu/e_logf.S b/sysdeps/ia64/fpu/e_logf.S
index 7330b305c2..f317c567da 100644
--- a/sysdeps/ia64/fpu/e_logf.S
+++ b/sysdeps/ia64/fpu/e_logf.S
@@ -118,7 +118,7 @@
 //   L2 = 1.0/log(10)
 //
 // So common code with two different entry points those set pointers
-// to the base address of coresponding data sets containing values
+// to the base address of corresponding data sets containing values
 // of L2,T and prepare integer representation of L1 needed for following
 // setf instruction can be used.
 //
@@ -171,7 +171,7 @@
 //         0xFFFEFF00000000000000 and 0xFFFF8080000000000000 correspondingly.
 //         As far as biased exponent of x here can be equal only to 0xFFFE or
 //         0xFFFF we need to test only last bit of it. Also signifigand always
-//         has implicit bit set to 1 that can be exluded from comparison.
+//         has implicit bit set to 1 that can be excluded from comparison.
 //         Thus it's quite enough to generate 64-bit integer bits of that are
 //         ix[63] = biased_exponent_of_x[0] and ix[62-0] = significand_of_x[62-0]
 //         and compare it with 0x7F00000000000000 and 0x80800000000000000 (those
diff --git a/sysdeps/ia64/fpu/e_pow.S b/sysdeps/ia64/fpu/e_pow.S
index 7157b28838..3d87d6172d 100644
--- a/sysdeps/ia64/fpu/e_pow.S
+++ b/sysdeps/ia64/fpu/e_pow.S
@@ -108,7 +108,7 @@
 //
 //      Log(1/Cm) = log(1/frcpa(1+m/256)) where m goes from 0 to 255.
 //
-// We tabluate as two doubles, T and t, where T +t is the value itself.
+// We tabulate as two doubles, T and t, where T +t is the value itself.
 //
 //      Log(x)   = (K Log(2)_hi + T) + (Log(2)_hi + t) + Log( 1 + (Bx-1))
 //      Log(x)   =  G + delta           + Log( 1 + (Bx-1))
@@ -357,7 +357,7 @@
 //  +0     -inf               +inf   error 27   33  divide-by-zero
 //  -0     -inf               +inf   error 27   33  divide-by-zero
 
-// X zero  Y positve
+// X zero  Y positive
 //  +0     +odd integer       +0
 //  -0     +odd integer       -0
 //  +0     !+odd integer      +0
@@ -991,7 +991,7 @@ POW_COMMON:
 }
 ;;
 
-// Note POW_Xm1 and POW_r1 are used interchangably
+// Note POW_Xm1 and POW_r1 are used interchangeably
 { .mfi
           alloc         r32=ar.pfs,2,19,4,0
           fms.s1        POW_r           = POW_B, POW_NORM_X,f1
diff --git a/sysdeps/ia64/fpu/e_powf.S b/sysdeps/ia64/fpu/e_powf.S
index 0e8aad192b..e353b08658 100644
--- a/sysdeps/ia64/fpu/e_powf.S
+++ b/sysdeps/ia64/fpu/e_powf.S
@@ -108,7 +108,7 @@
 //
 //      Log(1/Cm) = log(1/frcpa(1+m/256)) where m goes from 0 to 255.
 //
-// We tabluate as one double, T for single precision power
+// We tabulate as one double, T for single precision power
 //
 //      Log(x)   = (K Log(2)_hi + T) + (K Log(2)_lo) + Log( 1 + (Bx-1))
 //      Log(x)   =  G                +     delta     + Log( 1 + (Bx-1))
@@ -353,7 +353,7 @@
 //  +0     -inf               +inf   error 27   33  divide-by-zero
 //  -0     -inf               +inf   error 27   33  divide-by-zero
 
-// X zero  Y positve
+// X zero  Y positive
 //  +0     +odd integer       +0
 //  -0     +odd integer       -0
 //  +0     !+odd integer      +0
@@ -927,7 +927,7 @@ WEAK_LIBM_ENTRY(powf)
           fclass.m  p14,p0              = f8, 0x07
           nop.i 999
 }
-// Note POW_Xm1 and POW_r1 are used interchangably
+// Note POW_Xm1 and POW_r1 are used interchangeably
 { .mfb
           nop.m 999
 (p8)      fnma.s1        POW_Xm1        = POW_Xp1,f1,f0
diff --git a/sysdeps/ia64/fpu/libm_lgammaf.S b/sysdeps/ia64/fpu/libm_lgammaf.S
index 7697cc69ed..1a1a68a9c4 100644
--- a/sysdeps/ia64/fpu/libm_lgammaf.S
+++ b/sysdeps/ia64/fpu/libm_lgammaf.S
@@ -161,7 +161,7 @@
 //   precision number.
 //
 //
-// Claculation of logarithm
+// Calculation of logarithm
 // ------------------------
 //   Consider  x = 2^N * xf so
 //   ln(x) = ln(frcpa(x)*x/frcpa(x))
diff --git a/sysdeps/ia64/fpu/libm_lgammal.S b/sysdeps/ia64/fpu/libm_lgammal.S
index d82e4fcaf9..aab45690ed 100644
--- a/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/sysdeps/ia64/fpu/libm_lgammal.S
@@ -219,7 +219,7 @@
 //    EDP_Root is the exact value of the corresponding root rounded to double
 //    extended precision. So, we have 35 different polynomials which make our
 //    table rather big. We may hope that x falls in root "neighbourhood"
-//    quite rarely -> ther might be no need in frequent use of different
+//    quite rarely -> there might be no need in frequent use of different
 //    polynomials.
 //    A0, A1, A2, A3 are represented as pairs of double precision numbers,
 //    A4, A5 are long doubles, and to decrease the size of the table we
@@ -2423,7 +2423,7 @@ _deno_back_to_main_path:
       adds               rPolDataPtr = 3440, rTbl3Addr
 }
 { .mfi
-      // (i*16)*4 + (i*16)*8 - offsett of polynomial on range [-6.0, -0.75]
+      // (i*16)*4 + (i*16)*8 - offset of polynomial on range [-6.0, -0.75]
       shladd             rTmpPtr = rIndexPol, 2, rIndexPol
       fma.s1             fXSqr = FR_FracX, FR_FracX, f0 // y^2
       // point to left "near root" bound
@@ -2433,7 +2433,7 @@ _deno_back_to_main_path:
 { .mfi
       ldfpd              fLnSin34, fLnSin36 = [rTmpPtr3], 16
       fma.s1             fRcpX = fInvX, fRcpX, fRcpX // end of 2nd NR iteration
-      // add special offsett if -4 < x <= -3.0
+      // add special offset if -4 < x <= -3.0
 (p6)  adds               rPolDataPtr = 640, rPolDataPtr
 }
 { .mfi
@@ -2448,7 +2448,7 @@ _deno_back_to_main_path:
       // left bound of "near root" range
 (p12) ld8                rLeftBound = [rRootsBndAddr]
       fmerge.se          fNormDx = f1, fDx // significand of DeltaX
-      // base address + offsett for polynomial coeff. on range [-6.0, -0.75]
+      // base address + offset for polynomial coeff. on range [-6.0, -0.75]
       add                rPolDataPtr = rPolDataPtr, rTmpPtr
 }
 { .mfi
@@ -4565,7 +4565,7 @@ _negRoots:
       nop.i              0
 }
 { .mfi
-      add                rPolDataPtr = rPolDataPtr, rTmpPtr // begin + offsett
+      add                rPolDataPtr = rPolDataPtr, rTmpPtr // begin + offset
       nop.f              0
       nop.i              0
 }
diff --git a/sysdeps/ia64/fpu/libm_reduce.S b/sysdeps/ia64/fpu/libm_reduce.S
index fd7d06d263..01f16e423c 100644
--- a/sysdeps/ia64/fpu/libm_reduce.S
+++ b/sysdeps/ia64/fpu/libm_reduce.S
@@ -133,7 +133,7 @@
 // ==============
 //
 // This describes the algorithm in the most natural way using
-// unsigned interger multiplication. The implementation section
+// unsigned integer multiplication. The implementation section
 // describes how the integer arithmetic is simulated.
 //
 // STEP 0. Initialization
@@ -158,7 +158,7 @@
 //
 //      P_1    =      b   b    b     ...    b
 //
-// each b can be 0 or 1. Also, let P_0 be the two bits correspoding to
+// each b can be 0 or 1. Also, let P_0 be the two bits corresponding to
 // bit positions L+2 and L+1. So, when each of the P_j is interpreted
 // with appropriate scaling, we have
 //
diff --git a/sysdeps/ia64/fpu/libm_sincos_large.S b/sysdeps/ia64/fpu/libm_sincos_large.S
index 031bf083da..5835ea2d7b 100644
--- a/sysdeps/ia64/fpu/libm_sincos_large.S
+++ b/sysdeps/ia64/fpu/libm_sincos_large.S
@@ -1174,7 +1174,7 @@ SINCOS_CONTINUE:
 { .mfi
       nop.m 999
 //
-//     For big s: r = s - w: No futher reduction is necessary
+//     For big s: r = s - w: No further reduction is necessary
 //     For small s: w = N * P_3 (change sign) More reduction
 //
 (p6)   fcmp.lt.unc.s1 p8, p9 = FR_r, FR_Two_to_M3
diff --git a/sysdeps/ia64/fpu/libm_sincosl.S b/sysdeps/ia64/fpu/libm_sincosl.S
index 1eec445ed6..a5f0ad5d14 100644
--- a/sysdeps/ia64/fpu/libm_sincosl.S
+++ b/sysdeps/ia64/fpu/libm_sincosl.S
@@ -1112,7 +1112,7 @@ SINCOSL_COMMON2:
 };;
 
 //
-//     For big s: r = s - w: No futher reduction is necessary
+//     For big s: r = s - w: No further reduction is necessary
 //     For small s: w = N * P_3 (change sign) More reduction
 //
 { .mfi
diff --git a/sysdeps/ia64/fpu/s_cosl.S b/sysdeps/ia64/fpu/s_cosl.S
index f5052dd508..559cdb6607 100644
--- a/sysdeps/ia64/fpu/s_cosl.S
+++ b/sysdeps/ia64/fpu/s_cosl.S
@@ -1083,7 +1083,7 @@ SINCOSL_COMMON:
 ;;
 
 //
-//     For big s: r = s - w: No futher reduction is necessary
+//     For big s: r = s - w: No further reduction is necessary
 //     For small s: w = N * P_3 (change sign) More reduction
 //
 { .mfi
diff --git a/sysdeps/ia64/fpu/s_erfcl.S b/sysdeps/ia64/fpu/s_erfcl.S
index 09d7c2aef1..2d3cdc1849 100644
--- a/sysdeps/ia64/fpu/s_erfcl.S
+++ b/sysdeps/ia64/fpu/s_erfcl.S
@@ -1547,7 +1547,7 @@ GLOBAL_LIBM_ENTRY(erfcl)
 { .mfi
       ldfe           FR_A12 = [GR_P_POINT_1], -64
       nop.f          0
-      extr           GR_K = GR_N_fix, 12, 32         // Extract limite range K
+      extr           GR_K = GR_N_fix, 12, 32         // Extract limit range K
 }
 { .mfi
       ldfe           FR_A13 = [GR_P_POINT_2], -64
diff --git a/sysdeps/ia64/fpu/s_modf.S b/sysdeps/ia64/fpu/s_modf.S
index 79935fb55f..1d9b3b82b3 100644
--- a/sysdeps/ia64/fpu/s_modf.S
+++ b/sysdeps/ia64/fpu/s_modf.S
@@ -156,7 +156,7 @@ GLOBAL_LIBM_ENTRY(modf)
       nop.i 999 ;;
 }
 
-// p11 <== SMALL, no integer part, fraction is everyting
+// p11 <== SMALL, no integer part, fraction is everything
 // p9  <== HUGE,  no fraction part, integer is everything
 // p12 <== NORMAL, fraction part and integer part
 { .mii
diff --git a/sysdeps/ia64/fpu/s_modff.S b/sysdeps/ia64/fpu/s_modff.S
index 3bdcf26e5f..9eb3f74c46 100644
--- a/sysdeps/ia64/fpu/s_modff.S
+++ b/sysdeps/ia64/fpu/s_modff.S
@@ -156,7 +156,7 @@ GLOBAL_LIBM_ENTRY(modff)
       nop.i 999 ;;
 }
 
-// p11 <== SMALL, no integer part, fraction is everyting
+// p11 <== SMALL, no integer part, fraction is everything
 // p9  <== HUGE,  no fraction part, integer is everything
 // p12 <== NORMAL, fraction part and integer part
 { .mii
diff --git a/sysdeps/ia64/fpu/s_modfl.S b/sysdeps/ia64/fpu/s_modfl.S
index 5fdfdb6447..23057c841a 100644
--- a/sysdeps/ia64/fpu/s_modfl.S
+++ b/sysdeps/ia64/fpu/s_modfl.S
@@ -151,7 +151,7 @@ GLOBAL_LIBM_ENTRY(modfl)
       nop.i 999 ;;
 }
 
-// p11 <== SMALL, no integer part, fraction is everyting
+// p11 <== SMALL, no integer part, fraction is everything
 // p9  <== HUGE,  no fraction part, integer is everything
 // p12 <== NORMAL, fraction part and integer part
 { .mii
diff --git a/sysdeps/ia64/fpu/s_tanhl.S b/sysdeps/ia64/fpu/s_tanhl.S
index 5a05c91552..9c657c87b7 100644
--- a/sysdeps/ia64/fpu/s_tanhl.S
+++ b/sysdeps/ia64/fpu/s_tanhl.S
@@ -98,7 +98,7 @@
 //
 //    This branch is cut off by one fclass operation.
 //    Then zeros+nans, infinities and denormals processed separately.
-//    For denormals we use simple fma operaton x+x*x (- for +denorms)
+//    For denormals we use simple fma operation x+x*x (- for +denorms)
 //
 // 2. [0;1/8] path: 0.0 < |x| < 1/8
 //
diff --git a/sysdeps/ia64/fpu/w_tgamma_compat.S b/sysdeps/ia64/fpu/w_tgamma_compat.S
index 8440a0c7b3..0afda2b0a0 100644
--- a/sysdeps/ia64/fpu/w_tgamma_compat.S
+++ b/sysdeps/ia64/fpu/w_tgamma_compat.S
@@ -169,7 +169,7 @@
 //   Step 3: Division
 //   ----------------
 //    To calculate 1/(x*GAMMA(x)*S21(r)) we use frcpa instruction
-//    with following Newton-Raphson interations.
+//    with following Newton-Raphson iterations.
 //
 //
 //*********************************************************************
@@ -331,7 +331,7 @@ RODATA
 
 LOCAL_OBJECT_START(tgamma_data)
 data8 0x406573FAE561F648 // overflow boundary (171.624376956302739927196)
-data8 0x3FDD8B618D5AF8FE // point of local minium (0.461632144968362356785)
+data8 0x3FDD8B618D5AF8FE // point of local minimum (0.461632144968362356785)
 //
 //[2; 3]
 data8 0xEF0E85C9AE40ABE2,0x00004000 // C01
diff --git a/sysdeps/ia64/fpu/w_tgammaf_compat.S b/sysdeps/ia64/fpu/w_tgammaf_compat.S
index 67eed2722f..c1f7ad596f 100644
--- a/sysdeps/ia64/fpu/w_tgammaf_compat.S
+++ b/sysdeps/ia64/fpu/w_tgammaf_compat.S
@@ -170,7 +170,7 @@
 //   Step 3: Division
 //   ----------------
 //    To calculate 1/x and 1/(GAMMA(x)*S12(rs)) we use frcpa
-//    instruction with following Newton-Raphson interations.
+//    instruction with following Newton-Raphson iterations.
 //
 //
 //*********************************************************************
diff --git a/sysdeps/ia64/memchr.S b/sysdeps/ia64/memchr.S
index 7cdc9386c8..393058c4ad 100644
--- a/sysdeps/ia64/memchr.S
+++ b/sysdeps/ia64/memchr.S
@@ -16,7 +16,7 @@
    License along with the GNU C Library; if not, see
    <https://www.gnu.org/licenses/>.  */
 
-/* Return: the address of the first occurence of chr in str or NULL
+/* Return: the address of the first occurrence of chr in str or NULL
 
    Inputs:
 	in0:	str
diff --git a/sysdeps/ia64/strchr.S b/sysdeps/ia64/strchr.S
index 27d5cacea8..13b04dc725 100644
--- a/sysdeps/ia64/strchr.S
+++ b/sysdeps/ia64/strchr.S
@@ -16,7 +16,7 @@
    License along with the GNU C Library; if not, see
    <https://www.gnu.org/licenses/>.  */
 
-/* Return: the address of the first occurence of chr in str or NULL
+/* Return: the address of the first occurrence of chr in str or NULL
 
    Inputs:
         in0:    str