From aaad4cf36a0947e445e5b9aef431430b8630e4ee Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sat, 6 Dec 2003 00:06:12 +0000 Subject: [PATCH] * ChangeLog-9197: Fix comment typos. * coffgrok.c: Likewise. * filemode.c: Likewise. * objcopy.c: Likewise. * objdump.c: Likewise. * prdbg.c: Likewise. * stabs.c: Likewise. * unwind-ia64.c: Likewise. --- binutils/ChangeLog-9197 | 2 +- binutils/coffgrok.c | 4 ++-- binutils/filemode.c | 2 +- binutils/objcopy.c | 2 +- binutils/objdump.c | 2 +- binutils/prdbg.c | 2 +- binutils/stabs.c | 2 +- binutils/unwind-ia64.c | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/binutils/ChangeLog-9197 b/binutils/ChangeLog-9197 index 4199d2e00f8..98613157c54 100644 --- a/binutils/ChangeLog-9197 +++ b/binutils/ChangeLog-9197 @@ -5200,7 +5200,7 @@ Thu May 16 16:06:55 1991 Steve Chamberlain (steve at cygint.cygnus.com) consistent with gdb and as: Add 0x when printing hex. Don't print extra leading zeros. Attempt to not print "filename.o". - * objdump.c: Add some enum-to-int casts to accomodate old compilers. + * objdump.c: Add some enum-to-int casts to accommodate old compilers. Fri May 3 22:21:44 1991 John Gilmore (gnu at cygint.cygnus.com) diff --git a/binutils/coffgrok.c b/binutils/coffgrok.c index 256e8c6495e..883ececb6a7 100644 --- a/binutils/coffgrok.c +++ b/binutils/coffgrok.c @@ -370,7 +370,7 @@ do_type (int i) { if (aux->x_sym.x_tagndx.p) { - /* Referring to a struct defined elsewhere */ + /* Refe0rring to a struct defined elsewhere */ res->type = coff_structref_type; res->u.astructref.ref = tindex[INDEXOF (aux->x_sym.x_tagndx.p)]; res->size = res->u.astructref.ref ? @@ -398,7 +398,7 @@ do_type (int i) case T_ENUM: if (aux->x_sym.x_tagndx.p) { - /* Refering to a enum defined elsewhere */ + /* Referring to a enum defined elsewhere */ res->type = coff_enumref_type; res->u.aenumref.ref = tindex[INDEXOF (aux->x_sym.x_tagndx.p)]; res->size = res->u.aenumref.ref->type->size; diff --git a/binutils/filemode.c b/binutils/filemode.c index 6e87df02aee..8b438a9a50d 100644 --- a/binutils/filemode.c +++ b/binutils/filemode.c @@ -136,7 +136,7 @@ mode_string (unsigned long mode, char *str) 'd' for directories 'b' for block special files 'c' for character special files - 'm' for multiplexor files + 'm' for multiplexer files 'l' for symbolic links 's' for sockets 'p' for fifos diff --git a/binutils/objcopy.c b/binutils/objcopy.c index 25890176ba9..da9b4d9514c 100644 --- a/binutils/objcopy.c +++ b/binutils/objcopy.c @@ -181,7 +181,7 @@ static bfd_boolean change_leading_char = FALSE; /* Whether to remove the leading character from global symbol names. */ static bfd_boolean remove_leading_char = FALSE; -/* Whether to permit wildcard in symbol comparasion. */ +/* Whether to permit wildcard in symbol comparison. */ static bfd_boolean wildcard = FALSE; /* List of symbols to strip, keep, localize, keep-global, weaken, diff --git a/binutils/objdump.c b/binutils/objdump.c index 7f1e2ea0997..f29ea714f57 100644 --- a/binutils/objdump.c +++ b/binutils/objdump.c @@ -41,7 +41,7 @@ 4. dump_bfd() in turn calls separate functions to display the requested item(s) of information(s). For example disassemble_data() is called if - a disassmebly has been requested. + a disassembly has been requested. When disassembling the code loops through blocks of instructions bounded by symbols, calling disassemble_bytes() on each block. The actual diff --git a/binutils/prdbg.c b/binutils/prdbg.c index c0c2f81e6f4..5b6b0479a8e 100644 --- a/binutils/prdbg.c +++ b/binutils/prdbg.c @@ -2055,7 +2055,7 @@ tg_struct_field (void *p, const char *name, bfd_vma bitpos ATTRIBUTE_UNUSED, if (! tg_fix_visibility (info, visibility)) return FALSE; - /* It happends, a bug? */ + /* It happens, a bug? */ if (! name[0]) return TRUE; diff --git a/binutils/stabs.c b/binutils/stabs.c index e630ba4b641..558fe0eecea 100644 --- a/binutils/stabs.c +++ b/binutils/stabs.c @@ -2526,7 +2526,7 @@ parse_stab_members (void *dhandle, struct stab_handle *info, } else { - /* This is a completely wierd case. In order to stuff in the + /* This is a completely weird case. In order to stuff in the names that might contain colons (the usual name delimiter), Mike Tiemann defined a different name format which is signalled if the identifier is "op$". In that case, the diff --git a/binutils/unwind-ia64.c b/binutils/unwind-ia64.c index 7c06c7b49ae..2e7e726e4bf 100644 --- a/binutils/unwind-ia64.c +++ b/binutils/unwind-ia64.c @@ -25,7 +25,7 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #if __GNUC__ >= 2 /* Define BFD64 here, even if our default architecture is 32 bit ELF as this will allow us to read in and parse 64bit and 32bit ELF files. - Only do this if we belive that the compiler can support a 64 bit + Only do this if we believe that the compiler can support a 64 bit data type. For now we only rely on GCC being able to do this. */ #define BFD64 #endif -- 2.30.2