From 5c3024d2c1d4c4f141d8364d487604f70678792a Mon Sep 17 00:00:00 2001 From: Ambrogino Modigliani Date: Fri, 25 Nov 2016 21:01:42 +0100 Subject: 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. --- gold/icf.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gold/icf.cc') diff --git a/gold/icf.cc b/gold/icf.cc index c09c746ae1c..e86436aa773 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(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) -- cgit v1.2.1