aboutsummaryrefslogtreecommitdiff
path: root/gold/icf.cc
diff options
context:
space:
mode:
authorAmbrogino Modigliani <ambrogino.modigliani@gmail.com>2016-11-25 21:01:42 +0100
committerAlan Modra <amodra@gmail.com>2016-11-27 15:03:06 +1030
commit5c3024d2c1d4c4f141d8364d487604f70678792a (patch)
treea4a248569472996ba801b29edaa88df38d090c0e /gold/icf.cc
parent2b0f37619f797bf640b2d45acb615817dd202954 (diff)
downloadfsf-binutils-gdb-5c3024d2c1d4c4f141d8364d487604f70678792a.zip
fsf-binutils-gdb-5c3024d2c1d4c4f141d8364d487604f70678792a.tar.gz
fsf-binutils-gdb-5c3024d2c1d4c4f141d8364d487604f70678792a.tar.bz2
Fix spelling in comments in C source files (gold)
* aarch64.cc: Fix spelling in comments. * arm.cc: Fix spelling in comments. * icf.cc: Fix spelling in comments. * layout.cc: Fix spelling in comments. * layout.h: Fix spelling in comments. * mips.cc: Fix spelling in comments. * output.h: Fix spelling in comments. * plugin.h: Fix spelling in comments. * script-sections.h: Fix spelling in comments. * script.h: Fix spelling in comments. * stringpool.h: Fix spelling in comments. * tilegx.cc: Fix spelling in comments.
Diffstat (limited to 'gold/icf.cc')
-rw-r--r--gold/icf.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gold/icf.cc b/gold/icf.cc
index c09c746..e86436a 100644
--- a/gold/icf.cc
+++ b/gold/icf.cc
@@ -545,7 +545,7 @@ get_section_contents(bool first_iteration,
{
buffer.append("Contents = ");
buffer.append(reinterpret_cast<const char*>(contents), plen);
- // Store the section contents that dont change to avoid recomputing
+ // Store the section contents that don't change to avoid recomputing
// during the next call to this function.
(*section_contents)[section_num] = buffer;
}
@@ -670,7 +670,7 @@ match_sections(unsigned int iteration_num,
// Check section alignment here.
// The section with the larger alignment requirement
// should be kept. We assume alignment can only be
- // zero or postive integral powers of two.
+ // zero or positive integral powers of two.
uint64_t align_i = section_addraligns[i];
uint64_t align_kept = section_addraligns[kept_section];
if (align_i <= align_kept)