aboutsummaryrefslogtreecommitdiff
path: root/gcc/lto
diff options
context:
space:
mode:
authorOndřej Bílka <neleai@seznam.cz>2013-07-21 18:18:04 +0000
committerMike Stump <mrs@gcc.gnu.org>2013-07-21 18:18:04 +0000
commit1aa95df74202a50ca17f06e738c8fae303450fdd (patch)
tree4cf7616fe25f46e4466b597faf6d52056d8cb397 /gcc/lto
parentc0d18c6c7d528e3acfb2506d831191c6e5c82b68 (diff)
downloadgcc-1aa95df74202a50ca17f06e738c8fae303450fdd.zip
gcc-1aa95df74202a50ca17f06e738c8fae303450fdd.tar.gz
gcc-1aa95df74202a50ca17f06e738c8fae303450fdd.tar.bz2
Fix typos.
From-SVN: r201109
Diffstat (limited to 'gcc/lto')
-rw-r--r--gcc/lto/ChangeLog4
-rw-r--r--gcc/lto/lto-partition.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog
index b37a879..d655975 100644
--- a/gcc/lto/ChangeLog
+++ b/gcc/lto/ChangeLog
@@ -1,3 +1,7 @@
+2013-07-21 Ondřej Bílka <neleai@seznam.cz>
+
+ * lto-partition.c: Fix typos.
+
2013-06-20 Jan Hubicka <jh@suse.cz>
* lto-partition.c (lto_balanced_map): Fix -fno-toplevel-reorder
diff --git a/gcc/lto/lto-partition.c b/gcc/lto/lto-partition.c
index 8782698..63e6ab9 100644
--- a/gcc/lto/lto-partition.c
+++ b/gcc/lto/lto-partition.c
@@ -852,7 +852,7 @@ may_need_named_section_p (lto_symtab_encoder_t encoder, symtab_node node)
of the same name in partition ENCODER (or in whole compilation unit if
ENCODER is NULL) and if so, mangle the statics. Always mangle all
conflicting statics, so we reduce changes of silently miscompiling
- asm statemnets refering to them by symbol name. */
+ asm statemnets referring to them by symbol name. */
static void
rename_statics (lto_symtab_encoder_t encoder, symtab_node node)
@@ -902,7 +902,7 @@ rename_statics (lto_symtab_encoder_t encoder, symtab_node node)
|| lto_symtab_encoder_lookup (encoder, s) != LCC_NOT_FOUND))
{
if (privatize_symbol_name (s))
- /* Re-start from beggining since we do not know how many symbols changed a name. */
+ /* Re-start from beginning since we do not know how many symbols changed a name. */
s = symtab_node_for_asm (name);
else s = s->symbol.next_sharing_asm_name;
}