]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Fix spelling typos.
authorYuri Chornovian <yurchor@ukr.net>
Tue, 18 Jul 2017 15:58:14 +0000 (16:58 +0100)
committerNick Clifton <nickc@redhat.com>
Tue, 18 Jul 2017 15:58:14 +0000 (16:58 +0100)
59 files changed:
bfd/ChangeLog
bfd/coff-sh.c
bfd/compress.c
bfd/cpu-pdp11.c
bfd/ecofflink.c
bfd/elf-m10300.c
bfd/elf.c
bfd/elf32-arm.c
bfd/elf32-m68k.c
bfd/elf32-nds32.c
bfd/elf32-ppc.c
bfd/elf32-sh.c
bfd/elf32-v850.c
bfd/elf64-ppc.c
bfd/elf64-x86-64.c
bfd/elflink.c
bfd/elfnn-aarch64.c
bfd/elfxx-mips.c
bfd/som.c
bfd/sunos.c
bfd/vms-alpha.c
bfd/xcofflink.c
binutils/ChangeLog
binutils/coffgrok.c
binutils/readelf.c
binutils/stabs.c
binutils/testsuite/binutils-all/objcopy.exp
gas/ChangeLog
gas/config/tc-arm.c
gas/config/tc-mips.c
gas/config/tc-msp430.c
gas/config/tc-sh64.c
gas/config/tc-tic4x.c
gas/ecoff.c
gas/testsuite/gas/arm/ldr-bad.l
gas/testsuite/gas/arm/ldr-t-bad.l
gas/testsuite/gas/msp430/errata_warns.l
gas/testsuite/gas/tic54x/opcodes.s
gold/ChangeLog
gold/aarch64.cc
gold/arm.cc
gold/layout.cc
gold/powerpc.cc
gold/x86_64.cc
include/ChangeLog
include/aout/adobe.h
include/aout/aout64.h
include/aout/hp300hpux.h
include/elf/hppa.h
include/gdb/remote-sim.h
include/libiberty.h
include/mach-o/arm.h
include/opcode/v850.h
ld/ChangeLog
ld/ld.texinfo
ld/testsuite/ld-elfcomm/elfcomm.exp
opcodes/ChangeLog
opcodes/aarch64-opc.c
opcodes/i386-dis.c

index f9eb98f4f3243c8ef0a4a4a9e733c5887d040033..bdffccf63f5943154c6da97afcf3f0e65e94efa9 100644 (file)
@@ -1,3 +1,28 @@
+2017-07-18  Nick Clifton  <nickc@redhat.com>
+
+       PR 21775
+       * coff-sh.c: Fix spelling typos.
+       * compress.c: Likewise.
+       * cpu-pdp11.c: Likewise.
+       * ecofflink.c: Likewise.
+       * elf-m10300.c: Likewise.
+       * elf.c: Likewise.
+       * elf32-arm.c: Likewise.
+       * elf32-m68k.c: Likewise.
+       * elf32-nds32.c: Likewise.
+       * elf32-ppc.c: Likewise.
+       * elf32-sh.c: Likewise.
+       * elf32-v850.c: Likewise.
+       * elf64-ppc.c: Likewise.
+       * elf64-x86-64.c: Likewise.
+       * elflink.c: Likewise.
+       * elfnn-aarch64.c: Likewise.
+       * elfxx-mips.c: Likewise.
+       * som.c: Likewise.
+       * sunos.c: Likewise.
+       * vms-alpha.c: Likewise.
+       * xcofflink.c: Likewise.
+
 2017-07-18  Nick Clifton  <nickc@redhat.com>
 
        PR binutils/21781
index 1c483cb3e443ee5e22a125e723d509aad3ca2ac5..8170152b73991dc32850fb8faaa9676d14fafdb9 100644 (file)
@@ -1083,7 +1083,7 @@ sh_relax_delete_bytes (bfd *abfd,
 
   contents = coff_section_data (abfd, sec)->contents;
 
-  /* The deletion must stop at the next ALIGN reloc for an aligment
+  /* The deletion must stop at the next ALIGN reloc for an alignment
      power larger than the number of bytes we are deleting.  */
 
   irelalign = NULL;
index a9dcbc05f537197cd5c1797aee2a2e71b2eb1200..d06f2fe28fac4df0bbbf1ca47622c3f5aa22996a 100644 (file)
@@ -106,7 +106,7 @@ bfd_compress_section_contents (bfd *abfd, sec_ptr sec,
       if (orig_compression_header_size == 0)
        {
          /* Convert it from .zdebug* section.  Get the uncompressed
-            size first.  We need to substract the 12-byte overhead in
+            size first.  We need to subtract the 12-byte overhead in
             .zdebug* section.  Set orig_compression_header_size to
             the 12-bye overhead.  */
          orig_compression_header_size = 12;
index 87c6aa946025cd7fcecb5a4a6a7e2d9d4bc95ed5..25e20bb6b14aa7166b946396a895db43b76b1023 100644 (file)
@@ -31,7 +31,7 @@ const bfd_arch_info_type bfd_pdp11_arch =
     0, /* only 1 machine */
     "pdp11",
     "pdp11",
-    1,         /* aligment = 16 bit */
+    1,         /* alignment = 16 bit */
     TRUE, /* the one and only */
     bfd_default_compatible,
     bfd_default_scan,
index c3c2e9421b604c19cd344c492e7c5558b4b57ef3..e1f180463467d5cafa470ca12fe15609860219fd 100644 (file)
@@ -898,7 +898,7 @@ bfd_ecoff_debug_accumulate (void * handle,
       if (! bfd_link_relocatable (info))
        {
 
-         /* When are are hashing strings, we lie about the number of
+         /* When we are hashing strings, we lie about the number of
             strings attached to each FDR.  We need to set cbSs
             because some versions of dbx apparently use it to decide
             how much of the string table to read in.  */
index 97301c8849d8c8334722acf97cfb212aaec0bb46..9214a5745cbda1387bf95ef9285e68977124dbb4 100644 (file)
@@ -2416,7 +2416,7 @@ mn10300_elf_relax_delete_bytes (bfd *abfd,
       if (ELF32_R_TYPE ((irelend - 1)->r_info) == (int) R_MN10300_ALIGN)
        --irelend;
 
-      /* The deletion must stop at the next ALIGN reloc for an aligment
+      /* The deletion must stop at the next ALIGN reloc for an alignment
         power larger than, or not a multiple of, the number of bytes we
         are deleting.  */
       for (; irel < irelend; irel++)
index a93793031485dd50b82d4ed8d4fbd9ba2e6a41aa..b99e297e8458ed41fb1a9bf347ebf82a5c15d5fb 100644 (file)
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -5115,7 +5115,7 @@ elf_sort_sections (const void *arg1, const void *arg2)
    else
      adjustment = vma_offset - off_offset;
 
-   which can can be collapsed into the expression below.  */
+   which can be collapsed into the expression below.  */
 
 static file_ptr
 vma_page_aligned_bias (bfd_vma vma, ufile_ptr off, bfd_vma maxpagesize)
index 4277168b9bd2984430b29d4bf6bea64915853c30..e8c346d869ef0ddb111f57fdeadc56ecfa7777fe 100644 (file)
@@ -14037,7 +14037,7 @@ elf32_arm_merge_eabi_attributes (bfd *ibfd, struct bfd_link_info *info)
              if (in_attr[Tag_MPextension_use].i != in_attr[i].i)
                {
                  _bfd_error_handler
-                   (_("%B has has both the current and legacy "
+                   (_("%B has both the current and legacy "
                       "Tag_MPextension_use attributes"),
                     ibfd);
                  result = FALSE;
index 5b64589b21d2344094ab76359289394305f33636..ab122feb8b886887d54b8593d1be041295f38bf3 100644 (file)
@@ -703,7 +703,7 @@ struct elf_m68k_got_entry
     struct
     {
       /* Offset from the start of .got section.  To calculate offset relative
-        to GOT pointer one should substract got->offset from this value.  */
+        to GOT pointer one should subtract got->offset from this value.  */
       bfd_vma offset;
 
       /* Pointer to the next GOT entry for this global symbol.
index d6b58aaed17d4052cacd4f54f8b6880f04628af4..b5f59e764640736a5fda30547b516ecd7c2705d2 100644 (file)
@@ -11509,12 +11509,12 @@ nds32_relax_adjust_label (bfd *abfd, asection *sec,
      of instruction a time.
 
      It recognizes three types of relocations.
-     1. R_NDS32_LABEL - a aligment.
+     1. R_NDS32_LABEL - a alignment.
      2. R_NDS32_INSN16 - relax a 32-bit instruction to 16-bit.
      3. is_16bit_NOP () - remove a 16-bit instruction.  */
 
-  /* TODO: It seems currently implementation only support 4-byte aligment.
-     We should handle any-aligment.  */
+  /* TODO: It seems currently implementation only support 4-byte alignment.
+     We should handle any-alignment.  */
 
   Elf_Internal_Rela *insn_rel = NULL, *label_rel = NULL, *irel;
   Elf_Internal_Rela *tmp_rel, *tmp2_rel = NULL;
index 6d8b5020f54ff96e4854a724627dc4627b071644..f32ba9bf6adf309e666590a0886db5b58ed636fd 100644 (file)
@@ -134,7 +134,7 @@ static const bfd_vma ppc_elf_vxworks_pic_plt0_entry
 #define VXWORKS_PLT_NON_JMP_SLOT_RELOCS 3
 /* The number of relocations in the PLTResolve slot. */
 #define VXWORKS_PLTRESOLVE_RELOCS 2
-/* The number of relocations in the PLTResolve slot when when creating
+/* The number of relocations in the PLTResolve slot when creating
    a shared library. */
 #define VXWORKS_PLTRESOLVE_RELOCS_SHLIB 0
 
index dfc16a275a9c83dead9a1b558d32aca375b8674f..8f9157998548ae2690f2bdae4d86f7aa09ca8350 100644 (file)
@@ -913,7 +913,7 @@ sh_elf_relax_delete_bytes (bfd *abfd, asection *sec, bfd_vma addr,
 
   contents = elf_section_data (sec)->this_hdr.contents;
 
-  /* The deletion must stop at the next ALIGN reloc for an aligment
+  /* The deletion must stop at the next ALIGN reloc for an alignment
      power larger than the number of bytes we are deleting.  */
 
   irelalign = NULL;
index a9c56cbfa551250ac99e21ffb6e2894de5d0ac92..f33a5206390fab88c60da7cbb3478f09da404885 100644 (file)
@@ -2525,7 +2525,7 @@ v850_elf_merge_notes (bfd * ibfd, bfd *obfd)
                {
                  _bfd_error_handler
                    /* xgettext:c-format */
-                   (_("error: %B needs 8-byte aligment but %B is set for 4-byte alignment"),
+                   (_("error: %B needs 8-byte alignment but %B is set for 4-byte alignment"),
                                      ibfd, obfd);
                  result = FALSE;
                }
index 70ad6c5a69b1dc22ffffc38a0c315e21066b1dc7..99033738e9d983f81e5ee0e822a0b97b31cc8920 100644 (file)
@@ -8904,7 +8904,7 @@ ppc64_elf_tls_optimize (struct bfd_link_info *info)
    the values of any global symbols in a toc section that has been
    edited.  Globals in toc sections should be a rarity, so this function
    sets a flag if any are found in toc sections other than the one just
-   edited, so that futher hash table traversals can be avoided.  */
+   edited, so that further hash table traversals can be avoided.  */
 
 struct adjust_toc_info
 {
@@ -9400,7 +9400,7 @@ ppc64_elf_edit_toc (struct bfd_link_info *info)
 
       /* Merge the used and skip arrays.  Assume that TOC
         doublewords not appearing as either used or unused belong
-        to to an entry more than one doubleword in size.  */
+        to an entry more than one doubleword in size.  */
       for (drop = skip, keep = used, last = 0, some_unused = 0;
           drop < skip + (toc->size + 7) / 8;
           ++drop, ++keep)
index 3658df456238e6fc973c30a8f860097f1b839838..a13af126cace730f546344c1b6fc6ee9716c4b67 100644 (file)
@@ -611,7 +611,7 @@ static const bfd_byte elf_x86_64_lazy_ibt_plt_entry[LAZY_PLT_ENTRY_SIZE] =
 };
 
 /* The first entry in the x32 IBT-enabled lazy procedure linkage table
-   is the the same as the normal lazy PLT.  Subsequent entries for an
+   is the same as the normal lazy PLT.  Subsequent entries for an
    x32 IBT-enabled lazy procedure linkage table look like this.  */
 
 static const bfd_byte elf_x32_lazy_ibt_plt_entry[LAZY_PLT_ENTRY_SIZE] =
@@ -4669,7 +4669,7 @@ do_ifunc_pointer:
        case R_X86_64_GOTPCREL64:
          /* Use global offset table entry as symbol value.  */
        case R_X86_64_GOTPLT64:
-         /* This is obsolete and treated the the same as GOT64.  */
+         /* This is obsolete and treated the same as GOT64.  */
          base_got = htab->elf.sgot;
 
          if (htab->elf.sgot == NULL)
index 6010b616bc82672ab9dd8c5df8cfa5745cf00b26..eff53acbbe35bf569829b6e331a7274162c1b1c3 100644 (file)
@@ -2935,7 +2935,7 @@ _bfd_elf_adjust_dynamic_copy (struct bfd_link_info *info,
   bfd_vma mask;
   asection *sec = h->root.u.def.section;
 
-  /* The section aligment of definition is the maximum alignment
+  /* The section alignment of the definition is the maximum alignment
      requirement of symbols defined in the section.  Since we don't
      know the symbol alignment requirement, we start with the
      maximum alignment and check low bits of the symbol address
index b28e8d8295cf4c6dc53e5489aefbe9e4454f703b..de7b627004fcc63a0c4a572167f016f698f37003 100644 (file)
@@ -3281,7 +3281,7 @@ aarch64_mem_op_p (uint32_t insn, unsigned int *rt, unsigned int *rt2,
   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;
index f270cdb3688269227c7ef82efd096722122cce63..fddf68c81620686eed8131ec758b656d484baaca 100644 (file)
@@ -5456,7 +5456,7 @@ mips_elf_calculate_relocation (bfd *abfd, bfd *input_bfd,
        {
          /* If this is a dynamic link, we should have created a
             _DYNAMIC_LINK symbol or _DYNAMIC_LINKING(for normal mips) symbol
-            in in _bfd_mips_elf_create_dynamic_sections.
+            in _bfd_mips_elf_create_dynamic_sections.
             Otherwise, we should define the symbol with a value of 0.
             FIXME: It should probably get into the symbol table
             somehow as well.  */
@@ -6955,7 +6955,7 @@ _bfd_mips_elf_symbol_processing (bfd *abfd, asymbol *asym)
          {
            asym->section = section;
            /* MIPS_TEXT is a bit special, the address is not an offset
-              to the base of the .text section.  So substract the section
+              to the base of the .text section.  So subtract the section
               base address to make it an offset.  */
            asym->value -= section->vma;
          }
@@ -6970,7 +6970,7 @@ _bfd_mips_elf_symbol_processing (bfd *abfd, asymbol *asym)
          {
            asym->section = section;
            /* MIPS_DATA is a bit special, the address is not an offset
-              to the base of the .data section.  So substract the section
+              to the base of the .data section.  So subtract the section
               base address to make it an offset.  */
            asym->value -= section->vma;
          }
index 98c4124bbadd0c4c39a015cb7185db8b54d61937..49f786080b85e41300db99eb33a13c4c3fa09a0c 100644 (file)
--- a/bfd/som.c
+++ b/bfd/som.c
@@ -5012,7 +5012,7 @@ som_set_reloc_info (unsigned char *fixup,
                  push (v);
                }
              else
-               /* An operator.  Pop two two values from the stack and
+               /* An operator.  Pop two values from the stack and
                   use them as operands to the given operation.  Push
                   the result of the operation back on the stack.  */
                switch (c)
index 10f43549c920ba23afaab5139dd007e2db831774..6cfc26e44f73e625b969b77430df51bc72985eda 100644 (file)
@@ -2314,7 +2314,7 @@ sunos_write_dynamic_symbol (bfd *output_bfd,
 }
 
 /* This is called for each reloc against an external symbol.  If this
-   is a reloc which are are going to copy as a dynamic reloc, then
+   is a reloc which are going to copy as a dynamic reloc, then
    copy it over, and tell the caller to not bother processing this
    reloc.  */
 
index 91e8b6e0324e527493a7a54d2b3867a3fc95f2e2..991a1bed3c6d3de512b684f976cfe823b0c2e536 100644 (file)
@@ -6220,7 +6220,7 @@ evax_bfd_print_etir (FILE *file, const char *name,
           fprintf (file, _("OPR_ADD (add)\n"));
           break;
         case ETIR__C_OPR_SUB:
-          fprintf (file, _("OPR_SUB (substract)\n"));
+          fprintf (file, _("OPR_SUB (subtract)\n"));
           break;
         case ETIR__C_OPR_MUL:
           fprintf (file, _("OPR_MUL (multiply)\n"));
index d80e98d4a1510334aea2a68605c95344439c0b09..c9421eed11c1479bdd3240c9d3965509f0fe1c7c 100644 (file)
@@ -5310,7 +5310,7 @@ xcoff_write_global_symbol (struct bfd_hash_entry *bh, void * inf)
        tocoff += h->descriptor->u.toc_offset;
 
       /* The first instruction in the glink code needs to be
-        cooked to to hold the correct offset in the toc.  The
+        cooked to hold the correct offset in the toc.  The
         rest are just output raw.  */
       bfd_put_32 (output_bfd,
                  bfd_xcoff_glink_code(output_bfd, 0) | (tocoff & 0xffff), p);
index ed12494497272773815469e5d99a73b40bf70ff0..d0980829581f28320773db0e45d969d36802077b 100644 (file)
@@ -1,3 +1,11 @@
+2017-07-18  Nick Clifton  <nickc@redhat.com>
+
+       PR 21775
+       * coffgrok.c: Fix spelling typos.
+       * readelf.c: Likewise.
+       * stabs.c: Likewise.
+       * testsuite/binutils-all/objcopy.exp: Likewise.
+
 2017-07-18  Nick Clifton  <nickc@redhat.com>
 
        * po/sv.po: Updated Swedish translation.
index 62cd1c49823f9d3df82f3c856de160b380a8014e..01ff0e9b2c179874c4ecf19f384ddb99d03523e8 100644 (file)
@@ -846,13 +846,13 @@ doit (void)
        case C_UNTAG:
          /* Various definition.  */
          if (top_scope == NULL)
-           fatal (_("Aggregate defintion encountered without a scope"));
+           fatal (_("Aggregate definition encountered without a scope"));
          i = do_define (i, top_scope);
          break;
        case C_EXT:
        case C_LABEL:
          if (file_scope == NULL)
-           fatal (_("Label defintion encountered without a file scope"));
+           fatal (_("Label definition encountered without a file scope"));
          i = do_define (i, file_scope);
          break;
        case C_STAT:
@@ -860,7 +860,7 @@ doit (void)
        case C_AUTO:
        case C_REG:
          if (top_scope == NULL)
-           fatal (_("Variable defintion encountered without a scope"));
+           fatal (_("Variable definition encountered without a scope"));
          i = do_define (i, top_scope);
          break;
        case C_EOS:
index 362c204bcbce0f5d73ccb4ef56ff02c1712ad4fa..50055a9811f1b5e03ec8f4163b6d1c70e6672ad9 100644 (file)
@@ -6706,7 +6706,7 @@ process_section_groups (FILE * file)
                      error (_("section [%5u] in group section [%5u] > maximum section [%5u]\n"),
                             entry, i, elf_header.e_shnum - 1);
                      if (num_group_errors == 10)
-                       warn (_("Futher error messages about overlarge group section indicies suppressed\n"));
+                       warn (_("Further error messages about overlarge group section indicies suppressed\n"));
                    }
                  continue;
                }
index 3861f83857cc999066a6fdd0e8ea90e1be55030d..39905f2b5d8e1c5cb717cd09e86b035e4c9f00aa 100644 (file)
@@ -995,7 +995,7 @@ parse_stab_string (void *dhandle, struct stab_handle *info, int stabtype,
       break;
 
     case 'T':
-      /* Struct, union, or enum tag.  For GNU C++, this can be be followed
+      /* Struct, union, or enum tag.  For GNU C++, this can be followed
         by 't' which means we are typedef'ing it as well.  */
       if (*p != 't')
        {
index 6d578375965c7683403c2343acc01856e677d429..14e8f1d09f4648913bbf9f48a15ed620c9b1e871 100644 (file)
@@ -842,7 +842,7 @@ proc keep_debug_symbols_and_test_copy { prog1 flags1 test1 prog2 flags2 test2 }
 }
 
 # Tests that in a debug only copy of a file the sections
-# headers whoes types have been changed to NOBITS still
+# headers whose types have been changed to NOBITS still
 # retain their sh_link fields.
 
 proc keep_debug_symbols_and_check_links { prog flags test } {
index 94fc3c03242406ea42dcdcf566ab58dc63a298bc..bd3333b45399f564fa44aa9a7dfe9b2ecb9220fd 100644 (file)
@@ -1,3 +1,17 @@
+2017-07-18  Nick Clifton  <nickc@redhat.com>
+
+       PR 21775
+       * config/tc-arm.c: Fix spelling typos.
+       * config/tc-mips.c: Likewise.
+       * config/tc-msp430.c: Likewise.
+       * config/tc-sh64.c: Likewise.
+       * config/tc-tic4x.c: Likewise.
+       * ecoff.c: Likewise.
+       * testsuite/gas/arm/ldr-bad.l: Likewise.
+       * testsuite/gas/arm/ldr-t-bad.l: Likewise.
+       * testsuite/gas/tic54x/opcodes.s: Likewise.
+       * testsuite/gas/msp340/errata_warns.l: Likewise.
+
 2017-07-18  Nick Clifton  <nickc@redhat.com>
 
        * po/uk.po: Updated Ukranian translation.
index 08ce141d673d2bc4697140620a3cce00b44bf58e..a036b1a7d884ec2625b92d534d6ac63e27a8d7fb 100644 (file)
@@ -8979,7 +8979,7 @@ check_ldr_r15_aligned (void)
              && (inst.operands[0].reg == REG_PC
              && inst.operands[1].reg == REG_PC
              && (inst.reloc.exp.X_add_number & 0x3)),
-             _("ldr to register 15 must be 4-byte alligned"));
+             _("ldr to register 15 must be 4-byte aligned"));
 }
 
 static void
@@ -23542,7 +23542,7 @@ md_apply_fix (fixS *    fixP,
       /* We are going to store value (shifted right by two) in the
         instruction, in a 24 bit, signed field.  Bits 26 through 32 either
         all clear or all set and bit 0 must be clear.  For B/BL bit 1 must
-        also be be clear.  */
+        also be clear.  */
       if (value & temp)
        as_bad_where (fixP->fx_file, fixP->fx_line,
                      _("misaligned branch destination"));
index 4eeb5ee6b20f25be4d8a999d66ee51ca8996c918..3804df2958757de0ed492ff3c905dc427b4fd081 100644 (file)
@@ -4897,7 +4897,7 @@ match_expression (struct mips_arg_info *arg, expressionS *value,
 }
 
 /* Try to get a constant expression from the next tokens in ARG.  Consume
-   the tokens and return return true on success, storing the constant value
+   the tokens and return true on success, storing the constant value
    in *VALUE.  */
 
 static bfd_boolean
@@ -15314,7 +15314,7 @@ fix_bad_misaligned_jump_p (fixS *fixP, int shift)
    We accept BFD_RELOC_16_PCREL_S2 relocations against MIPS16 and microMIPS
    symbols or BFD_RELOC_MICROMIPS_16_PCREL_S1 relocations against regular
    MIPS symbols and associated with BAL instructions as these instructions
-   may be be converted to JALX by the linker.  */
+   may be converted to JALX by the linker.  */
 
 static bfd_boolean
 fix_bad_cross_mode_branch_p (fixS *fixP)
index 0430f2ec6e70ae228be67d6ad698e275c69daf2e..91e0a73ea656cecea9e5053ff8597b0931c4fac5 100644 (file)
@@ -2631,7 +2631,7 @@ msp430_operands (struct msp430_opcode_s * opcode, char * line)
 
                case NOP_CHECK_CPU12:
                  if (silicon_errata_warn & SILICON_ERRATA_CPU12)
-                   as_warn (_("CPU12: CMP/BIT with PC destinstion ignores next instruction"));
+                   as_warn (_("CPU12: CMP/BIT with PC destination ignores next instruction"));
 
                  if (silicon_errata_fix & SILICON_ERRATA_CPU12)
                    doit = TRUE;
@@ -2724,9 +2724,9 @@ msp430_operands (struct msp430_opcode_s * opcode, char * line)
                   || is_opcode ("bicx") || is_opcode ("bisx") || is_opcode ("movx")))
            {
              if (silicon_errata_fix & SILICON_ERRATA_CPU11)
-               as_bad (_("CPU11: PC is destinstion of SR altering instruction"));
+               as_bad (_("CPU11: PC is destination of SR altering instruction"));
              else if (silicon_errata_warn & SILICON_ERRATA_CPU11)
-               as_warn (_("CPU11: PC is destinstion of SR altering instruction"));
+               as_warn (_("CPU11: PC is destination of SR altering instruction"));
            }
          
          /* If the status register is the destination...  */
@@ -2741,9 +2741,9 @@ msp430_operands (struct msp430_opcode_s * opcode, char * line)
                  ))
            {
              if (silicon_errata_fix & SILICON_ERRATA_CPU13)
-               as_bad (_("CPU13: SR is destinstion of SR altering instruction"));
+               as_bad (_("CPU13: SR is destination of SR altering instruction"));
              else if (silicon_errata_warn & SILICON_ERRATA_CPU13)
-               as_warn (_("CPU13: SR is destinstion of SR altering instruction"));
+               as_warn (_("CPU13: SR is destination of SR altering instruction"));
            }
          
          if (is_opcode ("clr") && bin == 0x4302 /* CLR R2*/)
@@ -2849,9 +2849,9 @@ msp430_operands (struct msp430_opcode_s * opcode, char * line)
                  ))
            {
              if (silicon_errata_fix & SILICON_ERRATA_CPU13)
-               as_bad (_("CPU13: SR is destinstion of SR altering instruction"));
+               as_bad (_("CPU13: SR is destination of SR altering instruction"));
              else if (silicon_errata_warn & SILICON_ERRATA_CPU13)
-               as_warn (_("CPU13: SR is destinstion of SR altering instruction"));
+               as_warn (_("CPU13: SR is destination of SR altering instruction"));
            }
          
          if (extended_op)
@@ -3410,9 +3410,9 @@ msp430_operands (struct msp430_opcode_s * opcode, char * line)
               || is_opcode ("bicx") || is_opcode ("bisx") || is_opcode ("movx")))
        {
          if (silicon_errata_fix & SILICON_ERRATA_CPU11)
-           as_bad (_("CPU11: PC is destinstion of SR altering instruction"));
+           as_bad (_("CPU11: PC is destination of SR altering instruction"));
          else if (silicon_errata_warn & SILICON_ERRATA_CPU11)
-           as_warn (_("CPU11: PC is destinstion of SR altering instruction"));
+           as_warn (_("CPU11: PC is destination of SR altering instruction"));
        }
          
       /* If the status register is the destination...  */
@@ -3427,9 +3427,9 @@ msp430_operands (struct msp430_opcode_s * opcode, char * line)
              ))
        {
          if (silicon_errata_fix & SILICON_ERRATA_CPU13)
-           as_bad (_("CPU13: SR is destinstion of SR altering instruction"));
+           as_bad (_("CPU13: SR is destination of SR altering instruction"));
          else if (silicon_errata_warn & SILICON_ERRATA_CPU13)
-           as_warn (_("CPU13: SR is destinstion of SR altering instruction"));
+           as_warn (_("CPU13: SR is destination of SR altering instruction"));
        }
          
       if (   (is_opcode ("bic") && bin == 0xc232)
@@ -3605,9 +3605,9 @@ msp430_operands (struct msp430_opcode_s * opcode, char * line)
          && (is_opcode ("rra") || is_opcode ("rrc") || is_opcode ("sxt")))
        {
          if (silicon_errata_fix & SILICON_ERRATA_CPU13)
-           as_bad (_("CPU13: SR is destinstion of SR altering instruction"));
+           as_bad (_("CPU13: SR is destination of SR altering instruction"));
          else if (silicon_errata_warn & SILICON_ERRATA_CPU13)
-           as_warn (_("CPU13: SR is destinstion of SR altering instruction"));
+           as_warn (_("CPU13: SR is destination of SR altering instruction"));
        }
          
       insn_length = (extended_op ? 2 : 0) + 2 + (op1.ol * 2);
index 4ba5d809711fe05fd028e881bf3a34dd3fe6e819..6f39c37a8cfafe3fc16536c3dc1581774a1a7b2a 100644 (file)
@@ -3030,7 +3030,7 @@ sh64_target_mach (void)
   return (sh64_abi == sh64_abi_64) ? bfd_mach_sh5 : 0;
 }
 
-/* This is MD_PCREL_FROM_SECTION, we we define so it is called instead of
+/* This is MD_PCREL_FROM_SECTION, we define so it is called instead of
    md_pcrel_from (in tc-sh.c).  */
 
 valueT
index 50db237f7140bd03f387ec80b85e29c4cbaa81b8..0953815cac3022923bf145bda0a64631c04fbf37 100644 (file)
@@ -2353,7 +2353,7 @@ tic4x_insn_check (tic4x_insn_t *tinsn)
       if (tinsn->operands[1].mode == M_REGISTER
          && tinsn->operands[tinsn->num_operands-1].mode == M_REGISTER
          && tinsn->operands[1].expr.X_add_number == tinsn->operands[tinsn->num_operands-1].expr.X_add_number )
-        as_warn (_("Equal parallell destination registers, one result will be discarded"));
+        as_warn (_("Equal parallel destination registers, one result will be discarded"));
     }
 }
 
index 608d72b7e0d496cc7504300e0a2f55d112df65de..325c3de362168d970cde1194d8cda9bb0b786053 100644 (file)
     #26             48  0x00000030  struct no name { ifd = -1, index = 1048575 }
 */
 \f
-/* Redefinition of of storage classes as an enumeration for better
+/* Redefinition of storage classes as an enumeration for better
    debugging.  */
 
 typedef enum sc {
index 554b4a3366f2e4f012f3351d4c8148f1cfd24f19..6fc207178264a21f86626386d44e26f34e825631 100644 (file)
@@ -1,7 +1,7 @@
 [^:]*: Assembler messages:
 [^:]*:5: Warning: destination register same as write-back base
-[^:]*:9: Error: ldr to register 15 must be 4-byte alligned -- `ldr r15,\[r15,#5\]'
-[^:]*:12: Error: ldr to register 15 must be 4-byte alligned -- `ldr r15,.-0xab7'
+[^:]*:9: Error: ldr to register 15 must be 4-byte aligned -- `ldr r15,\[r15,#5\]'
+[^:]*:12: Error: ldr to register 15 must be 4-byte aligned -- `ldr r15,.-0xab7'
 [^:]*:15: Warning: destination register same as write-back base
 [^:]*:16: Error: cannot use register index with PC-relative addressing -- `ldr r2,\[r15,r2\]!'
 [^:]*:19: Error: cannot use register index with PC-relative addressing -- `ldr r1,\[r1,r15\]'
index 95f420aad8f2130b92e23b58ab93ef0ac86e02b8..d83648b50778a5041ffed2627e7ab923f97a846d 100644 (file)
@@ -1,9 +1,9 @@
 [^:]*: Assembler messages:
 [^:]*:8: Error: registers may not be the same -- `ldr r1,\[r1,#5\]!'
-[^:]*:12: Error: ldr to register 15 must be 4-byte alligned -- `ldr r15,\[r15,#5\]'
+[^:]*:12: Error: ldr to register 15 must be 4-byte aligned -- `ldr r15,\[r15,#5\]'
 [^:]*:16: Error: branch must be last instruction in IT block -- `ldrge r15,\[r15,#4\]'
 [^:]*:25: Error: branch must be last instruction in IT block -- `ldrge r15,.0x4'
-[^:]*:30: Error: ldr to register 15 must be 4-byte alligned -- `ldr r15,.-0xab7'
+[^:]*:30: Error: ldr to register 15 must be 4-byte aligned -- `ldr r15,.-0xab7'
 [^:]*:36: Error: branch must be last instruction in IT block -- `ldrge r15,\[r15,r1\]'
 [^:]*:41: Error: r13 not allowed here -- `ldr r1,\[r2,r13\]'
 [^:]*:42: Error: r15 not allowed here -- `ldr r2,\[r2,r15\]'
index 52df6b95e31d671321295586ce92a2837ab61a2d..699274b00232e7b7ee809ac9cc8ab357b61e24b8 100644 (file)
@@ -6,39 +6,39 @@
 [^:]*:13: Warning: CPU8: Stack pointer accessed with an odd offset
 [^:]*:14: Warning: CPU8: Stack pointer accessed with an odd offset
 [^:]*:15: Warning: CPU8: Stack pointer accessed with an odd offset
-[^:]*:18: Warning: CPU11: PC is destinstion of SR altering instruction
-[^:]*:19: Warning: CPU11: PC is destinstion of SR altering instruction
-[^:]*:20: Warning: CPU11: PC is destinstion of SR altering instruction
-[^:]*:21: Warning: CPU12: CMP/BIT with PC destinstion ignores next instruction
-[^:]*:21: Warning: CPU11: PC is destinstion of SR altering instruction
-[^:]*:22: Warning: CPU11: PC is destinstion of SR altering instruction
-[^:]*:23: Warning: CPU11: PC is destinstion of SR altering instruction
-[^:]*:24: Warning: CPU11: PC is destinstion of SR altering instruction
-[^:]*:25: Warning: CPU11: PC is destinstion of SR altering instruction
-[^:]*:26: Warning: CPU11: PC is destinstion of SR altering instruction
-[^:]*:30: Warning: CPU11: PC is destinstion of SR altering instruction
-[^:]*:31: Warning: CPU12: CMP/BIT with PC destinstion ignores next instruction
-[^:]*:31: Warning: CPU11: PC is destinstion of SR altering instruction
-[^:]*:34: Warning: CPU12: CMP/BIT with PC destinstion ignores next instruction
-[^:]*:34: Warning: CPU13: SR is destinstion of SR altering instruction
-[^:]*:35: Warning: CPU13: SR is destinstion of SR altering instruction
-[^:]*:36: Warning: CPU13: SR is destinstion of SR altering instruction
-[^:]*:37: Warning: CPU13: SR is destinstion of SR altering instruction
-[^:]*:38: Warning: CPU13: SR is destinstion of SR altering instruction
-[^:]*:39: Warning: CPU13: SR is destinstion of SR altering instruction
-[^:]*:40: Warning: CPU13: SR is destinstion of SR altering instruction
-[^:]*:41: Warning: CPU13: SR is destinstion of SR altering instruction
-[^:]*:42: Warning: CPU13: SR is destinstion of SR altering instruction
-[^:]*:43: Warning: CPU13: SR is destinstion of SR altering instruction
-[^:]*:44: Warning: CPU13: SR is destinstion of SR altering instruction
-[^:]*:45: Warning: CPU13: SR is destinstion of SR altering instruction
-[^:]*:46: Warning: CPU13: SR is destinstion of SR altering instruction
-[^:]*:47: Warning: CPU13: SR is destinstion of SR altering instruction
-[^:]*:48: Warning: CPU13: SR is destinstion of SR altering instruction
-[^:]*:49: Warning: CPU13: SR is destinstion of SR altering instruction
-[^:]*:50: Warning: CPU13: SR is destinstion of SR altering instruction
-[^:]*:51: Warning: CPU13: SR is destinstion of SR altering instruction
-[^:]*:52: Warning: CPU13: SR is destinstion of SR altering instruction
+[^:]*:18: Warning: CPU11: PC is destination of SR altering instruction
+[^:]*:19: Warning: CPU11: PC is destination of SR altering instruction
+[^:]*:20: Warning: CPU11: PC is destination of SR altering instruction
+[^:]*:21: Warning: CPU12: CMP/BIT with PC destination ignores next instruction
+[^:]*:21: Warning: CPU11: PC is destination of SR altering instruction
+[^:]*:22: Warning: CPU11: PC is destination of SR altering instruction
+[^:]*:23: Warning: CPU11: PC is destination of SR altering instruction
+[^:]*:24: Warning: CPU11: PC is destination of SR altering instruction
+[^:]*:25: Warning: CPU11: PC is destination of SR altering instruction
+[^:]*:26: Warning: CPU11: PC is destination of SR altering instruction
+[^:]*:30: Warning: CPU11: PC is destination of SR altering instruction
+[^:]*:31: Warning: CPU12: CMP/BIT with PC destination ignores next instruction
+[^:]*:31: Warning: CPU11: PC is destination of SR altering instruction
+[^:]*:34: Warning: CPU12: CMP/BIT with PC destination ignores next instruction
+[^:]*:34: Warning: CPU13: SR is destination of SR altering instruction
+[^:]*:35: Warning: CPU13: SR is destination of SR altering instruction
+[^:]*:36: Warning: CPU13: SR is destination of SR altering instruction
+[^:]*:37: Warning: CPU13: SR is destination of SR altering instruction
+[^:]*:38: Warning: CPU13: SR is destination of SR altering instruction
+[^:]*:39: Warning: CPU13: SR is destination of SR altering instruction
+[^:]*:40: Warning: CPU13: SR is destination of SR altering instruction
+[^:]*:41: Warning: CPU13: SR is destination of SR altering instruction
+[^:]*:42: Warning: CPU13: SR is destination of SR altering instruction
+[^:]*:43: Warning: CPU13: SR is destination of SR altering instruction
+[^:]*:44: Warning: CPU13: SR is destination of SR altering instruction
+[^:]*:45: Warning: CPU13: SR is destination of SR altering instruction
+[^:]*:46: Warning: CPU13: SR is destination of SR altering instruction
+[^:]*:47: Warning: CPU13: SR is destination of SR altering instruction
+[^:]*:48: Warning: CPU13: SR is destination of SR altering instruction
+[^:]*:49: Warning: CPU13: SR is destination of SR altering instruction
+[^:]*:50: Warning: CPU13: SR is destination of SR altering instruction
+[^:]*:51: Warning: CPU13: SR is destination of SR altering instruction
+[^:]*:52: Warning: CPU13: SR is destination of SR altering instruction
 [^:]*:56: Warning: CPU19: Instruction setting CPUOFF must be followed by a NOP
 [^:]*:57: Warning: CPU19: Instruction setting CPUOFF must be followed by a NOP
-[^:]*:57: Warning: CPU13: SR is destinstion of SR altering instruction
+[^:]*:57: Warning: CPU13: SR is destination of SR altering instruction
index 3e1e84ba799d24c0cb124e4e4f3de255972eabc7..99b358ddea92c3e0d76c782fe58d0c818a252113 100644 (file)
@@ -119,7 +119,7 @@ _opcodes:
        ld      #7,arp          \r
        ld      *ar2+,asm       \r
        ldm     ar3,a           \r
-       ld      *ar2+,a || mac  *ar3+,b ; single-line parallell\r
+       ld      *ar2+,a || mac  *ar3+,b ; single-line parallel\r
        ld      *ar4+,b || macr *ar5+,a ; with optional DST_ specified\r
        ld      *ar2+,a                 ; double-line parallel\r
        || mas  *ar3+           \r
index 8d64ea66d025f3823f3ad83d7c4807171679e5e0..0dc39722ad25dd36bc5401dae873bc13747316e4 100644 (file)
@@ -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/.
index 696df19dca1c7d51ce0099f0e05d28ae3d82c565..58c744967a5264dac25bcfc36fbebe96086eb0ef 100644 (file)
@@ -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_;
 };
 
index ff472eaa747be090912066682d1a5f2e9585d473..f887fe558b8de05755ef44f355aabb8e07a92c39 100644 (file)
@@ -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.
index bb13d7136e512200ef6460736d2105bf7e24c9ab..963ae523ca8300e5327d715cb6a688ad4b33e028 100644 (file)
@@ -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
index a046bbee33f7ed127bd064a00852fd0ced22b191..fcbf177956ba7ea60c14c1e7499c4bce3cc3c940 100644 (file)
@@ -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; }
index 7f1742dd5f69faf23e62d4ce29194fa75413c67d..da5087faad847db3886c55a7052604f755c8b5c7 100644 (file)
@@ -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);
index 3203836ce812564d174d06f4f00fd4b8ba79c2e3..cecaa88cab2bdc9e389404d5b85454e663a89008 100644 (file)
@@ -1,3 +1,15 @@
+2017-07-18  Nick Clifton  <nickc@redhat.com>
+
+       PR 21775
+       * aout/adobe.h: Fix spelling typos.
+       * aout/aout64.h: Likewise.
+       * aout/hp300hpux.h: Likewise.
+       * elf/hppa.h: Likewise.
+       * gdb/remote-sim.h: Likewise.
+       * libiberty.h: Likewise.
+       * mach-o/arm.h: Likewise.
+       * opcode/v850.h: Likewise.
+
 2017-07-14  Ravi Bangoria  <ravi.bangoria@linux.vnet.ibm.com>
 
        * dis-asm.h (struct disassemble_info): Change type of buffer_length
index 9c26794e1a22293e2a3a747f7b6bae38434b3418..5e6cc8b19c0b0fe7f21efff66bb1f43db76dbda2 100644 (file)
 
 /* Struct external_exec is the same.  */
 
-/* This is the layout on disk of the 32-bit or 64-bit exec header. */
+/* This is the layout on disk of the 32-bit or 64-bit exec header.  */
 
 struct external_exec 
 {
-  bfd_byte e_info[4];          /* magic number and stuff               */
-  bfd_byte e_text[BYTES_IN_WORD]; /* length of text section in bytes   */
-  bfd_byte e_data[BYTES_IN_WORD]; /* length of data section in bytes   */
-  bfd_byte e_bss[BYTES_IN_WORD]; /* length of bss area in bytes        */
-  bfd_byte e_syms[BYTES_IN_WORD]; /* length of symbol table in bytes   */
-  bfd_byte e_entry[BYTES_IN_WORD]; /* start address                    */
-  bfd_byte e_trsize[BYTES_IN_WORD]; /* length of text relocation info  */
-  bfd_byte e_drsize[BYTES_IN_WORD]; /* length of data relocation info  */
+  bfd_byte e_info[4];              /* Magic number and stuff.  */
+  bfd_byte e_text[BYTES_IN_WORD];   /* Length of text section in bytes.  */
+  bfd_byte e_data[BYTES_IN_WORD];   /* Length of data section in bytes.  */
+  bfd_byte e_bss[BYTES_IN_WORD];    /* Length of bss area in bytes.  */
+  bfd_byte e_syms[BYTES_IN_WORD];   /* Length of symbol table in bytes.  */
+  bfd_byte e_entry[BYTES_IN_WORD];  /* Start address.  */
+  bfd_byte e_trsize[BYTES_IN_WORD]; /* Length of text relocation info.  */
+  bfd_byte e_drsize[BYTES_IN_WORD]; /* Length of data relocation info.  */
 };
 
 #define        EXEC_BYTES_SIZE (4 + BYTES_IN_WORD * 7)
 
-/* Magic numbers for a.out files */
+/* Magic numbers for a.out files */
 
 #undef ZMAGIC
 #define        ZMAGIC  0xAD0BE         /* Cute, eh?  */
@@ -63,18 +63,20 @@ struct external_exec
    The actual text of the segments starts at N_TXTOFF in the file,
    regardless of how many or how few segment headers there are.  */
 
-struct external_segdesc {
-       unsigned char e_type[1];
-       unsigned char e_size[3];
-       unsigned char e_virtbase[4];
-       unsigned char e_filebase[4];
+struct external_segdesc
+{
+  unsigned char e_type[1];
+  unsigned char e_size[3];
+  unsigned char e_virtbase[4];
+  unsigned char e_filebase[4];
 };
 
-struct internal_segdesc {
-       unsigned int    a_type:8;       /* Segment type N_TEXT, N_DATA, 0 */
-       unsigned int    a_size:24;      /* Segment size */
-       bfd_vma         a_virtbase;     /* Virtual address */
-       unsigned int    a_filebase;     /* Base address in object file */
+struct internal_segdesc
+{
+  unsigned int a_type:8;       /* Segment type N_TEXT, N_DATA, 0.  */
+  unsigned int         a_size:24;      /* Segment size.  */
+  bfd_vma      a_virtbase;     /* Virtual address.  */
+  unsigned int a_filebase;     /* Base address in object file.  */
 };
 
 #define N_TXTADDR(x) is_this_really_unused?
@@ -97,41 +99,43 @@ struct internal_segdesc {
 #define N_SYMOFF(x)    ( N_DRELOFF(x) + (x)->a_drsize )
 #define N_STROFF(x)    ( N_SYMOFF(x) + (x)->a_syms )
 \f
-/* Symbols */
-struct external_nlist {
-  bfd_byte e_strx[BYTES_IN_WORD];      /* index into string table of name */
-  bfd_byte e_type[1];                  /* type of symbol */
-  bfd_byte e_other[1];                 /* misc info (usually empty) */
-  bfd_byte e_desc[2];                  /* description field */
-  bfd_byte e_value[BYTES_IN_WORD];     /* value of symbol */
+/* Symbols.  */
+struct external_nlist
+{
+  bfd_byte e_strx[BYTES_IN_WORD];      /* Index into string table of name.  */
+  bfd_byte e_type[1];                  /* Type of symbol.  */
+  bfd_byte e_other[1];                 /* Misc info (usually empty).  */
+  bfd_byte e_desc[2];                  /* Description field.  */
+  bfd_byte e_value[BYTES_IN_WORD];     /* Value of symbol.  */
 };
 
 #define EXTERNAL_NLIST_SIZE (BYTES_IN_WORD+4+BYTES_IN_WORD)
 
-struct internal_nlist {
-  unsigned long n_strx;                        /* index into string table of name */
-  unsigned char n_type;                        /* type of symbol */
-  unsigned char n_other;               /* misc info (usually empty) */
-  unsigned short n_desc;               /* description field */
-  bfd_vma n_value;                     /* value of symbol */
+struct internal_nlist
+{
+  unsigned long n_strx;                        /* Index into string table of name.  */
+  unsigned char n_type;                        /* Type of symbol.  */
+  unsigned char n_other;               /* Misc info (usually empty).  */
+  unsigned short n_desc;               /* Description field.  */
+  bfd_vma n_value;                     /* Value of symbol.  */
 };
 
 /* The n_type field is the symbol type, containing:  */
 
-#define N_UNDF 0       /* Undefined symbol */
-#define N_ABS  2       /* Absolute symbol -- defined at particular addr */
-#define N_TEXT         4       /* Text sym -- defined at offset in text seg */
-#define N_DATA         6       /* Data sym -- defined at offset in data seg */
-#define N_BSS  8       /* BSS  sym -- defined at offset in zero'd seg */
-#define        N_COMM  0x12    /* Common symbol (visible after shared lib dynlink) */
-#define N_FN   0x1f    /* File name of .o file */
-#define        N_FN_SEQ 0x0C   /* N_FN from Sequent compilers (sigh) */
+#define N_UNDF 0       /* Undefined symbol */
+#define N_ABS  2       /* Absolute symbol -- defined at particular addr */
+#define N_TEXT         4       /* Text sym -- defined at offset in text seg */
+#define N_DATA         6       /* Data sym -- defined at offset in data seg */
+#define N_BSS  8       /* BSS  sym -- defined at offset in zero'd seg */
+#define        N_COMM  0x12    /* Common symbol (visible after shared lib dynlink) */
+#define N_FN   0x1f    /* File name of .o file */
+#define        N_FN_SEQ 0x0C   /* N_FN from Sequent compilers (sigh) */
 /* Note: N_EXT can only be usefully OR-ed with N_UNDF, N_ABS, N_TEXT,
    N_DATA, or N_BSS.  When the low-order bit of other types is set,
    (e.g. N_WARNING versus N_FN), they are two different types.  */
-#define N_EXT  1       /* External symbol (as opposed to local-to-this-file) */
+#define N_EXT  1       /* External symbol (as opposed to local-to-this-file) */
 #define N_TYPE  0x1e
-#define N_STAB         0xe0    /* If any of these bits are on, it's a debug symbol */
+#define N_STAB         0xe0    /* If any of these bits are on, it's a debug symbol */
 
 #define N_INDR 0x0a
 
@@ -147,10 +151,10 @@ struct internal_nlist {
    in that it can satisfy undefined external references.  */
 
 /* These appear as input to LD, in a .o file.  */
-#define        N_SETA  0x14            /* Absolute set element symbol */
-#define        N_SETT  0x16            /* Text set element symbol */
-#define        N_SETD  0x18            /* Data set element symbol */
-#define        N_SETB  0x1A            /* Bss set element symbol */
+#define        N_SETA  0x14            /* Absolute set element symbol */
+#define        N_SETT  0x16            /* Text set element symbol */
+#define        N_SETD  0x18            /* Data set element symbol */
+#define        N_SETB  0x1A            /* Bss set element symbol */
 
 /* This is output from LD.  */
 #define N_SETV 0x1C            /* Pointer to set vector in data area.  */
@@ -170,25 +174,25 @@ struct internal_nlist {
   instructions. Eg, on the 68k, each move instruction can reference
   the target with a displacement of 16 or 32 bits. On the sparc, move
   instructions use an offset of 14 bits, so the offset is stored in
-  the reloc field, and the data in the section is ignored.
-*/
+  the reloc field, and the data in the section is ignored.  */
 
 /* This structure describes a single relocation to be performed.
    The text-relocation section of the file is a vector of these structures,
    all of which apply to the text section.
    Likewise, the data-relocation section applies to the data section.  */
 
-struct reloc_std_external {
-  bfd_byte r_address[BYTES_IN_WORD];   /* offset of of data to relocate */
-  bfd_byte r_index[3]; /* symbol table index of symbol         */
-  bfd_byte r_type[1];  /* relocation type                      */
+struct reloc_std_external
+{
+  bfd_byte r_address[BYTES_IN_WORD];   /* Offset of data to relocate.  */
+  bfd_byte r_index[3];                 /* Symbol table index of symbol.  */
+  bfd_byte r_type[1];                  /* Relocation type.  */
 };
 
 #define        RELOC_STD_BITS_PCREL_BIG        0x80
 #define        RELOC_STD_BITS_PCREL_LITTLE     0x01
 
 #define        RELOC_STD_BITS_LENGTH_BIG       0x60
-#define        RELOC_STD_BITS_LENGTH_SH_BIG    5       /* To shift to units place */
+#define        RELOC_STD_BITS_LENGTH_SH_BIG    5       /* To shift to units place */
 #define        RELOC_STD_BITS_LENGTH_LITTLE    0x06
 #define        RELOC_STD_BITS_LENGTH_SH_LITTLE 1
 
@@ -204,7 +208,7 @@ struct reloc_std_external {
 #define        RELOC_STD_BITS_RELATIVE_BIG     0x02
 #define        RELOC_STD_BITS_RELATIVE_LITTLE  0x02
 
-#define        RELOC_STD_SIZE  (BYTES_IN_WORD + 3 + 1)         /* Bytes per relocation entry */
+#define        RELOC_STD_SIZE  (BYTES_IN_WORD + 3 + 1)         /* Bytes per relocation entry */
 
 struct reloc_std_internal
 {
@@ -227,21 +231,22 @@ struct reloc_std_internal
   unsigned int r_extern:1;
   /* The next three bits are for SunOS shared libraries, and seem to
      be undocumented.  */
-  unsigned int r_baserel:1;    /* Linkage table relative */
-  unsigned int r_jmptable:1;   /* pc-relative to jump table */
-  unsigned int r_relative:1;   /* "relative relocation" */
+  unsigned int r_baserel:1;    /* Linkage table relative */
+  unsigned int r_jmptable:1;   /* pc-relative to jump table */
+  unsigned int r_relative:1;   /* "relative relocation" */
   /* unused */
-  unsigned int r_pad:1;                /* Padding -- set to zero */
+  unsigned int r_pad:1;                /* Padding -- set to zero */
 };
 
 
 /* EXTENDED RELOCS  */
 
-struct reloc_ext_external {
-  bfd_byte r_address[BYTES_IN_WORD];   /* offset of of data to relocate        */
-  bfd_byte r_index[3]; /* symbol table index of symbol         */
-  bfd_byte r_type[1];  /* relocation type                      */
-  bfd_byte r_addend[BYTES_IN_WORD];    /* datum addend                         */
+struct reloc_ext_external
+{
+  bfd_byte r_address[BYTES_IN_WORD];   /* Offset of data to relocate.  */
+  bfd_byte r_index[3];                 /* Symbol table index of symbol.  */
+  bfd_byte r_type[1];                  /* Relocation type.  */
+  bfd_byte r_addend[BYTES_IN_WORD];    /* Datum addend.  */
 };
 
 #define        RELOC_EXT_BITS_EXTERN_BIG       0x80
@@ -257,15 +262,15 @@ struct reloc_ext_external {
 
 enum reloc_type
 {
-  /* simple relocations */
+  /* Simple relocations.  */
   RELOC_8,                     /* data[0:7] = addend + sv              */
   RELOC_16,                    /* data[0:15] = addend + sv             */
   RELOC_32,                    /* data[0:31] = addend + sv             */
-  /* pc-rel displacement */
+  /* PC-rel displacement.  */
   RELOC_DISP8,                 /* data[0:7] = addend - pc + sv         */
   RELOC_DISP16,                        /* data[0:15] = addend - pc + sv        */
   RELOC_DISP32,                        /* data[0:31] = addend - pc + sv        */
-  /* Special */
+  /* Special */
   RELOC_WDISP30,               /* data[0:29] = (addend + sv - pc)>>2   */
   RELOC_WDISP22,               /* data[0:21] = (addend + sv - pc)>>2   */
   RELOC_HI22,                  /* data[0:21] = (addend + sv)>>10       */
@@ -274,16 +279,16 @@ enum reloc_type
   RELOC_LO10,                  /* data[0:9] = (addend + sv)            */
   RELOC_SFA_BASE,              
   RELOC_SFA_OFF13,
-  /* P.I.C. (base-relative) */
-  RELOC_BASE10,                /* Not sure - maybe we can do this the */
-  RELOC_BASE13,                        /* right way now */
+  /* P.I.C. (base-relative) */
+  RELOC_BASE10,                /* Not sure - maybe we can do this the  */
+  RELOC_BASE13,                        /* right way now */
   RELOC_BASE22,
-  /* for some sort of pc-rel P.I.C. (?) */
+  /* For some sort of pc-rel P.I.C. (?)  */
   RELOC_PC10,
   RELOC_PC22,
-  /* P.I.C. jump table */
+  /* P.I.C. jump table */
   RELOC_JMP_TBL,
-  /* reputedly for shared libraries somehow */
+  /* Reputedly for shared libraries somehow.  */
   RELOC_SEGOFF16,
   RELOC_GLOB_DAT,
   RELOC_JMP_SLOT,
@@ -301,14 +306,14 @@ enum reloc_type
   RELOC_CONSTH,
   
   NO_RELOC
-  };
-
+};
 
-struct reloc_internal {
-  bfd_vma r_address;           /* offset of of data to relocate        */
-  long r_index;                /* symbol table index of symbol         */
-  enum reloc_type r_type;      /* relocation type                      */
-  bfd_vma r_addend;            /* datum addend                         */
+struct reloc_internal
+{
+  bfd_vma r_address;           /* Offset of data to relocate.  */
+  long r_index;                /* Symbol table index of symbol.  */
+  enum reloc_type r_type;      /* Relocation type.  */
+  bfd_vma r_addend;            /* Datum addend.  */
 };
 
-#endif                         /* __A_OUT_ADOBE_H__ */
+#endif /* __A_OUT_ADOBE_H__ */
index 6858ada27894de63f8982f87ab7337d0d35d2358..8c4ce3df6927194fe3edc76b2424148d31f7b5d5 100644 (file)
@@ -346,7 +346,7 @@ struct internal_nlist
 
 struct reloc_std_external
 {
-  bfd_byte r_address[BYTES_IN_WORD];   /* Offset of of data to relocate.  */
+  bfd_byte r_address[BYTES_IN_WORD];   /* Offset of data to relocate.  */
   bfd_byte r_index[3];                 /* Symbol table index of symbol.  */
   bfd_byte r_type[1];                  /* Relocation type.  */
 };
@@ -406,7 +406,7 @@ struct reloc_std_internal
 
 struct reloc_ext_external
 {
-  bfd_byte r_address[BYTES_IN_WORD];   /* Offset of of data to relocate.  */
+  bfd_byte r_address[BYTES_IN_WORD];   /* Offset of data to relocate.  */
   bfd_byte r_index[3];                 /* Symbol table index of symbol.  */
   bfd_byte r_type[1];                  /* Relocation type.  */
   bfd_byte r_addend[BYTES_IN_WORD];    /* Datum addend.  */
@@ -501,7 +501,7 @@ enum reloc_type
 
 struct reloc_internal
 {
-  bfd_vma r_address;           /* Offset of of data to relocate.  */
+  bfd_vma r_address;           /* Offset of data to relocate.  */
   long r_index;                /* Symbol table index of symbol.  */
   enum reloc_type r_type;      /* Relocation type.  */
   bfd_vma r_addend;            /* Datum addend.  */
index b4fb000c9f1f1feb9b887c1443dd37bcc92fcd2b..6187a0ee0e850fd9a81babb1ee5d3a97e5920117 100644 (file)
@@ -38,47 +38,47 @@ struct hp300hpux_exec_bytes
 #define        EXEC_BYTES_SIZE 64
 
 struct hp300hpux_nlist_bytes
-  {
-    unsigned char e_value[4];
-    unsigned char e_type[1];
-    unsigned char e_length[1]; /* length of ascii symbol name */
-    unsigned char e_almod[2];  /* alignment mod */
-    unsigned char e_shlib[2];   /* info about dynamic linking */
-  };
+{
+  unsigned char e_value[4];
+  unsigned char e_type[1];
+  unsigned char e_length[1];   /* Length of ascii symbol name.  */
+  unsigned char e_almod[2];    /* Alignment mod.  */
+  unsigned char e_shlib[2];    /* Info about dynamic linking.  */
+};
 #define EXTERNAL_NLIST_SIZE 10
 
 struct hp300hpux_reloc
-  {
-    unsigned char r_address[4];/* offset of of data to relocate */
-    unsigned char r_index[2];  /* symbol table index of symbol         */
-    unsigned char r_type[1];   /* relocation type                      */
-    unsigned char r_length[1]; /* length of item to reloc              */
-  };
+{
+  unsigned char r_address[4];/* offset of data to relocate */
+  unsigned char r_index[2];  /* symbol table index of symbol         */
+  unsigned char r_type[1];   /* relocation type                      */
+  unsigned char r_length[1]; /* length of item to reloc              */
+};
 
 struct hp300hpux_header_extension
 {
-    unsigned char e_syms[4];
-    unsigned char unique_headers[12*4];
-    unsigned char e_header[2];   /* type of header */
-    unsigned char e_version[2];  /* version        */
-    unsigned char e_size[4];     /* bytes following*/
-    unsigned char e_extension[4];/* file offset of next extension */
+  unsigned char e_syms[4];
+  unsigned char unique_headers[12*4];
+  unsigned char e_header[2];   /* Type of header.  */
+  unsigned char e_version[2];  /* Version.  */
+  unsigned char e_size[4];     /* Bytes following.  */
+  unsigned char e_extension[4];/* File offset of next extension.  */
 };
 #define EXTERNAL_EXTENSION_HEADER_SIZE (16*4)
 
-/* hpux separates object files (0x106) and impure executables (0x107)  */
-/* but the bfd code does not distinguish between them. Since we want to*/
-/* read hpux .o files, we add an special define and use it below in    */
-/* offset and address calculations.                                    */
+/* HPUX separates object files (0x106) and impure executables (0x107)
+   but the bfd code does not distinguish between them. Since we want to
+   read hpux .o files, we add an special define and use it below in
+   offset and address calculations.  */
 
 #define HPUX_DOT_O_MAGIC 0x106
-#define OMAGIC 0x107       /* object file or impure executable.  */
+#define OMAGIC 0x107       /* Object file or impure executable.  */
 #define NMAGIC 0x108       /* Code indicating pure executable.   */
-#define ZMAGIC 0x10B       /* demand-paged executable.           */
+#define ZMAGIC 0x10B       /* Demand-paged executable.           */
 
 #define N_HEADER_IN_TEXT(x) 0
 
-#if 0 /* libaout.h only uses the lower 8 bits */
+#if 0 /* libaout.h only uses the lower 8 bits */
 #define HP98x6_ID 0x20A
 #define HP9000S200_ID 0x20C
 #endif
@@ -121,7 +121,7 @@ struct hp300hpux_header_extension
 #define N_EXTHOFF(x)    ( N_DRELOFF(x)   /*  + (x)->a_drsize */)
 #define N_STROFF(x)    ( 0 /* no string table */ )
 
-/* use these when the file has gnu symbol tables */
+/* Use these when the file has gnu symbol tables.  */
 #define N_GNU_TRELOFF(x) (N_DATOFF(x) + (x)->a_data)
 #define N_GNU_DRELOFF(x) (N_GNU_TRELOFF(x) + (x)->a_trsize)
 #define N_GNU_SYMOFF(x)  (N_GNU_DRELOFF(x) + (x)->a_drsize)
index 77822ccbf5317824d086ac4dc904bf3646d119fc..99beb42084014ae746458963c3c7763f3e91e927 100644 (file)
@@ -138,7 +138,7 @@ RELOC_NUMBER (R_PARISC_DIR14F,               7)
    When supporting argument relocations, function calls must be
    accompanied by parameter relocation information.  This information is
    carried in the ten high-order bits of the addend field.  The remaining
-   22 bits of of the addend field are sign-extended to form the Addend.
+   22 bits of the addend field are sign-extended to form the Addend.
 
    Note the code to build argument relocations depends on the
    addend being zero.  A consequence of this limitation is GAS
index 9b8d3dc9c882ef01fbdd518a40b4800d0642acab..9af0310a259f84029ac52329ddb69f0ea0247201 100644 (file)
@@ -261,7 +261,7 @@ int sim_stop (SIM_DESC sd);
    that information is not directly accessable via this interface.
 
    SIM_SIGNALLED: The program has been terminated by a signal. The
-   simulator has encountered target code that causes the the program
+   simulator has encountered target code that causes the program
    to exit with signal SIGRC.
 
    SIM_RUNNING, SIM_POLLING: The return of one of these values
index 7a796124bf5932afcb34415f6b37314fd2aeb33d..0b6ef453e3bd7598a5050eb3a0ae644a726d137d 100644 (file)
@@ -3,7 +3,7 @@
    Copyright (C) 1997-2017 Free Software Foundation, Inc.
    
    Note - certain prototypes declared in this header file are for
-   functions whoes implementation copyright does not belong to the
+   functions whose implementation copyright does not belong to the
    FSF.  Those prototypes are present in this file for reference
    purposes only and their presence in this file should not construed
    as an indication of ownership by the FSF of the implementation of
index a2f2962b09ab943d4db68914863c068dab5dfdbd..fd118a8c10b7ea4ebca35e686f428db902accc48 100644 (file)
@@ -24,7 +24,7 @@
 /* ARM relocations.  */
 #define BFD_MACH_O_ARM_RELOC_VANILLA   0 /* Generic relocation.  */
 #define BFD_MACH_O_ARM_RELOC_PAIR      1 /* Second entry in a pair.  */
-#define BFD_MACH_O_ARM_RELOC_SECTDIFF  2 /* Substract with a PAIR.  */
+#define BFD_MACH_O_ARM_RELOC_SECTDIFF  2 /* Subtract with a PAIR.  */
 #define BFD_MACH_O_ARM_RELOC_LOCAL_SECTDIFF 3 /* Like above, but local ref.  */
 #define BFD_MACH_O_ARM_RELOC_PB_LA_PTR 4 /* Prebound lazy pointer.  */
 #define BFD_MACH_O_ARM_RELOC_BR24      5 /* 24bit branch.  */
index b20ef10e29401a0347278c1df46e4f170fe5108a..31f96d8a09311a6542be41c4fc13ec4175385dd6 100644 (file)
@@ -230,10 +230,10 @@ extern const struct v850_operand v850_operands[];
 /* The operand has '%' prefix.  */
 #define V850_OPERAND_PERCENT   0x200000
 
-/* This operand is a cache oparation.  */
+/* This operand is a cache operation.  */
 #define V850_OPERAND_CACHEOP   0x400000
 
-/* This operand is a prefetch oparation.  */
+/* This operand is a prefetch operation.  */
 #define V850_OPERAND_PREFOP    0x800000
 
 /* A PC-relative displacement where a positive value indicates a backwards displacement.  */
index ba03ae40cc3ca22e164575400d9187280e3cd615..23babe3f66ed346ba4c42e4b5e02f0d8c9cf964f 100644 (file)
@@ -1,3 +1,9 @@
+2017-07-18  Nick Clifton  <nickc@redhat.com>
+
+       PR 21775
+       * ld.texinfo: Fix spelling typos.
+       * testsuite/ld-elfcomm/elfcomm.exp: Likewise.
+
 2017-07-17  H.J. Lu  <hongjiu.lu@intel.com>
 
        * testsuite/ld-i386/i386.exp: Run pie1 and pie1-nacl.
index bb5f71927c278f3442b40668a0e3da3ff4edf162..987816f33cf29e585b353a8cb557831c690776df 100644 (file)
@@ -7888,7 +7888,7 @@ application will behave unexpectedly.
 @code{PRIVATE}: Put the symbol in the DLL's export table, but do not put
 it into the static import library used to resolve imports at link time. The
 symbol can still be imported using the @code{LoadLibrary/GetProcAddress}
-API at runtime or by by using the GNU ld extension of linking directly to
+API at runtime or by using the GNU ld extension of linking directly to
 the DLL without an import library.
 
 See ld/deffilep.y in the binutils sources for the full specification of
index da33768525ec1c1bdcfeddff6fa6928117e093cf..83fa8ef8f268eab0e26a0dd6a2795ecff46afcc4 100644 (file)
@@ -101,7 +101,7 @@ proc test_sort_common {} {
 
 test_sort_common
 
-set test1      "size/aligment change of common symbols"
+set test1      "size/alignment change of common symbols"
 set test1w1    "$test1 (warning 1)"
 set test1w2    "$test1 (warning 2)"
 set test1c1    "$test1 (change 1)"
index caeeee7fb9f256871ad2add9524d1047f68dad81..c01397492ac3e77a376c05ea8ee4c49885cf504b 100644 (file)
@@ -1,3 +1,9 @@
+2017-07-18  Nick Clifton  <nickc@redhat.com>
+
+       PR 21775
+       * aarch64-opc.c: Fix spelling typos.
+       * i386-dis.c: Likewise.
+
 2017-07-14  Ravi Bangoria  <ravi.bangoria@linux.vnet.ibm.com>
 
        * dis-buf.c (buffer_read_memory): Change type of end_addr_offset,
index a47a754fff2bcf9389e1241b0213ac545e17a400..27c1d0908076a7548669dfbb4b4265060a78b320 100644 (file)
@@ -3050,7 +3050,7 @@ aarch64_print_operand (char *buf, size_t size, bfd_vma pc,
     case AARCH64_OPND_PAIRREG:
     case AARCH64_OPND_SVE_Rm:
       /* The optional-ness of <Xt> in e.g. IC <ic_op>{, <Xt>} is determined by
-        the <ic_op>, therefore we we use opnd->present to override the
+        the <ic_op>, therefore we use opnd->present to override the
         generic optional-ness information.  */
       if (opnd->type == AARCH64_OPND_Rt_SYS)
        {
index e95311e1017f264b8fb2eb0d5cedd49bc475de29..a3ce08d3084a19a905a0ee26679e5de18baa4fcc 100644 (file)
@@ -6957,7 +6957,7 @@ static const struct dis386 x86_64_table[][2] = {
 
   /* X86_64_82 */
   {
-    /* Opcode 0x82 is an alias of of opcode 0x80 in 32-bit mode.  */
+    /* Opcode 0x82 is an alias of opcode 0x80 in 32-bit mode.  */
     { REG_TABLE (REG_80) },
   },