aboutsummaryrefslogtreecommitdiff
path: root/gcc/lto/lto-partition.c
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/lto-partition.c
parentc0d18c6c7d528e3acfb2506d831191c6e5c82b68 (diff)
downloadgcc-1aa95df74202a50ca17f06e738c8fae303450fdd.zip
gcc-1aa95df74202a50ca17f06e738c8fae303450fdd.tar.gz
gcc-1aa95df74202a50ca17f06e738c8fae303450fdd.tar.bz2
Fix typos.
From-SVN: r201109
Diffstat (limited to 'gcc/lto/lto-partition.c')
-rw-r--r--gcc/lto/lto-partition.c4
1 files changed, 2 insertions, 2 deletions
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;
}