summaryrefslogtreecommitdiff
path: root/gold/stringpool.h
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/stringpool.h
parent2b0f37619f797bf640b2d45acb615817dd202954 (diff)
downloadbinutils-gdb-5c3024d2c1d4c4f141d8364d487604f70678792a.tar.gz
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/stringpool.h')
-rw-r--r--gold/stringpool.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/stringpool.h b/gold/stringpool.h
index b7ac54f5b4e..a2b3ebd10a9 100644
--- a/gold/stringpool.h
+++ b/gold/stringpool.h
@@ -118,7 +118,7 @@ class Chunked_vector
{
this->chunks_.resize((n + chunk_size - 1) / chunk_size);
// We need to call reserve() of all chunks since changing
- // this->chunks_ casues Element_vectors to be copied. The
+ // this->chunks_ causes Element_vectors to be copied. The
// reserved capacity of an Element_vector may be lost in copying.
for (size_t i = 0; i < this->chunks_.size(); ++i)
this->chunks_[i].reserve(chunk_size);