This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH 04/15] Fix spelling in comments in C source files (gprof)
- From: Ambrogino Modigliani <ambrogino dot modigliani at gmail dot com>
- To: binutils at sourceware dot org, pedro_alves at portugalmail dot pt, ambrogino dot modigliani at gmail dot com, ambrogino dot modigliani at mail dot com
- Date: Fri, 25 Nov 2016 21:01:43 +0100
- Subject: [PATCH 04/15] Fix spelling in comments in C source files (gprof)
- Authentication-results: sourceware.org; auth=none
- References: <1480104114-12162-1-git-send-email-ambrogino.modigliani@mail.com>
gprof/ChangeLog:
* basic_blocks.c: Fix spelling in comments.
* cg_arcs.c: Fix spelling in comments.
* cg_print.c: Fix spelling in comments.
* corefile.c: Fix spelling in comments.
---
gprof/basic_blocks.c | 2 +-
gprof/cg_arcs.c | 2 +-
gprof/cg_print.c | 2 +-
gprof/corefile.c | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/gprof/basic_blocks.c b/gprof/basic_blocks.c
index a588b2e..4e29599 100644
--- a/gprof/basic_blocks.c
+++ b/gprof/basic_blocks.c
@@ -311,7 +311,7 @@ print_exec_counts (void)
line of a file in sequential order.
Global variable bb_annotate_all_lines enables execution count
- compression (counts are supressed if identical to the last one)
+ compression (counts are suppressed if identical to the last one)
and prints counts on all executed lines. Otherwise, print
all basic-block execution counts exactly once on the line
that starts the basic-block. */
diff --git a/gprof/cg_arcs.c b/gprof/cg_arcs.c
index c51137d..fefe4b8 100644
--- a/gprof/cg_arcs.c
+++ b/gprof/cg_arcs.c
@@ -660,7 +660,7 @@ cg_assemble (void)
fractions. */
propagate_flags (top_sorted_syms);
- /* Starting from the topological bottom, propogate children times
+ /* Starting from the topological bottom, propagate children times
up to parents. */
cycle_time ();
for (sym_index = 0; sym_index < symtab.len; ++sym_index)
diff --git a/gprof/cg_print.c b/gprof/cg_print.c
index 77a0c4c..e01bdcb 100644
--- a/gprof/cg_print.c
+++ b/gprof/cg_print.c
@@ -847,7 +847,7 @@ cg_print_function_ordering (void)
tmp_arcs_count += arcs[arc_index]->count;
/* Count how many times each parent and child are used up
- to our threshhold of arcs (90%). */
+ to our threshold of arcs (90%). */
if ((double)tmp_arcs_count / (double)total_arcs > 0.90)
break;
diff --git a/gprof/corefile.c b/gprof/corefile.c
index 87de7bc..c9ec490 100644
--- a/gprof/corefile.c
+++ b/gprof/corefile.c
@@ -847,7 +847,7 @@ core_create_line_syms (void)
The old way called symtab_finalize before the is_static pass,
causing a problem since symtab_finalize uses is_static as part of
its address conflict resolution algorithm. Since global symbols
- were prefered over static symbols, and all line symbols were
+ were preferred over static symbols, and all line symbols were
global at that point, static function names that conflicted with
their own line numbers (static, but labeled as global) were
rejected in favor of the line num.
--
2.7.4