From: Dhruv Chawla <[email protected]>
Signed-off-by: Dhruv Chawla <[email protected]>
libgcc/ChangeLog:
* fixed-bit.c: Fix typos.
* libgcov-interface.c (__gcov_reset_int): Likewise.
(__gcov_dump_int): Likewise.
* libgcov-util.c (FLAG_ONE_HOT): Likewise.
(calculate_overlap): Likewise.
* unwind-dw2.c: Likewise.
* unwind-seh.c (_Unwind_GetTextRelBase): Likewise.
---
libgcc/fixed-bit.c | 4 ++--
libgcc/libgcov-interface.c | 4 ++--
libgcc/libgcov-util.c | 4 ++--
libgcc/unwind-dw2.c | 4 ++--
libgcc/unwind-seh.c | 2 +-
5 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/libgcc/fixed-bit.c b/libgcc/fixed-bit.c
index 4986a4974c3..2a6ccad2a2b 100644
--- a/libgcc/fixed-bit.c
+++ b/libgcc/fixed-bit.c
@@ -832,7 +832,7 @@ SATFRACT (FROM_FIXED_C_TYPE a)
&& (BIG_UINT_C_TYPE) low < (BIG_UINT_C_TYPE) min_low))
low = min_low; /* Minimum. */
#elif FROM_MODE_UNSIGNED == 1 && TO_MODE_UNSIGNED == 1
- /* Unigned -> Unsigned. */
+ /* Unsigned -> Unsigned. */
if ((BIG_UINT_C_TYPE) high > (BIG_UINT_C_TYPE) max_high
|| ((BIG_UINT_C_TYPE) high == (BIG_UINT_C_TYPE) max_high
&& (BIG_UINT_C_TYPE) low > (BIG_UINT_C_TYPE) max_low))
@@ -1102,7 +1102,7 @@ SATFRACTUNS (FROM_INT_C_TYPE a)
#endif
#if TO_MODE_UNSIGNED == 1
- /* Unigned -> Unsigned. */
+ /* Unsigned -> Unsigned. */
if ((BIG_UINT_C_TYPE) high > (BIG_UINT_C_TYPE) max_high
|| ((BIG_UINT_C_TYPE) high == (BIG_UINT_C_TYPE) max_high
&& (BIG_UINT_C_TYPE) low > (BIG_UINT_C_TYPE) max_low))
diff --git a/libgcc/libgcov-interface.c b/libgcc/libgcov-interface.c
index c606d247b49..2a06851e282 100644
--- a/libgcc/libgcov-interface.c
+++ b/libgcc/libgcov-interface.c
@@ -121,7 +121,7 @@ __gcov_reset_int (void)
struct gcov_root *root;
/* If we're compatible with the master, iterate over everything,
- otherise just do us. */
+ otherwise just do us. */
for (root = __gcov_master.version == GCOV_VERSION
? __gcov_master.root : &__gcov_root; root; root = root->next)
{
@@ -154,7 +154,7 @@ __gcov_dump_int (void)
struct gcov_root *root;
/* If we're compatible with the master, iterate over everything,
- otherise just do us. */
+ otherwise just do us. */
for (root = __gcov_master.version == GCOV_VERSION
? __gcov_master.root : &__gcov_root; root; root = root->next)
__gcov_dump_one (root);
diff --git a/libgcc/libgcov-util.c b/libgcc/libgcov-util.c
index f98b69e84c7..c3e3b1cf6c8 100644
--- a/libgcc/libgcov-util.c
+++ b/libgcc/libgcov-util.c
@@ -1174,7 +1174,7 @@ struct overlap_t {
#define FLAG_BOTH_COLD(flag) ((flag & 0x2) && (flag & 0x20))
#define FLAG_ONE_HOT(flag) ((flag & 0x4) || (flag & 0x40))
-/* Cumlative overlap dscore for profile1 and profile2. */
+/* Cumulative overlap dscore for profile1 and profile2. */
static double overlap_sum_1, overlap_sum_2;
/* The number of gcda files in the profiles. */
@@ -1451,7 +1451,7 @@ calculate_overlap (struct gcov_info *gcov_list1,
/* Compute the overlap score of two lists of gcov_info objects PROFILE1 and
PROFILE2.
- Return 0 on success: without mismatch. Reutrn 1 on error. */
+ Return 0 on success: without mismatch. Return 1 on error. */
int
gcov_profile_overlap (struct gcov_info *profile1, struct gcov_info *profile2)
diff --git a/libgcc/unwind-dw2.c b/libgcc/unwind-dw2.c
index 14b08d01a3f..6f84d08215b 100644
--- a/libgcc/unwind-dw2.c
+++ b/libgcc/unwind-dw2.c
@@ -61,7 +61,7 @@
although so far in a case that doesn't actually matter.
See PR49146, in which a call from x86_64 ms abi to x86_64 unix abi stores
- the call-saved xmm registers and annotates them. We havn't bothered
+ the call-saved xmm registers and annotates them. We haven't bothered
providing support for the xmm registers for the x86_64 port primarily
because the 64-bit windows targets don't use dwarf2 unwind, using sjlj or
SEH instead. Adding the support for unix targets would generally be a
@@ -78,7 +78,7 @@
unlikely to be able to get the new annotation.
Barring a magic solution to restore the ms abi defined 128-bit xmm registers
- (as distictly opposed to the full runtime width) without causing extra
+ (as distinctly opposed to the full runtime width) without causing extra
overhead for normal unix abis, the best solution seems to be to simply
ignore unwind data for unknown columns. */
diff --git a/libgcc/unwind-seh.c b/libgcc/unwind-seh.c
index ed038854787..3bd0c8a4e03 100644
--- a/libgcc/unwind-seh.c
+++ b/libgcc/unwind-seh.c
@@ -187,7 +187,7 @@ _Unwind_GetTextRelBase (struct _Unwind_Context *c)
/* The "real" language-specific personality handler forwards to here
where we handle the MS SEH state and transforms it into the GCC
unwind state as per GCC's <unwind.h>, at which point we defer to
- the regular language-specfic exception handler, which is passed in. */
+ the regular language-specific exception handler, which is passed in. */
EXCEPTION_DISPOSITION
_GCC_specific_handler (PEXCEPTION_RECORD ms_exc, void *this_frame,
--
2.43.0