summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--binutils/ChangeLog31
-rw-r--r--binutils/ChangeLog-91972
-rw-r--r--binutils/ChangeLog-98992
-rw-r--r--binutils/NEWS2
-rw-r--r--binutils/ar.c6
-rw-r--r--binutils/arsup.c2
-rw-r--r--binutils/coffgrok.c4
-rw-r--r--binutils/debug.c2
-rw-r--r--binutils/debug.h2
-rw-r--r--binutils/dlltool.c10
-rw-r--r--binutils/ieee.c2
-rw-r--r--binutils/nm.c4
-rw-r--r--binutils/objdump.c14
-rw-r--r--binutils/prdbg.c2
-rw-r--r--binutils/readelf.c12
-rw-r--r--binutils/resrc.c2
-rw-r--r--binutils/sysinfo.y2
-rw-r--r--binutils/windres.c2
18 files changed, 62 insertions, 41 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 6c2db14ec2..72db755122 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,24 @@
+2003-10-27 Kazu Hirata <kazu@cs.umass.edu>
+
+ * ChangeLog: Fix typos.
+ * ChangeLog-9197: Likewise.
+ * ChangeLog-9899: Likewise.
+ * NEWS: Likewise.
+ * ar.c: Fix comment typos.
+ * arsup.c: Likewise.
+ * coffgrok.c: Likewise.
+ * debug.c: Likewise.
+ * debug.h: Likewise.
+ * dlltool.c: Likewise.
+ * ieee.c: Likewise.
+ * nm.c: Likewise.
+ * objdump.c: Likewise.
+ * prdbg.c: Likewise.
+ * readelf.c: Likewise.
+ * resrc.c: Likewise.
+ * sysinfo.y: Likewise.
+ * windres.c: Likewise.
+
2003-10-27 Nick Clifton <nickc@redhat.com>
* objcopy.c (copy_section): Do not complain when a target does not
@@ -340,9 +361,9 @@
2003-06-27 Nick Clifton <nickc@redhat.com>
* objcopy.c (copy_object): Replace call to
- bfd_create_gnu_debuglink_section with seperate calls to
+ bfd_create_gnu_debuglink_section with separate calls to
bfd_add_gnu_debuglink_section and
- bfd_fill_in_gnu_debuglink_section, seperated by a walk over the
+ bfd_fill_in_gnu_debuglink_section, separated by a walk over the
symbol tables.
2003-06-26 Roland McGrath <roland@redhat.com>
@@ -857,7 +878,7 @@
* objcopy.c: Add --prefix-symbols=<prefix> option to rename all
symbols by adding the given prefix to the begining of the symbol
- name. This is useful to provide name space seperation regardless
+ name. This is useful to provide name space separation regardless
of how the object file was created. Added --prefix-sections=
<prefix> and --prefix-alloc-sections=<prefix> options to rename all
sections (or all sections with the alloc flag set) by adding the given
@@ -1366,7 +1387,7 @@
2002-6-13 Elias Athanasopoulos <eathan@otenet.gr>
- * nm.c (struct extended_symbol_info): New strcuture: Add the size
+ * nm.c (struct extended_symbol_info): New structure: Add the size
of the symbols to the information provided by the symbol_info
structure.
(print_symbols): Pass the symbol size to print_symbol.
@@ -3279,7 +3300,7 @@
2000-08-14 Todd Vierling <tv@wasabisystems.com>
* objcopy.c (strip_main): Silently accept -d as an alias for -g
- for compatability with old BSD systems.
+ for compatibility with old BSD systems.
2000-08-14 Jason Eckhardt <jle@cygnus.com>
diff --git a/binutils/ChangeLog-9197 b/binutils/ChangeLog-9197
index 1ed5416696..4199d2e00f 100644
--- a/binutils/ChangeLog-9197
+++ b/binutils/ChangeLog-9197
@@ -2394,7 +2394,7 @@ Thu Jul 13 10:43:59 1995 Ian Lance Taylor <ian@cygnus.com>
* nlmconv.c (powerpc_mangle_relocs): Cast memset arg to size_t.
* objcopy.c (copy_object): Likewise.
- * nm.c (HAVE_SBRK): Define execpt on amigados and WINDOWS_NT.
+ * nm.c (HAVE_SBRK): Define except on amigados and WINDOWS_NT.
(struct size_sym): Define.
(show_stats): New static variable.
(long_options): Add undocumented option "stats".
diff --git a/binutils/ChangeLog-9899 b/binutils/ChangeLog-9899
index 22f21e2f4f..ad1fdc754a 100644
--- a/binutils/ChangeLog-9899
+++ b/binutils/ChangeLog-9899
@@ -552,7 +552,7 @@ Mon Jun 7 12:14:57 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1999-06-04 Nick Clifton <nickc@cygnus.com>
- * readelf.c: Use 64bit wide fields in internal strcutures even if
+ * readelf.c: Use 64bit wide fields in internal structures even if
targetting a 32bit architecture.
(dump_relocations): Take a new parameter - the number of symbols
in the symbol table.
diff --git a/binutils/NEWS b/binutils/NEWS
index c375c74456..13c3335e17 100644
--- a/binutils/NEWS
+++ b/binutils/NEWS
@@ -13,7 +13,7 @@
* objcopy now accepts --add-gnu-debuglink=<file> to insert a .gnu_debuglink
section into a (presumably stripped) executable. This allows the debug
- information for the file to be held in a seperate file.
+ information for the file to be held in a separate file.
* BFD marks the sections .comment and .note as 'n' in the BSD/POSIX
single-character representation. This can be checked by running nm
diff --git a/binutils/ar.c b/binutils/ar.c
index 95e1c665b1..1724171644 100644
--- a/binutils/ar.c
+++ b/binutils/ar.c
@@ -24,7 +24,7 @@
should have long options too. GNU ar used to check file against filesystem
in quick_update and replace operations (would check mtime). Doesn't warn
when name truncated. No way to specify pos_end. Error messages should be
- more consistant. */
+ more consistent. */
#include "bfd.h"
#include "libiberty.h"
@@ -103,7 +103,7 @@ int newer_only = 0;
/* Controls the writing of an archive symbol table (in BSD: a __.SYMDEF
member). -1 means we've been explicitly asked to not write a symbol table;
- +1 means we've been explictly asked to write it;
+ +1 means we've been explicitly asked to write it;
0 is the default.
Traditionally, the default in BSD has been to not write the table.
However, for POSIX.2 compliance the default is now to write a symbol table
@@ -991,7 +991,7 @@ do_quick_append (const char *archive_filename, char **files_to_append)
if (ar_truncate)
temp->flags |= BFD_TRADITIONAL_FORMAT;
- /* assume it's an achive, go straight to the end, sans $200 */
+ /* assume it's an archive, go straight to the end, sans $200 */
fseek (ofile, 0, 2);
for (; files_to_append && *files_to_append; ++files_to_append)
diff --git a/binutils/arsup.c b/binutils/arsup.c
index e69281fcfd..676a6bc14c 100644
--- a/binutils/arsup.c
+++ b/binutils/arsup.c
@@ -235,7 +235,7 @@ ar_addlib (char *name, struct list *list)
if (arch != NULL)
map_over_list (arch, ar_addlib_doer, list);
- /* Don't close the bfd, since it will make the elements disasppear. */
+ /* Don't close the bfd, since it will make the elements disappear. */
}
}
diff --git a/binutils/coffgrok.c b/binutils/coffgrok.c
index a6145c95a5..256e8c6495 100644
--- a/binutils/coffgrok.c
+++ b/binutils/coffgrok.c
@@ -370,7 +370,7 @@ do_type (int i)
{
if (aux->x_sym.x_tagndx.p)
{
- /* Refering to a struct defined elsewhere */
+ /* Referring 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 ?
@@ -389,7 +389,7 @@ do_type (int i)
}
else
{
- /* No auxents - it's anonynmous */
+ /* No auxents - it's anonymous */
res->type = coff_structref_type;
res->u.astructref.ref = 0;
res->size = 0;
diff --git a/binutils/debug.c b/binutils/debug.c
index b711650b7d..5d46b78108 100644
--- a/binutils/debug.c
+++ b/binutils/debug.c
@@ -22,7 +22,7 @@
/* This file implements a generic debugging format. We may eventually
have readers which convert different formats into this generic
format, and writers which write it out. The initial impetus for
- this was writing a convertor from stabs to HP IEEE-695 debugging
+ this was writing a converter from stabs to HP IEEE-695 debugging
format. */
#include <stdio.h>
diff --git a/binutils/debug.h b/binutils/debug.h
index 03dc3f737a..3331e0b9b2 100644
--- a/binutils/debug.h
+++ b/binutils/debug.h
@@ -25,7 +25,7 @@
/* This header file describes a generic debugging information format.
We may eventually have readers which convert different formats into
this generic format, and writers which write it out. The initial
- impetus for this was writing a convertor from stabs to HP IEEE-695
+ impetus for this was writing a converter from stabs to HP IEEE-695
debugging format. */
/* Different kinds of types. */
diff --git a/binutils/dlltool.c b/binutils/dlltool.c
index 996ec2c9df..1a8de32715 100644
--- a/binutils/dlltool.c
+++ b/binutils/dlltool.c
@@ -60,7 +60,7 @@
Declares that <external-name> or the exported function whoes ordinal number
is <integer> is to be imported from the file <module-name>. If
<internal-name> is specified then this is the name that the imported
- function will be refered to in the body of the DLL.
+ function will be refereed to in the body of the DLL.
DESCRIPTION <string>
Puts <string> into output .exp file in the .rdata section
@@ -443,7 +443,7 @@ char *tmp_stub_buf;
#define TMP_TAIL_O dlltmp (&tmp_tail_o_buf, "%st.o")
#define TMP_STUB dlltmp (&tmp_stub_buf, "%ss")
-/* This bit of assemly does jmp * .... */
+/* This bit of assembly does jmp * .... */
static const unsigned char i386_jtab[] =
{
0xff, 0x25, 0x00, 0x00, 0x00, 0x00, 0x90, 0x90
@@ -1943,7 +1943,7 @@ gen_exp_file (void)
int dst = 0;
int last = -1;
qsort (copy, num_entries, sizeof (long), sfunc);
- /* Delete duplcates */
+ /* Delete duplicates */
for (src = 0; src < num_entries; src++)
{
if (last != copy[src])
@@ -2364,7 +2364,7 @@ make_one_lib_file (export_type *exp, int i)
ptrs[oidx++] = iname_lab;
#ifdef DLLTOOL_PPC
- /* The symbol refering to the code (.text). */
+ /* The symbol referring to the code (.text). */
{
asymbol *function_name;
@@ -3160,7 +3160,7 @@ static const struct option long_options[] =
{"exclude-symbols", required_argument, NULL, OPTION_EXCLUDE_SYMS},
{"no-default-excludes", no_argument, NULL, OPTION_NO_DEFAULT_EXCLUDES},
{"output-lib", required_argument, NULL, 'l'},
- {"def", required_argument, NULL, 'd'}, /* for compatiblity with older versions */
+ {"def", required_argument, NULL, 'd'}, /* for compatibility with older versions */
{"input-def", required_argument, NULL, 'd'},
{"add-underscore", no_argument, NULL, 'U'},
{"kill-at", no_argument, NULL, 'k'},
diff --git a/binutils/ieee.c b/binutils/ieee.c
index ec9dec8780..73f87c41c9 100644
--- a/binutils/ieee.c
+++ b/binutils/ieee.c
@@ -6036,7 +6036,7 @@ ieee_end_struct_type (void *p)
&& ! ieee_buffer_emptyp (&info->type_stack->type.strdef));
/* If we were ignoring this struct definition because it was a
- duplicate defintion, just through away whatever bytes we have
+ duplicate definition, just through away whatever bytes we have
accumulated. Leave the type on the stack. */
if (info->type_stack->type.ignorep)
return TRUE;
diff --git a/binutils/nm.c b/binutils/nm.c
index 74350d7467..d2d38c4b54 100644
--- a/binutils/nm.c
+++ b/binutils/nm.c
@@ -444,7 +444,7 @@ main (int argc, char **argv)
break;
case 'X':
/* Ignored for (partial) AIX compatibility. On AIX, the
- argument has values 32, 64, or 32_64, and specfies that
+ argument has values 32, 64, or 32_64, and specifies that
only 32-bit, only 64-bit, or both kinds of objects should
be examined. The default is 32. So plain AIX nm on a
library archive with both kinds of objects will ignore
@@ -1442,7 +1442,7 @@ print_symbol_info_bsd (struct extended_symbol_info *info, bfd *abfd)
else
{
/* Normally we print the value of the symbol. If we are printing the
- size or sorting by size then we print its size, execpt for the
+ size or sorting by size then we print its size, except for the
(weird) special case where both flags are defined, in which case we
print both values. This conforms to documented behaviour. */
if (sort_by_size && !print_size)
diff --git a/binutils/objdump.c b/binutils/objdump.c
index 9e54192003..b1222d2d79 100644
--- a/binutils/objdump.c
+++ b/binutils/objdump.c
@@ -35,16 +35,16 @@
processed in order by display_bfd(). If the file is an archive each
of its elements is processed in turn.
- 3. The file's target architecture and binary file format are determnined
+ 3. The file's target architecture and binary file format are determined
by bfd_check_format(). If they are recognised, then dump_bfd() is
called.
- 4. dump_bfd() in turn calls seperate functions to display the requested
- item(s) of infomation(s). For example dissasemble_data() is called if
+ 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.
When disassembling the code loops through blocks of instructions bounded
- by symbols, calling dissassemble_bytes() on each block. The actual
+ by symbols, calling disassemble_bytes() on each block. The actual
disassembling is done by the libopcodes library, via a function pointer
supplied by the disassembler() function. */
@@ -871,7 +871,7 @@ static char *prev_functionname;
static unsigned int prev_line;
/* We keep a list of all files that we have seen when doing a
- dissassembly with source, so that we know how much of the file to
+ disassembly with source, so that we know how much of the file to
display. This can be important for inlined functions. */
struct print_file_list
@@ -999,7 +999,7 @@ skip_to_line (struct print_file_list *p, unsigned int line,
}
}
-/* Show the line number, or the source line, in a dissassembly
+/* Show the line number, or the source line, in a disassembly
listing. */
static void
@@ -1585,7 +1585,7 @@ disassemble_section (bfd *abfd, asection *section, void *info)
rel_pp = paux->dynrelbuf;
rel_count = paux->dynrelcount;
/* Dynamic reloc addresses are absolute, non-dynamic are section
- relative. REL_OFFSET specifies the reloc address corresponnding
+ relative. REL_OFFSET specifies the reloc address corresponding
to the start of this section. */
rel_offset = pinfo->buffer_vma;
}
diff --git a/binutils/prdbg.c b/binutils/prdbg.c
index eb41dab56f..c0c2f81e6f 100644
--- a/binutils/prdbg.c
+++ b/binutils/prdbg.c
@@ -267,7 +267,7 @@ static const struct debug_write_fns tg_fns =
tg_start_class_type,
tg_class_static_member,
tg_class_baseclass,
- pr_class_start_method, /* Same, remmembers that's a method. */
+ pr_class_start_method, /* Same, remembers that's a method. */
tg_class_method_variant,
tg_class_static_method_variant,
pr_class_end_method, /* Same, forgets that's a method. */
diff --git a/binutils/readelf.c b/binutils/readelf.c
index 9a881069d5..f9f17f78c1 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -310,7 +310,7 @@ byte_get_little_endian (unsigned char *field, int size)
/* This is a special case, generated by the BYTE_GET8 macro.
It means that we are loading an 8 byte value from a field
in an external structure into an 8 byte value in a field
- in an internal strcuture. */
+ in an internal structure. */
return ((bfd_vma) (field[0]))
| (((bfd_vma) (field[1])) << 8)
| (((bfd_vma) (field[2])) << 16)
@@ -536,7 +536,7 @@ byte_get_big_endian (unsigned char *field, int size)
/* This is a special case, generated by the BYTE_GET8 macro.
It means that we are loading an 8 byte value from a field
in an external structure into an 8 byte value in a field
- in an internal strcuture. */
+ in an internal structure. */
return ((bfd_vma) (field[7]))
| (((bfd_vma) (field[6])) << 8)
| (((bfd_vma) (field[5])) << 16)
@@ -6847,7 +6847,7 @@ get_FORM_name (unsigned long form)
}
}
-/* FIXME: There are better and more effiecint ways to handle
+/* FIXME: There are better and more efficient ways to handle
these structures. For now though, I just want something that
is simple to implement. */
typedef struct abbrev_attr
@@ -7541,7 +7541,7 @@ display_debug_loc (Elf_Internal_Shdr *section,
/* Normally, the lists in the debug_loc section are related to a
given compilation unit, and thus, we would use the pointer size
of that compilation unit. However, since we are displaying it
- seperately here, we either have to store pointer sizes of all
+ separately here, we either have to store pointer sizes of all
compilation units, or assume they don't change. We assume,
like the debug_line display, that it doesn't change. */
begin = byte_get (start, debug_line_pointer_size);
@@ -7843,7 +7843,7 @@ read_and_display_attr_value (unsigned long attribute,
break;
}
- /* For some attributes we can display futher information. */
+ /* For some attributes we can display further information. */
printf ("\t");
@@ -10135,7 +10135,7 @@ get_file_header (FILE *file)
/* If we have been compiled with sizeof (bfd_vma) == 4, then
we will not be able to cope with the 64bit data found in
64 ELF files. Detect this now and abort before we start
- overwritting things. */
+ overwriting things. */
if (sizeof (bfd_vma) < 8)
{
error (_("This instance of readelf has been built without support for a\n\
diff --git a/binutils/resrc.c b/binutils/resrc.c
index b8b69e6fea..c290a9d0c0 100644
--- a/binutils/resrc.c
+++ b/binutils/resrc.c
@@ -251,7 +251,7 @@ run_cmd (char *cmd, const char *redir)
/* Restore stdout to its previous setting. */
dup2 (stdout_save, STDOUT_FILENO);
- /* Close reponse file. */
+ /* Close response file. */
close (redir_handle);
if (pid == -1)
diff --git a/binutils/sysinfo.y b/binutils/sysinfo.y
index c67e9f6392..bf19263c5d 100644
--- a/binutils/sysinfo.y
+++ b/binutils/sysinfo.y
@@ -406,7 +406,7 @@ enum_list:
%%
/* four modes
- -d write structure defintions for sysroff in host format
+ -d write structure definitions for sysroff in host format
-i write functions to swap into sysroff format in
-o write functions to swap into sysroff format out
-c write code to print info in human form */
diff --git a/binutils/windres.c b/binutils/windres.c
index 012c42b230..1d23f10975 100644
--- a/binutils/windres.c
+++ b/binutils/windres.c
@@ -788,7 +788,7 @@ main (int argc, char **argv)
break;
case 'f':
- /* For compatability with rc we accept "-fo <name>" as being the
+ /* For compatibility with rc we accept "-fo <name>" as being the
equivalent of "-o <name>". We do not advertise this fact
though, as we do not want users to use non-GNU like command
line switches. */