aboutsummaryrefslogtreecommitdiff
path: root/binutils/dwarf.c
diff options
context:
space:
mode:
authorAmbrogino Modigliani <ambrogino.modigliani@gmail.com>2016-11-25 21:01:40 +0100
committerAlan Modra <amodra@gmail.com>2016-11-27 15:00:23 +1030
commit222c2bf0a293fab3d08c22359d64433faea7bb89 (patch)
tree0d5ce8637c3ee924c56f67e2e8a48022d979c190 /binutils/dwarf.c
parent7fb048a2ee38bbc85ba0e96e2932cb0cb1f7381e (diff)
downloadgdb-222c2bf0a293fab3d08c22359d64433faea7bb89.zip
gdb-222c2bf0a293fab3d08c22359d64433faea7bb89.tar.gz
gdb-222c2bf0a293fab3d08c22359d64433faea7bb89.tar.bz2
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.
Diffstat (limited to 'binutils/dwarf.c')
-rw-r--r--binutils/dwarf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/binutils/dwarf.c b/binutils/dwarf.c
index fee6a60..66ad1fd 100644
--- a/binutils/dwarf.c
+++ b/binutils/dwarf.c
@@ -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 },