aboutsummaryrefslogtreecommitdiff
path: root/ports/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'ports/sysdeps')
-rw-r--r--ports/sysdeps/ia64/fpu/e_logf.S4
-rw-r--r--ports/sysdeps/ia64/fpu/libm_reduce.S6
-rw-r--r--ports/sysdeps/ia64/fpu/s_erfc.S2
-rw-r--r--ports/sysdeps/ia64/fpu/s_erfcf.S2
-rw-r--r--ports/sysdeps/ia64/fpu/s_erfcl.S2
-rw-r--r--ports/sysdeps/mips/memcpy.S4
-rw-r--r--ports/sysdeps/powerpc/powerpc32/405/memcpy.S2
-rw-r--r--ports/sysdeps/unix/sysv/linux/alpha/bits/netdb.h2
-rw-r--r--ports/sysdeps/unix/sysv/linux/hppa/clone.S2
-rw-r--r--ports/sysdeps/unix/sysv/linux/hppa/nptl/pthread.h4
-rw-r--r--ports/sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c2
11 files changed, 16 insertions, 16 deletions
diff --git a/ports/sysdeps/ia64/fpu/e_logf.S b/ports/sysdeps/ia64/fpu/e_logf.S
index 885082f..9175f95 100644
--- a/ports/sysdeps/ia64/fpu/e_logf.S
+++ b/ports/sysdeps/ia64/fpu/e_logf.S
@@ -838,7 +838,7 @@ GLOBAL_IEEE754_ENTRY(log10f)
{ .mib
setf.exp FR_A2 = GR_05 // create A2
sub GR_de = GR_Exp,GR_05 // biased_exponent_of_x - 0xFFFE
- // needed to comparion with 0.5 and 2.0
+ // needed for comparison with 0.5 and 2.0
br.cond.sptk logf_log10f_common
};;
GLOBAL_IEEE754_END(log10f)
@@ -873,7 +873,7 @@ GLOBAL_IEEE754_ENTRY(logf)
setf.d FR_A3 = GR_A3 // create A3
fcmp.eq.s1 p13,p14 = f0,f0 // p13 - true for logf
sub GR_de = GR_Exp,GR_05 // biased_exponent_of_x - 0xFFFE
- // needed to comparion with 0.5 and 2.0
+ // needed for comparison with 0.5 and 2.0
}
{ .mlx
setf.exp FR_A2 = GR_05 // create A2
diff --git a/ports/sysdeps/ia64/fpu/libm_reduce.S b/ports/sysdeps/ia64/fpu/libm_reduce.S
index 8bdf91d..8b13249 100644
--- a/ports/sysdeps/ia64/fpu/libm_reduce.S
+++ b/ports/sysdeps/ia64/fpu/libm_reduce.S
@@ -75,7 +75,7 @@
//
// IEEE Special Conditions:
//
-// No condions should be raised.
+// No conditions should be raised.
//
//*********************************************************************
//
@@ -288,7 +288,7 @@
//
// Set sgn_x := sign(x); x := |x|; x_lo := 2 lsb of x.
//
-// In memory, 2/pi is stored contigously as
+// In memory, 2/pi is stored contiguously as
//
// 0x00000000 0x00000000 0xA2F....
// ^
@@ -786,7 +786,7 @@ __libm_pi_by_2_reduce:
// setf.sig FR_ScaleP3 = GR_x_lo
// fmerge.se FR_X = FR_X,FR_ScaleP3
// Set sgn_x := sign(x); x := |x|; x_lo := 2 lsb of x.
-// 2/pi is stored contigously as
+// 2/pi is stored contiguously as
// 0x00000000 0x00000000.0xA2F....
// M = EXP - BIAS ( M >= 63)
// Given x = 2^m * 1.xxxx...xxx; we calculate L := 62 - m.
diff --git a/ports/sysdeps/ia64/fpu/s_erfc.S b/ports/sysdeps/ia64/fpu/s_erfc.S
index c67c61a..6729cda 100644
--- a/ports/sysdeps/ia64/fpu/s_erfc.S
+++ b/ports/sysdeps/ia64/fpu/s_erfc.S
@@ -65,7 +65,7 @@
//
// Let P14(z) - polynomial approximation of degree 14 for function
// erfc(z+x(i)) * exp( (z+x(i))^2) and 0 <= z <= x(i+1)-x(i).
-// Polynomial coeffitients we have in the table erfc_p_table.
+// Polynomial coefficients we have in the table erfc_p_table.
//
// So we can find result for erfc(x) as above.
// Algorithm description for exp function see below.
diff --git a/ports/sysdeps/ia64/fpu/s_erfcf.S b/ports/sysdeps/ia64/fpu/s_erfcf.S
index ce6be8d..97c9037 100644
--- a/ports/sysdeps/ia64/fpu/s_erfcf.S
+++ b/ports/sysdeps/ia64/fpu/s_erfcf.S
@@ -63,7 +63,7 @@
//
// Let P15(x) - polynomial approximation of degree 15 for function
// erfcf(x) * exp( x^2) and x(i) <= x <= x(i+1), i = 0,1,2,3
-// Polynomial coeffitients we have in the table erfc_p_table.
+// Polynomial coefficients we have in the table erfc_p_table.
//
// So we can find result for erfcf(x) as above.
// Algorithm description for exp function see below.
diff --git a/ports/sysdeps/ia64/fpu/s_erfcl.S b/ports/sysdeps/ia64/fpu/s_erfcl.S
index b9f7004..79b94a8 100644
--- a/ports/sysdeps/ia64/fpu/s_erfcl.S
+++ b/ports/sysdeps/ia64/fpu/s_erfcl.S
@@ -71,7 +71,7 @@
// -0.5*[x(i+1)-x(i)] <= z <= 0.5*[x(i+1)-x(i)].
//
// Let Q(z)= (P(z)- S)/S, S = a0, rounded to 16 bits.
-// Polynomial coeffitients for Q(z) we have in the table erfc_Q_table as
+// Polynomial coefficients for Q(z) we have in the table erfc_Q_table as
// long double values
//
// We use multi precision to calculate input argument -x^2 for expl and
diff --git a/ports/sysdeps/mips/memcpy.S b/ports/sysdeps/mips/memcpy.S
index aeea491..8065da3 100644
--- a/ports/sysdeps/mips/memcpy.S
+++ b/ports/sysdeps/mips/memcpy.S
@@ -157,10 +157,10 @@
/* MAX_PREFETCH_SIZE is the maximum size of a prefetch, it must not be less
* then PREFETCH_CHUNK, the assumed size of each prefetch. If the real size
* of a prefetch is greater then MAX_PREFETCH_SIZE and the PREPAREFORSTORE
- * hint is used, the code will not work corrrectly. If PREPAREFORSTORE is not
+ * hint is used, the code will not work correctly. If PREPAREFORSTORE is not
* used then MAX_PREFETCH_SIZE does not matter. */
#define MAX_PREFETCH_SIZE 128
-/* PREFETCH_LIMIT is set based on the fact that we neve use an offset greater
+/* PREFETCH_LIMIT is set based on the fact that we never use an offset greater
* then 5 on a STORE prefetch and that a single prefetch can never be larger
* then MAX_PREFETCH_SIZE. We add the extra 32 when USE_DOUBLE is set because
* we actually do two prefetches in that case, one 32 bytes after the other. */
diff --git a/ports/sysdeps/powerpc/powerpc32/405/memcpy.S b/ports/sysdeps/powerpc/powerpc32/405/memcpy.S
index 761e967..b01d539 100644
--- a/ports/sysdeps/powerpc/powerpc32/405/memcpy.S
+++ b/ports/sysdeps/powerpc/powerpc32/405/memcpy.S
@@ -98,7 +98,7 @@ L(string_count_loop): /* Copy odd 0-31 bytes */
lswx r6,0,r4
stswx r6,0,r3
-L(pre_string_copy): /* Check how many 32 byte chunck to copy */
+L(pre_string_copy): /* Check how many 32 byte chunks to copy */
srwi. r7,r5,4
beq L(end_memcpy)
mtctr r7
diff --git a/ports/sysdeps/unix/sysv/linux/alpha/bits/netdb.h b/ports/sysdeps/unix/sysv/linux/alpha/bits/netdb.h
index b9437ff..65f76fd 100644
--- a/ports/sysdeps/unix/sysv/linux/alpha/bits/netdb.h
+++ b/ports/sysdeps/unix/sysv/linux/alpha/bits/netdb.h
@@ -29,6 +29,6 @@ struct netent
char **n_aliases; /* Alias list. */
int n_addrtype; /* Net address type. */
/* XXX We should probably use uint32_t for the field and ensure
- compatiblity by adding appropriate padding. */
+ compatibility by adding appropriate padding. */
unsigned long int n_net; /* Network number. */
};
diff --git a/ports/sysdeps/unix/sysv/linux/hppa/clone.S b/ports/sysdeps/unix/sysv/linux/hppa/clone.S
index 0d7a7eb..fd55961 100644
--- a/ports/sysdeps/unix/sysv/linux/hppa/clone.S
+++ b/ports/sysdeps/unix/sysv/linux/hppa/clone.S
@@ -155,7 +155,7 @@ ENTRY(__clone)
ldw -60(%sp), %arg0
ldw -64(%sp), %r22
- /* $$dyncall fixes childs PIC register */
+ /* $$dyncall fixes child's PIC register */
/* Call the user's function */
#ifdef PIC
diff --git a/ports/sysdeps/unix/sysv/linux/hppa/nptl/pthread.h b/ports/sysdeps/unix/sysv/linux/hppa/nptl/pthread.h
index 70e0604..39e1ab9 100644
--- a/ports/sysdeps/unix/sysv/linux/hppa/nptl/pthread.h
+++ b/ports/sysdeps/unix/sysv/linux/hppa/nptl/pthread.h
@@ -1014,13 +1014,13 @@ extern int pthread_condattr_setpshared (pthread_condattr_t *__attr,
int __pshared) __THROW __nonnull ((1));
#ifdef __USE_XOPEN2K
-/* Get the clock selected for the conditon variable attribute ATTR. */
+/* Get the clock selected for the condition variable attribute ATTR. */
extern int pthread_condattr_getclock (const pthread_condattr_t *
__restrict __attr,
__clockid_t *__restrict __clock_id)
__THROW __nonnull ((1, 2));
-/* Set the clock selected for the conditon variable attribute ATTR. */
+/* Set the clock selected for the condition variable attribute ATTR. */
extern int pthread_condattr_setclock (pthread_condattr_t *__attr,
__clockid_t __clock_id)
__THROW __nonnull ((1));
diff --git a/ports/sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c b/ports/sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c
index efe95b1..9d263f2 100644
--- a/ports/sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c
+++ b/ports/sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c
@@ -19,7 +19,7 @@
/* The public __longjmp() implementation is limited to jumping within
the same stack. That is, in general it is not possible to use this
__longjmp() implementation to cross from one stack to another.
- In constrast, the __sigstack_longjmp() implemented here allows
+ In contrast, the __sigstack_longjmp() implemented here allows
crossing from the alternate signal stack to the normal stack
as a special case. */