aboutsummaryrefslogtreecommitdiff
path: root/gold
diff options
context:
space:
mode:
authorYuri Chornovian <yurchor@ukr.net>2017-07-18 16:58:14 +0100
committerNick Clifton <nickc@redhat.com>2017-07-18 16:58:14 +0100
commitde194d8575765da6c7905d09b8675c59fad035e9 (patch)
treeb5d104395b4fb836d6b3a7687faa48d6a2544210 /gold
parentc5ed057625f886b14d9def3fa7488fd8bbbf7dd3 (diff)
Fix spelling typos.
Diffstat (limited to 'gold')
-rw-r--r--gold/ChangeLog9
-rw-r--r--gold/aarch64.cc4
-rw-r--r--gold/arm.cc8
-rw-r--r--gold/layout.cc2
-rw-r--r--gold/powerpc.cc2
-rw-r--r--gold/x86_64.cc2
6 files changed, 18 insertions, 9 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index 8d64ea66d0..0dc39722ad 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,12 @@
+2017-07-18 Nick Clifton <nickc@redhat.com>
+
+ PR 21775
+ * aarch64.cc: Fix spelling typos.
+ * arm.cc: Likewise.
+ * layout.cc: Likewise.
+ * powerpc.cc: Likewise.
+ * x86_64.cc: Likewise.
+
2017-07-12 Alan Modra <amodra@gmail.com>
* po/es.po: Update from translationproject.org/latest/gold/.
diff --git a/gold/aarch64.cc b/gold/aarch64.cc
index 696df19dca..58c744967a 100644
--- a/gold/aarch64.cc
+++ b/gold/aarch64.cc
@@ -270,7 +270,7 @@ public:
uint32_t v = 0;
uint32_t opc_v = 0;
- /* Bail out quickly if INSN doesn't fall into the the load-store
+ /* Bail out quickly if INSN doesn't fall into the load-store
encoding space. */
if (!aarch64_ldst (insn))
return false;
@@ -1101,7 +1101,7 @@ public:
private:
// Section offset of "adrp". (We do not need a "adrp_shndx_" field, because we
- // can can obtain it from its parent.)
+ // can obtain it from its parent.)
const unsigned int adrp_sh_offset_;
};
diff --git a/gold/arm.cc b/gold/arm.cc
index ff472eaa74..f887fe558b 100644
--- a/gold/arm.cc
+++ b/gold/arm.cc
@@ -129,7 +129,7 @@ const size_t ARM_TCB_SIZE = 8;
// Target::do_select_as_default_target() hook so that we do not spend time
// building the table if we are not linking ARM objects.
//
-// An alternative is to to process the information in arm-reloc.def in
+// An alternative is to process the information in arm-reloc.def in
// compilation time and generate a representation of it in PODs only. That
// way we can avoid initialization when the linker starts.
@@ -11660,7 +11660,7 @@ Target_arm<big_endian>::merge_object_attributes(
if (in_attr[elfcpp::Tag_MPextension_use].int_value()
!= in_attr[i].int_value())
{
- gold_error(_("%s has has both the current and legacy "
+ gold_error(_("%s has both the current and legacy "
"Tag_MPextension_use attributes"),
name);
}
@@ -12775,7 +12775,7 @@ Target_arm<big_endian>::scan_span_for_cortex_a8_erratum(
Arm_address target = (pc_for_insn + offset) | (is_blx ? 0 : 1);
- // Add a new stub if destination address in in the same page.
+ // Add a new stub if destination address is in the same page.
if (((address + i) & ~0xfffU) == (target & ~0xfffU))
{
Cortex_a8_stub* stub =
@@ -12877,7 +12877,7 @@ Target_arm<big_endian>::fix_exidx_coverage(
const Task* task)
{
// We need to look at all the input sections in output in ascending
- // order of of output address. We do that by building a sorted list
+ // order of output address. We do that by building a sorted list
// of output sections by addresses. Then we looks at the output sections
// in order. The input sections in an output section are already sorted
// by addresses within the output section.
diff --git a/gold/layout.cc b/gold/layout.cc
index bb13d7136e..963ae523ca 100644
--- a/gold/layout.cc
+++ b/gold/layout.cc
@@ -3464,7 +3464,7 @@ is_text_segment(const Target* target, const Output_segment* seg)
}
// Set the file offsets of all the segments, and all the sections they
-// contain. They have all been created. LOAD_SEG must be be laid out
+// contain. They have all been created. LOAD_SEG must be laid out
// first. Return the offset of the data to follow.
off_t
diff --git a/gold/powerpc.cc b/gold/powerpc.cc
index a046bbee33..fcbf177956 100644
--- a/gold/powerpc.cc
+++ b/gold/powerpc.cc
@@ -1064,7 +1064,7 @@ class Target_powerpc : public Sized_target<size, big_endian>
this->set_processor_specific_flags(flags);
}
- // Offset to to save stack slot
+ // Offset to save stack slot
int
stk_toc () const
{ return this->abiversion() < 2 ? 40 : 24; }
diff --git a/gold/x86_64.cc b/gold/x86_64.cc
index 7f1742dd5f..da5087faad 100644
--- a/gold/x86_64.cc
+++ b/gold/x86_64.cc
@@ -4211,7 +4211,7 @@ Target_x86_64<size>::Relocate::relocate(
case elfcpp::R_X86_64_GOT64:
case elfcpp::R_X86_64_GOTPLT64:
- // R_X86_64_GOTPLT64 is obsolete and treated the the same as
+ // R_X86_64_GOTPLT64 is obsolete and treated the same as
// GOT64.
gold_assert(have_got_offset);
Reloc_funcs::rela64(view, got_offset, addend);