Fix spelling in comments in C source files (binutils)

* 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.
This commit is contained in:
Ambrogino Modigliani 2016-11-25 21:01:40 +01:00 committed by Alan Modra
parent 7fb048a2ee
commit 222c2bf0a2
8 changed files with 18 additions and 8 deletions

View 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

View 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 },

View 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);

View 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

View 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)

View 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

View 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;

View 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 != ';')