mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 19:09:31 +08:00
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:

committed by
Alan Modra

parent
7fb048a2ee
commit
222c2bf0a2
@ -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>
|
2016-11-23 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
PR ld/20815
|
PR ld/20815
|
||||||
|
@ -200,7 +200,7 @@ dwarf_vmatoa_1 (const char *fmtch, dwarf_vma value, unsigned num_bytes)
|
|||||||
|
|
||||||
if (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
|
integer value, so we print the full value into a buffer and then select
|
||||||
the precision we need. */
|
the precision we need. */
|
||||||
snprintf (ret, sizeof (buf[0].place), DWARF_VMA_FMT_LONG, value);
|
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 },
|
{ "macro", & do_debug_macinfo, 1 },
|
||||||
{ "pubnames", & do_debug_pubnames, 1 },
|
{ "pubnames", & do_debug_pubnames, 1 },
|
||||||
{ "pubtypes", & do_debug_pubtypes, 1 },
|
{ "pubtypes", & do_debug_pubtypes, 1 },
|
||||||
/* This entry is for compatability
|
/* This entry is for compatibility
|
||||||
with earlier versions of readelf. */
|
with earlier versions of readelf. */
|
||||||
{ "ranges", & do_debug_aranges, 1 },
|
{ "ranges", & do_debug_aranges, 1 },
|
||||||
{ "rawline", & do_debug_lines, FLAG_DEBUG_LINES_RAW },
|
{ "rawline", & do_debug_lines, FLAG_DEBUG_LINES_RAW },
|
||||||
|
@ -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);
|
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
|
relocation against the given debug section at the given
|
||||||
offset. */
|
offset. */
|
||||||
extern bfd_boolean reloc_at (struct dwarf_section *, dwarf_vma);
|
extern bfd_boolean reloc_at (struct dwarf_section *, dwarf_vma);
|
||||||
|
@ -1748,7 +1748,7 @@ add_redefine_syms_file (const char *filename)
|
|||||||
free (buf);
|
free (buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Copy unkown object file IBFD onto OBFD.
|
/* Copy unknown object file IBFD onto OBFD.
|
||||||
Returns TRUE upon success, FALSE otherwise. */
|
Returns TRUE upon success, FALSE otherwise. */
|
||||||
|
|
||||||
static bfd_boolean
|
static bfd_boolean
|
||||||
|
@ -259,7 +259,7 @@ bfd_mach_o_print_flags (const bfd_mach_o_xlat_name *table,
|
|||||||
printf ("-");
|
printf ("-");
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Print a bfd_uint64_t, using a platform independant style. */
|
/* Print a bfd_uint64_t, using a platform independent style. */
|
||||||
|
|
||||||
static void
|
static void
|
||||||
printf_uint64 (bfd_uint64_t v)
|
printf_uint64 (bfd_uint64_t v)
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
|
|
||||||
static int rcdata_mode;
|
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).
|
headers from your C sources may bring in externs and typedefs).
|
||||||
When active, we return IGNORED_TOKEN, which lets us ignore these
|
When active, we return IGNORED_TOKEN, which lets us ignore these
|
||||||
outside of resource constructs. Thus, it isn't required to protect
|
outside of resource constructs. Thus, it isn't required to protect
|
||||||
|
@ -9966,7 +9966,7 @@ process_version_sections (FILE * file)
|
|||||||
int j;
|
int j;
|
||||||
int isum;
|
int isum;
|
||||||
|
|
||||||
/* Check for very large indicies. */
|
/* Check for very large indices. */
|
||||||
if (idx > (size_t) (endbuf - (char *) edefs))
|
if (idx > (size_t) (endbuf - (char *) edefs))
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@ -2691,7 +2691,7 @@ parse_stab_members (void *dhandle, struct stab_handle *info,
|
|||||||
case '*':
|
case '*':
|
||||||
/* virtual member function, followed by index. The sign
|
/* virtual member function, followed by index. The sign
|
||||||
bit is supposedly set to distinguish
|
bit is supposedly set to distinguish
|
||||||
pointers-to-methods from virtual function indicies. */
|
pointers-to-methods from virtual function indices. */
|
||||||
++*pp;
|
++*pp;
|
||||||
voffset = parse_number (pp, (bfd_boolean *) NULL);
|
voffset = parse_number (pp, (bfd_boolean *) NULL);
|
||||||
if (**pp != ';')
|
if (**pp != ';')
|
||||||
|
Reference in New Issue
Block a user