Fix spelling in comments in C source files (binutils)
authorAmbrogino Modigliani <ambrogino.modigliani@gmail.com>
Fri, 25 Nov 2016 20:01:40 +0000 (21:01 +0100)
committerAlan Modra <amodra@gmail.com>
Sun, 27 Nov 2016 04:30:23 +0000 (15:00 +1030)
* dwarf.c: Fix spelling in comments.
* dwarf.h: Fix spelling in comments.
* objcopy.c: Fix spelling in comments.
* od-macho.c: Fix spelling in comments.
* rclex.c: Fix spelling in comments.
* readelf.c: Fix spelling in comments.
* stabs.c: Fix spelling in comments.

binutils/ChangeLog
binutils/dwarf.c
binutils/dwarf.h
binutils/objcopy.c
binutils/od-macho.c
binutils/rclex.c
binutils/readelf.c
binutils/stabs.c

index f625a268bc137de947663bf59a6d739efd70a6ee..b0ea872da2fb78afac29d0dd0ae71cd4aa466b5a 100644 (file)
@@ -1,3 +1,13 @@
+2016-11-27  Ambrogino Modigliani  <ambrogino.modigliani@gmail.com>
+
+       * dwarf.c: Fix spelling in comments.
+       * dwarf.h: Fix spelling in comments.
+       * objcopy.c: Fix spelling in comments.
+       * od-macho.c: Fix spelling in comments.
+       * rclex.c: Fix spelling in comments.
+       * readelf.c: Fix spelling in comments.
+       * stabs.c: Fix spelling in comments.
+
 2016-11-23  Nick Clifton  <nickc@redhat.com>
 
        PR ld/20815
index fee6a605e71d452fcb3166b7dac166b548b0b65b..66ad1fd2659d0c8e693b7d35322bffae2a9e6e4b 100644 (file)
@@ -200,7 +200,7 @@ dwarf_vmatoa_1 (const char *fmtch, dwarf_vma value, unsigned num_bytes)
 
   if (num_bytes)
     {
-      /* Printf does not have a way of specifiying a maximum field width for an
+      /* Printf does not have a way of specifying a maximum field width for an
         integer value, so we print the full value into a buffer and then select
         the precision we need.  */
       snprintf (ret, sizeof (buf[0].place), DWARF_VMA_FMT_LONG, value);
@@ -7563,7 +7563,7 @@ dwarf_select_sections_by_names (const char *names)
       { "macro", & do_debug_macinfo, 1 },
       { "pubnames", & do_debug_pubnames, 1 },
       { "pubtypes", & do_debug_pubtypes, 1 },
-      /* This entry is for compatability
+      /* This entry is for compatibility
         with earlier versions of readelf.  */
       { "ranges", & do_debug_aranges, 1 },
       { "rawline", & do_debug_lines, FLAG_DEBUG_LINES_RAW },
index ed86810dcbaa292cd7b19c5e72032c564089a0dd..ac316bb184b5bb147039bbfacd97486764d4d978 100644 (file)
@@ -224,7 +224,7 @@ extern void * xcrealloc (void *, size_t, size_t);
 
 extern dwarf_vma read_leb128 (unsigned char *, unsigned int *, bfd_boolean, const unsigned char * const);
 
-/* A callback into the client.  Retuns TRUE if there is a
+/* A callback into the client.  Returns TRUE if there is a
    relocation against the given debug section at the given
    offset.  */
 extern bfd_boolean reloc_at (struct dwarf_section *, dwarf_vma);
index d40cfcb2bb605486d5f6134d3804471acc8a0bc8..4910fcf8abd0893669e37352dbf440bbfe744701 100644 (file)
@@ -1748,7 +1748,7 @@ add_redefine_syms_file (const char *filename)
   free (buf);
 }
 
-/* Copy unkown object file IBFD onto OBFD.
+/* Copy unknown object file IBFD onto OBFD.
    Returns TRUE upon success, FALSE otherwise.  */
 
 static bfd_boolean
index d1a4e0f482d272324560cfb8f821133e2a1130ac..0a46adc194ce06ccfefc0cf578a8749ca9954084 100644 (file)
@@ -259,7 +259,7 @@ bfd_mach_o_print_flags (const bfd_mach_o_xlat_name *table,
     printf ("-");
 }
 
-/* Print a bfd_uint64_t, using a platform independant style.  */
+/* Print a bfd_uint64_t, using a platform independent style.  */
 
 static void
 printf_uint64 (bfd_uint64_t v)
index 96ed3937252c2f3aeabdb29533e5ae851912a4b8..564d40fa88ad6a1a4c61aa730d14e45581d634c1 100644 (file)
@@ -40,7 +40,7 @@
 
 static int rcdata_mode;
 
-/* Whether we are supressing lines from cpp (including windows.h or
+/* Whether we are suppressing lines from cpp (including windows.h or
    headers from your C sources may bring in externs and typedefs).
    When active, we return IGNORED_TOKEN, which lets us ignore these
    outside of resource constructs.  Thus, it isn't required to protect
index ee55852bdb48f14a1dab3e65e40fa7eac54d95a4..347b6b96923b76eb96c1dc8448fa360f5a0a0e8e 100644 (file)
@@ -9966,7 +9966,7 @@ process_version_sections (FILE * file)
                int j;
                int isum;
 
-               /* Check for very large indicies.  */
+               /* Check for very large indices.  */
                if (idx > (size_t) (endbuf - (char *) edefs))
                  break;
 
index d209094d03130283be9440a91c5f59c75b1fc746..38b210ef9007efb82e4b99460f23592bb5767fd9 100644 (file)
@@ -2691,7 +2691,7 @@ parse_stab_members (void *dhandle, struct stab_handle *info,
            case '*':
              /* virtual member function, followed by index.  The sign
                 bit is supposedly set to distinguish
-                pointers-to-methods from virtual function indicies.  */
+                pointers-to-methods from virtual function indices.  */
              ++*pp;
              voffset = parse_number (pp, (bfd_boolean *) NULL);
              if (**pp != ';')
This page took 0.033908 seconds and 4 git commands to generate.