This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] bfd/*.[ch]: Fix comment typos.


Hi,

Attached is a patch to fix comment typos.  Committed as obvious.

Kazu Hirata

2002-12-20  Kazu Hirata  <kazu@cs.umass.edu>

	* coff-h8300.c: Fix comment typos.
	* coffcode.h: Likewise.
	* cpu-cris.c: Likewise.
	* elf32-vax.c: Likewise.
	* genlink.h: Likewise.
	* linker.c: Likewise.
	* som.c: Likewise.
	* tekhex.c: Likewise.
	* vms-misc.c: Likewise.

Index: coff-h8300.c
===================================================================
RCS file: /cvs/src/src/bfd/coff-h8300.c,v
retrieving revision 1.16
diff -u -r1.16 coff-h8300.c
--- coff-h8300.c	19 Dec 2002 01:58:53 -0000	1.16
+++ coff-h8300.c	20 Dec 2002 22:30:29 -0000
@@ -186,7 +186,7 @@
 }
 
 /* Create the derived linker hash table.  We use a derived hash table
-   basically to hold "static" information during an h8/300 coff link
+   basically to hold "static" information during an H8/300 coff link
    without using static variables.  */
 
 static struct bfd_link_hash_table *
Index: coffcode.h
===================================================================
RCS file: /cvs/src/src/bfd/coffcode.h,v
retrieving revision 1.84
diff -u -r1.84 coffcode.h
--- coffcode.h	30 Nov 2002 08:39:36 -0000	1.84
+++ coffcode.h	20 Dec 2002 22:30:31 -0000
@@ -3095,7 +3095,7 @@
 #ifdef RS6000COFF_C
 	  /* AIX loader checks the text section alignment of (vma - filepos)
 	     So even though the filepos may be aligned wrt the o_algntext, for
-	     AIX executables, this check fails. This shows up when an native
+	     AIX executables, this check fails. This shows up when a native
 	     AIX executable is stripped with gnu strip because the default vma
 	     of native is 0x10000150 but default for gnu is 0x10000140.  Gnu
 	     stripped gnu excutable passes this check because the filepos is
Index: cpu-cris.c
===================================================================
RCS file: /cvs/src/src/bfd/cpu-cris.c,v
retrieving revision 1.3
diff -u -r1.3 cpu-cris.c
--- cpu-cris.c	30 Nov 2002 08:39:36 -0000	1.3
+++ cpu-cris.c	20 Dec 2002 22:30:31 -0000
@@ -43,7 +43,7 @@
   bfd_default_compatible,	/* A default function for testing
 				   "machine" compatibility of two
 				   bfd_arch_info_type.  */
-  bfd_default_scan,		/* Check if an bfd_arch_info_type is a
+  bfd_default_scan,		/* Check if a bfd_arch_info_type is a
 				   match.  */
   NULL				/* Pointer to next bfd_arch_info_type in
 				   the same family.  */
Index: elf32-vax.c
===================================================================
RCS file: /cvs/src/src/bfd/elf32-vax.c,v
retrieving revision 1.10
diff -u -r1.10 elf32-vax.c
--- elf32-vax.c	30 Nov 2002 08:39:38 -0000	1.10
+++ elf32-vax.c	20 Dec 2002 22:30:32 -0000
@@ -783,7 +783,7 @@
 		 PC relative relocations we have entered for this symbol,
 		 so that we can discard them again if the symbol is later
 		 defined by a regular object.  Note that this function is
-		 only called if we are using an vaxelf linker hash table,
+		 only called if we are using a vaxelf linker hash table,
 		 which means that h is really a pointer to an
 		 elf_vax_link_hash_entry.  */
 	      if ((ELF32_R_TYPE (rel->r_info) == R_VAX_PC8
Index: genlink.h
===================================================================
RCS file: /cvs/src/src/bfd/genlink.h,v
retrieving revision 1.3
diff -u -r1.3 genlink.h
--- genlink.h	30 Nov 2002 08:39:39 -0000	1.3
+++ genlink.h	20 Dec 2002 22:30:32 -0000
@@ -54,13 +54,13 @@
   struct bfd_link_hash_table root;
 };
 
-/* Look up an entry in an generic link hash table.  */
+/* Look up an entry in a generic link hash table.  */
 
 #define _bfd_generic_link_hash_lookup(table, string, create, copy, follow) \
   ((struct generic_link_hash_entry *) \
    bfd_link_hash_lookup (&(table)->root, (string), (create), (copy), (follow)))
 
-/* Traverse an generic link hash table.  */
+/* Traverse a generic link hash table.  */
 
 #define _bfd_generic_link_hash_traverse(table, func, info)		\
   (bfd_link_hash_traverse						\
Index: linker.c
===================================================================
RCS file: /cvs/src/src/bfd/linker.c,v
retrieving revision 1.28
diff -u -r1.28 linker.c
--- linker.c	30 Nov 2002 08:39:40 -0000	1.28
+++ linker.c	20 Dec 2002 22:30:33 -0000
@@ -636,7 +636,7 @@
   table->undefs_tail = h;
 }
 
-/* Routine to create an entry in an generic link hash table.  */
+/* Routine to create an entry in a generic link hash table.  */
 
 struct bfd_hash_entry *
 _bfd_generic_link_hash_newfunc (entry, table, string)
@@ -669,7 +669,7 @@
   return entry;
 }
 
-/* Create an generic link hash table.  */
+/* Create a generic link hash table.  */
 
 struct bfd_link_hash_table *
 _bfd_generic_link_hash_table_create (abfd)
Index: som.c
===================================================================
RCS file: /cvs/src/src/bfd/som.c,v
retrieving revision 1.34
diff -u -r1.34 som.c
--- som.c	30 Nov 2002 08:39:40 -0000	1.34
+++ som.c	20 Dec 2002 22:30:36 -0000
@@ -5303,7 +5303,7 @@
   return TRUE;
 }
 
-/* Attach an compilation unit header to the BFD backend so that it may be
+/* Attach a compilation unit header to the BFD backend so that it may be
    written into the object file.  */
 
 bfd_boolean
Index: tekhex.c
===================================================================
RCS file: /cvs/src/src/bfd/tekhex.c,v
retrieving revision 1.14
diff -u -r1.14 tekhex.c
--- tekhex.c	30 Nov 2002 08:39:40 -0000	1.14
+++ tekhex.c	20 Dec 2002 22:30:37 -0000
@@ -471,7 +471,7 @@
     }
 }
 
-/* Pass over an tekhex, calling one of the above functions on each
+/* Pass over a tekhex, calling one of the above functions on each
    record.  */
 
 static void
Index: vms-misc.c
===================================================================
RCS file: /cvs/src/src/bfd/vms-misc.c,v
retrieving revision 1.15
diff -u -r1.15 vms-misc.c
--- vms-misc.c	30 Nov 2002 08:39:40 -0000	1.15
+++ vms-misc.c	20 Dec 2002 22:30:37 -0000
@@ -605,8 +605,8 @@
   return newptr;
 }
 
-/* Save section data & offset to an vms_section structure
-   vms_section_table[] holds the vms_section chain  */
+/* Save section data & offset to a vms_section structure
+   vms_section_table[] holds the vms_section chain.  */
 
 bfd_boolean
 _bfd_save_vms_section (abfd, section, data, offset, count)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]