This is the mail archive of the mailing list for the binutils project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 04/15] Fix spelling in comments in C source files (gprof)


	* 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)
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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]