summaryrefslogtreecommitdiff
path: root/gold/aarch64.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/aarch64.cc
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/aarch64.cc')
-rw-r--r--gold/aarch64.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gold/aarch64.cc b/gold/aarch64.cc
index 28e4d48514c..f38cd9a91ba 100644
--- a/gold/aarch64.cc
+++ b/gold/aarch64.cc
@@ -156,7 +156,7 @@ public:
uint64_t imm = ((adrp >> 29) & mask2) | (((adrp >> 5) & mask19) << 2);
// Retrieve msb of 21-bit-signed imm for sign extension.
uint64_t msbt = (imm >> 20) & 1;
- // Real value is imm multipled by 4k. Value now has 33-bit information.
+ // Real value is imm multiplied by 4k. Value now has 33-bit information.
int64_t value = imm << 12;
// Sign extend to 64-bit by repeating msbt 31 (64-33) times and merge it
// with value.
@@ -1022,7 +1022,7 @@ public:
{ this->erratum_address_ = addr; }
// Comparator used to group Erratum_stubs in a set by (obj, shndx,
- // sh_offset). We do not include 'type' in the calculation, becuase there is
+ // sh_offset). We do not include 'type' in the calculation, because there is
// at most one stub type at (obj, shndx, sh_offset).
bool
operator<(const Erratum_stub<size, big_endian>& k) const