aboutsummaryrefslogtreecommitdiff
path: root/gprof
diff options
context:
space:
mode:
authorAmbrogino Modigliani <ambrogino.modigliani@gmail.com>2016-11-25 21:01:43 +0100
committerAlan Modra <amodra@gmail.com>2016-11-27 15:04:01 +1030
commit576a6e4d1d1ac2c5b7e44830d3328ae8723fcb06 (patch)
tree87163e6de7a0836c0949e751af415dff527a5c00 /gprof
parent5c3024d2c1d4c4f141d8364d487604f70678792a (diff)
downloadbinutils-576a6e4d1d1ac2c5b7e44830d3328ae8723fcb06.zip
binutils-576a6e4d1d1ac2c5b7e44830d3328ae8723fcb06.tar.gz
binutils-576a6e4d1d1ac2c5b7e44830d3328ae8723fcb06.tar.bz2
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.
Diffstat (limited to 'gprof')
-rw-r--r--gprof/ChangeLog7
-rw-r--r--gprof/basic_blocks.c2
-rw-r--r--gprof/cg_arcs.c2
-rw-r--r--gprof/cg_print.c2
-rw-r--r--gprof/corefile.c2
5 files changed, 11 insertions, 4 deletions
diff --git a/gprof/ChangeLog b/gprof/ChangeLog
index 9079a4b..1459ea7 100644
--- a/gprof/ChangeLog
+++ b/gprof/ChangeLog
@@ -1,3 +1,10 @@
+2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
+
+ * 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.
+
2016-11-22 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
* configure: Regenerate.
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.